#7F50CB#7F50CB
#7F50CB is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.6% C 0.183 H 297.6°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #7F50CB |
|---|---|
| RGB | rgb(127, 80, 203) |
| HSL | hsl(263, 54%, 55%) |
| HSV | hsv(263, 61%, 80%) |
| CMYK | cmyk(37.4%, 60.6%, 0%, 20.4%) |
| CIE-LAB | lab(45.03, 45.79, -57.02) |
| CIE-LCH | lch(45.03, 73.13, 308.77°) |
| OKLab | oklab(54.57% 0.0848 -0.1621) |
| OKLCH | oklch(54.57% 0.183 297.6) |
| XYZ | xyz(22.3978, 14.5608, 58.1188) |
| Luminance | 0.1456 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.32
Light Indigo
#6D5ACF
ΔE00 4.66
Slate Blue
#6A5ACD
ΔE00 5.09
Royal Purple
#7851A9
ΔE00 5.68
Iris
#6258C4
ΔE00 6.17
Bluish Purple
#703BE7
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F50CB #9CCB50
analogous
#505ECB #7F50CB #BD50CB
triadic
#7F50CB #CB7F50 #50CB7F
tetradic
#7F50CB #CB505E #9CCB50 #50CBBD
square
#7F50CB #CB505E #9CCB50 #50CBBD
split-complementary
#7F50CB #CBBD50 #5ECB50
monochromatic
#46257C #6133AB #7F50CB #A27FD9 #C4AEE7
Accessibility & contrast
On white
5.37
#7F50CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#7F50CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F50CB
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F50CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F50CB | 1.00 | 5.37 | 3.91 | 5.37 |
| #FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BCF
Deuteranopia (green-blind)
#1B69C8
Tritanopia (blue-blind)
#6D6B86
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7f50cb; /* rgb */ color: rgb(127, 80, 203); /* oklch */ color: oklch(54.6% 0.183 297.6);
Tailwind
colors: {
custom: {
50: '#a983dc',
500: '#7f50cb',
950: '#000000',
},
}SCSS
$custom: #7f50cb; $custom-light: #a983dc; $custom-dark: #000000;
JSON
{
"hex": "#7f50cb",
"rgb": {
"r": 127,
"g": 80,
"b": 203
},
"hsl": {
"h": 262.927,
"s": 54.185,
"l": 55.49
},
"oklch": {
"l": 0.54565,
"c": 0.18296,
"h": 297.6
},
"luminance": 0.14561
}Semantic roles & 50–950 ramp
primary
#7F50CB
secondary
#C1D5A2
accent
#DE4AA5
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83