#7F39BF#7F39BF
#7F39BF is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.6% C 0.200 H 303.9°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #7F39BF |
|---|---|
| RGB | rgb(127, 57, 191) |
| HSL | hsl(271, 54%, 49%) |
| HSV | hsv(271, 70%, 75%) |
| CMYK | cmyk(33.5%, 70.2%, 0%, 25.1%) |
| CIE-LAB | lab(39.92, 54.47, -58.31) |
| CIE-LCH | lch(39.92, 79.80, 313.05°) |
| OKLab | oklab(50.62% 0.1115 -0.1658) |
| OKLCH | oklch(50.62% 0.2 303.9) |
| XYZ | xyz(19.6173, 11.1999, 50.4084) |
| Luminance | 0.1120 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.62
Blueviolet
#8A2BE2
ΔE00 4.86
Darkviolet
#9400D3
ΔE00 5.43
Bluey Purple
#6241C7
ΔE00 5.61
Bluish Purple
#703BE7
ΔE00 6.24
Purply
#983FB2
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F39BF #79BF39
analogous
#3C39BF #7F39BF #BF39BC
triadic
#7F39BF #BF7F39 #39BF7F
tetradic
#7F39BF #BF3C39 #79BF39 #39BCBF
square
#7F39BF #BF3C39 #79BF39 #39BCBF
split-complementary
#7F39BF #BCBF39 #39BF3C
monochromatic
#401D61 #602B90 #7F39BF #9D64D1 #BB93DF
Accessibility & contrast
On white
6.48
#7F39BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#7F39BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F39BF
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F39BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F39BF | 1.00 | 6.48 | 3.24 | 6.48 |
| #FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CC3
Deuteranopia (green-blind)
#005EBC
Tritanopia (blue-blind)
#735878
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #7f39bf; /* rgb */ color: rgb(127, 57, 191); /* oklch */ color: oklch(50.6% 0.200 303.9);
Tailwind
colors: {
custom: {
50: '#a975d3',
500: '#7f39bf',
950: '#000000',
},
}SCSS
$custom: #7f39bf; $custom-light: #a975d3; $custom-dark: #000000;
JSON
{
"hex": "#7f39bf",
"rgb": {
"r": 127,
"g": 57,
"b": 191
},
"hsl": {
"h": 271.343,
"s": 54.032,
"l": 48.627
},
"oklch": {
"l": 0.50616,
"c": 0.19983,
"h": 303.9
},
"luminance": 0.112
}Semantic roles & 50–950 ramp
primary
#7F39BF
secondary
#A8CA8A
accent
#DD4A91
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83