#7850CF#7850CF
#7850CF is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.1% C 0.187 H 293.7°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #7850CF |
|---|---|
| RGB | rgb(120, 80, 207) |
| HSL | hsl(259, 57%, 56%) |
| HSV | hsv(259, 61%, 81%) |
| CMYK | cmyk(42%, 61.4%, 0%, 18.8%) |
| CIE-LAB | lab(44.57, 45.34, -60.10) |
| CIE-LCH | lch(44.57, 75.28, 307.03°) |
| OKLab | oklab(54.15% 0.0753 -0.1714) |
| OKLCH | oklch(54.15% 0.187 293.7) |
| XYZ | xyz(21.8738, 14.2348, 60.6145) |
| Luminance | 0.1424 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.59
Slate Blue
#6A5ACD
ΔE00 3.98
Purpley
#8756E4
ΔE00 4.40
Iris
#6258C4
ΔE00 5.05
Bluish Purple
#703BE7
ΔE00 5.47
Bluey Purple
#6241C7
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7850CF #A7CF50
analogous
#5068CF #7850CF #B850CF
triadic
#7850CF #CF7850 #50CF78
tetradic
#7850CF #CF5068 #A7CF50 #50CFB8
square
#7850CF #CF5068 #A7CF50 #50CFB8
split-complementary
#7850CF #CFB850 #68CF50
monochromatic
#412381 #5931B1 #7850CF #9D80DC #C2B0E9
Accessibility & contrast
On white
5.46
#7850CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#7850CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7850CF
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7850CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7850CF | 1.00 | 5.46 | 3.85 | 5.46 |
| #FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#0067CC
Tritanopia (blue-blind)
#606D88
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #7850cf; /* rgb */ color: rgb(120, 80, 207); /* oklch */ color: oklch(54.1% 0.187 293.7);
Tailwind
colors: {
custom: {
50: '#a583de',
500: '#7850cf',
950: '#000000',
},
}SCSS
$custom: #7850cf; $custom-light: #a583de; $custom-dark: #000000;
JSON
{
"hex": "#7850cf",
"rgb": {
"r": 120,
"g": 80,
"b": 207
},
"hsl": {
"h": 258.898,
"s": 56.951,
"l": 56.275
},
"oklch": {
"l": 0.54148,
"c": 0.1872,
"h": 293.7
},
"luminance": 0.14235
}Semantic roles & 50–950 ramp
primary
#7850CF
secondary
#C7D8A3
accent
#E048B0
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83