#7F39BA#7F39BA
#7F39BA is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.2% C 0.195 H 305.2°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #7F39BA |
|---|---|
| RGB | rgb(127, 57, 186) |
| HSL | hsl(273, 53%, 48%) |
| HSV | hsv(273, 69%, 73%) |
| CMYK | cmyk(31.7%, 69.4%, 0%, 27.1%) |
| CIE-LAB | lab(39.55, 53.29, -55.97) |
| CIE-LCH | lch(39.55, 77.28, 313.60°) |
| OKLab | oklab(50.24% 0.1122 -0.1589) |
| OKLCH | oklch(50.24% 0.195 305.2) |
| XYZ | xyz(19.0765, 10.9836, 47.5599) |
| Luminance | 0.1098 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.83
Blueviolet
#8A2BE2
ΔE00 5.54
Darkviolet
#9400D3
ΔE00 5.69
Purply
#983FB2
ΔE00 5.91
Bluey Purple
#6241C7
ΔE00 6.01
Rebeccapurple
#663399
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F39BA #74BA39
analogous
#3F39BA #7F39BA #BA39B4
triadic
#7F39BA #BA7F39 #39BA7F
tetradic
#7F39BA #BA3F39 #74BA39 #39B4BA
square
#7F39BA #BA3F39 #74BA39 #39B4BA
split-complementary
#7F39BA #B4BA39 #39BA3F
monochromatic
#3F1C5C #5F2B8B #7F39BA #9D61CF #BA90DD
Accessibility & contrast
On white
6.57
#7F39BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#7F39BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F39BA
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F39BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F39BA | 1.00 | 6.57 | 3.20 | 6.57 |
| #FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#045DB7
Tritanopia (blue-blind)
#745675
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #7f39ba; /* rgb */ color: rgb(127, 57, 186); /* oklch */ color: oklch(50.2% 0.195 305.2);
Tailwind
colors: {
custom: {
50: '#a975d0',
500: '#7f39ba',
950: '#000000',
},
}SCSS
$custom: #7f39ba; $custom-light: #a975d0; $custom-dark: #000000;
JSON
{
"hex": "#7f39ba",
"rgb": {
"r": 127,
"g": 57,
"b": 186
},
"hsl": {
"h": 272.558,
"s": 53.086,
"l": 47.647
},
"oklch": {
"l": 0.50244,
"c": 0.19456,
"h": 305.2
},
"luminance": 0.10983
}Semantic roles & 50–950 ramp
primary
#7F39BA
secondary
#A5C887
accent
#DC4B8E
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82