#7F3EBA#7F3EBA
#7F3EBA is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.9% C 0.188 H 304.6°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #7F3EBA |
|---|---|
| RGB | rgb(127, 62, 186) |
| HSL | hsl(271, 50%, 49%) |
| HSV | hsv(271, 67%, 73%) |
| CMYK | cmyk(31.7%, 66.7%, 0%, 27.1%) |
| CIE-LAB | lab(40.41, 50.90, -54.57) |
| CIE-LCH | lch(40.41, 74.63, 313.01°) |
| OKLab | oklab(50.86% 0.1068 -0.1549) |
| OKLCH | oklch(50.86% 0.188 304.6) |
| XYZ | xyz(19.3360, 11.5025, 47.6464) |
| Luminance | 0.1150 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.87
Purply
#983FB2
ΔE00 5.63
Royal Purple
#7851A9
ΔE00 5.68
Blueviolet
#8A2BE2
ΔE00 5.78
Bluey Purple
#6241C7
ΔE00 5.89
Darkviolet
#9400D3
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F3EBA #79BA3E
analogous
#413EBA #7F3EBA #BA3EB7
triadic
#7F3EBA #BA7F3E #3EBA7F
tetradic
#7F3EBA #BA413E #79BA3E #3EB7BA
square
#7F3EBA #BA413E #79BA3E #3EB7BA
split-complementary
#7F3EBA #B7BA3E #3EBA41
monochromatic
#401F5E #602F8C #7F3EBA #9D68CD #BB96DC
Accessibility & contrast
On white
6.36
#7F3EBA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#7F3EBA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F3EBA
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F3EBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F3EBA | 1.00 | 6.36 | 3.30 | 6.36 |
| #FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#155FB7
Tritanopia (blue-blind)
#745977
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #7f3eba; /* rgb */ color: rgb(127, 62, 186); /* oklch */ color: oklch(50.9% 0.188 304.6);
Tailwind
colors: {
custom: {
50: '#a978cf',
500: '#7f3eba',
950: '#000000',
},
}SCSS
$custom: #7f3eba; $custom-light: #a978cf; $custom-dark: #000000;
JSON
{
"hex": "#7f3eba",
"rgb": {
"r": 127,
"g": 62,
"b": 186
},
"hsl": {
"h": 271.452,
"s": 50,
"l": 48.627
},
"oklch": {
"l": 0.5086,
"c": 0.18811,
"h": 304.6
},
"luminance": 0.11502
}Semantic roles & 50–950 ramp
primary
#7F3EBA
secondary
#A8C88C
accent
#DA4E91
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82