#7F3EBB#7F3EBB
#7F3EBB is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.9% C 0.189 H 304.3°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #7F3EBB |
|---|---|
| RGB | rgb(127, 62, 187) |
| HSL | hsl(271, 50%, 49%) |
| HSV | hsv(271, 67%, 73%) |
| CMYK | cmyk(32.1%, 66.8%, 0%, 26.7%) |
| CIE-LAB | lab(40.48, 51.14, -55.05) |
| CIE-LCH | lch(40.48, 75.14, 312.89°) |
| OKLab | oklab(50.93% 0.1067 -0.1563) |
| OKLCH | oklch(50.93% 0.189 304.3) |
| XYZ | xyz(19.4426, 11.5452, 48.2082) |
| Luminance | 0.1154 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.82
Blueviolet
#8A2BE2
ΔE00 5.64
Purply
#983FB2
ΔE00 5.70
Royal Purple
#7851A9
ΔE00 5.75
Bluey Purple
#6241C7
ΔE00 5.80
Darkviolet
#9400D3
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F3EBB #7ABB3E
analogous
#413EBB #7F3EBB #BB3EB9
triadic
#7F3EBB #BB7F3E #3EBB7F
tetradic
#7F3EBB #BB413E #7ABB3E #3EB9BB
square
#7F3EBB #BB413E #7ABB3E #3EB9BB
split-complementary
#7F3EBB #B9BB3E #3EBB41
monochromatic
#41205F #602F8D #7F3EBB #9D69CD #BB97DC
Accessibility & contrast
On white
6.35
#7F3EBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#7F3EBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F3EBB
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F3EBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F3EBB | 1.00 | 6.35 | 3.31 | 6.35 |
| #FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#125FB8
Tritanopia (blue-blind)
#745A77
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #7f3ebb; /* rgb */ color: rgb(127, 62, 187); /* oklch */ color: oklch(50.9% 0.189 304.3);
Tailwind
colors: {
custom: {
50: '#a978d0',
500: '#7f3ebb',
950: '#000000',
},
}SCSS
$custom: #7f3ebb; $custom-light: #a978d0; $custom-dark: #000000;
JSON
{
"hex": "#7f3ebb",
"rgb": {
"r": 127,
"g": 62,
"b": 187
},
"hsl": {
"h": 271.2,
"s": 50.201,
"l": 48.824
},
"oklch": {
"l": 0.50933,
"c": 0.18919,
"h": 304.3
},
"luminance": 0.11545
}Semantic roles & 50–950 ramp
primary
#7F3EBB
secondary
#A9C88D
accent
#DA4E91
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82