#7E39BB#7E39BB
#7E39BB is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.2% C 0.195 H 304.5°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #7E39BB |
|---|---|
| RGB | rgb(126, 57, 187) |
| HSL | hsl(272, 53%, 48%) |
| HSV | hsv(272, 70%, 73%) |
| CMYK | cmyk(32.6%, 69.5%, 0%, 26.7%) |
| CIE-LAB | lab(39.50, 53.33, -56.65) |
| CIE-LCH | lch(39.50, 77.80, 313.27°) |
| OKLab | oklab(50.2% 0.1107 -0.161) |
| OKLCH | oklch(50.2% 0.195 304.5) |
| XYZ | xyz(19.0349, 10.9498, 48.1148) |
| Luminance | 0.1095 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.94
Blueviolet
#8A2BE2
ΔE00 5.43
Darkviolet
#9400D3
ΔE00 5.70
Bluey Purple
#6241C7
ΔE00 5.76
Purply
#983FB2
ΔE00 6.15
Rebeccapurple
#663399
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E39BB #76BB39
analogous
#3D39BB #7E39BB #BB39B7
triadic
#7E39BB #BB7E39 #39BB7E
tetradic
#7E39BB #BB3D39 #76BB39 #39B7BB
square
#7E39BB #BB3D39 #76BB39 #39B7BB
split-complementary
#7E39BB #B7BB39 #39BB3D
monochromatic
#3F1C5D #5E2B8C #7E39BB #9C62CF #BA91DD
Accessibility & contrast
On white
6.58
#7E39BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#7E39BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E39BB
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E39BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E39BB | 1.00 | 6.58 | 3.19 | 6.58 |
| #FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BBF
Deuteranopia (green-blind)
#005DB8
Tritanopia (blue-blind)
#735776
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #7e39bb; /* rgb */ color: rgb(126, 57, 187); /* oklch */ color: oklch(50.2% 0.195 304.5);
Tailwind
colors: {
custom: {
50: '#a875d0',
500: '#7e39bb',
950: '#000000',
},
}SCSS
$custom: #7e39bb; $custom-light: #a875d0; $custom-dark: #000000;
JSON
{
"hex": "#7e39bb",
"rgb": {
"r": 126,
"g": 57,
"b": 187
},
"hsl": {
"h": 271.846,
"s": 53.279,
"l": 47.843
},
"oklch": {
"l": 0.50198,
"c": 0.19538,
"h": 304.5
},
"luminance": 0.1095
}Semantic roles & 50–950 ramp
primary
#7E39BB
secondary
#A6C887
accent
#DD4B8F
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82