#7838CC Color
#7838CC is rgb(120, 56, 204) in RGB, hsl(266, 59%, 51%) in HSL, and about cmyk(41%, 73%, 0%, 20%) in CMYK. It has no registered color name of its own — the closest is Lavender Indigo (#9457EB), visibly different at ΔE 11.24. White text is the more readable choice on this background.
#7838CCrgb(120, 56, 204)hsl(266, 59%, 51%)hsv(266, 73%, 80%)cmyk(41%, 73%, 0%, 20%)oklch(50.7% 0.214 298)lab(39.03% 50.43 -67.02)lch(39.03% 83.87 306.96)What #7838CC Is Called
Most hex codes have no name: there are 16.7 million of them and a few thousand registered names. These are the named colors nearest to #7838CC, ordered by CIE76 distance in CIELAB. Anything under about ΔE 2 is a difference most people cannot see.
Browse the full index of named colors A-Z or every purple in the library.
#7838CC Channel Values
How #7838CC breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.
| Model | Channels | Notes |
|---|---|---|
| RGB | R 120 · G 56 · B 204 | 8-bit channels as sent to the display |
| HSL | H 266° · S 59% · L 51% | Easiest model for building lighter and darker variants |
| HSV | H 266° · S 73% · V 80% | Matches the picker in most design tools |
| CMYK | C 41% · M 73% · Y 0% · K 20% | Approximate ink mix; confirm with an ICC profile before printing |
| Luminance | 6.49:1 vs white · 3.24:1 vs black | WCAG 2.2 relative-luminance contrast ratios |
Text Contrast & Accessibility
WCAG 2.2 contrast ratios for text on a #7838CC background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.
Need a specific ratio against another background? Open #7838CC in the contrast checker.
Colors That Go With #7838CC
Pairings derived from color-wheel relationships. The complementary color sits opposite #7838CC; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.
Tints & Shades of #7838CC
Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.
Want a full 50-950 ramp with semantic roles? Generate design tokens from #7838CC.
How #7838CC Looks with Color Vision Deficiency
Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.
#7838CC#4848CC#5F42CC#5454CB#644ACC#605E5E#6A5197#5E5E5EUsing #7838CC in Code
Copy-ready declarations for the places this color usually ends up.
--color-7838cc: #7838CC;background-color: #7838CC;colors: { 'color-7838cc': '#7838CC' }Color(red: 0.471, green: 0.220, blue: 0.800)<color name="color_7838cc">#7838CC</color>fill="#7838CC"More Purple Colors
#7838CC sits in the purple family. These are its neighbours across that family's full range, each with its own breakdown.
#7838CC Frequently Asked Questions
What color is #7838CC?
#7838CC is a mid-tone purple — rgb(120, 56, 204) in RGB and hsl(266, 59%, 51%) in HSL. It carries no registered color name of its own; the closest named color is Lavender Indigo (#9457EB), which is visibly different at a CIE76 distance of 11.24.
What is the RGB value of #7838CC?
#7838CC is rgb(120, 56, 204) — red 120, green 56, and blue 204 on the 0-255 scale.
What is the CMYK value of #7838CC?
#7838CC converts to approximately cmyk(41%, 73%, 0%, 20%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.
Should text on #7838CC be black or white?
White text is the more readable choice. #7838CC scores 6.49:1 against white and 3.24:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.
Can I write #7838CC as a CSS color keyword?
No. #7838CC is not one of the CSS color keywords, so it has to be written as a hex, rgb() or hsl() value. The closest keyword is darkorchid (#9932CC) at a CIE76 distance of 12.08, which is visibly different.
Open #7838CC in a Tool
Keep exploring: every purple in the color library, the guide to shades of purple, or the full color library.