#9A39E6#9A39E6
#9A39E6 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.8% C 0.244 H 305.2°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #9A39E6 |
|---|---|
| RGB | rgb(154, 57, 230) |
| HSL | hsl(274, 78%, 56%) |
| HSV | hsv(274, 75%, 90%) |
| CMYK | cmyk(33%, 75.2%, 0%, 9.8%) |
| CIE-LAB | lab(46.32, 68.24, -70.20) |
| CIE-LCH | lch(46.32, 97.90, 314.19°) |
| OKLab | oklab(56.81% 0.1407 -0.1999) |
| OKLCH | oklch(56.81% 0.244 305.2) |
| XYZ | xyz(29.0693, 15.5096, 76.3098) |
| Luminance | 0.1551 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Electric Purple
#AA23FF
ΔE00 3.63
Bright Violet
#AD0AFD
ΔE00 3.95
Blueviolet
#8A2BE2
ΔE00 4.07
Darkorchid
#9932CC
ΔE00 4.09
Violet (survey)
#9A0EEA
ΔE00 4.10
Vivid Purple
#9900FA
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A39E6 #85E639
analogous
#4439E6 #9A39E6 #E639DB
triadic
#9A39E6 #E69A39 #39E69A
tetradic
#9A39E6 #E64439 #85E639 #39DBE6
square
#9A39E6 #E64439 #85E639 #39DBE6
split-complementary
#9A39E6 #DBE639 #39E644
monochromatic
#5A1292 #7C19C8 #9A39E6 #B66FED #D1A6F4
Accessibility & contrast
On white
5.12
#9A39E6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#9A39E6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A39E6
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A39E6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A39E6 | 1.00 | 5.12 | 4.10 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BEB
Deuteranopia (green-blind)
#006EE3
Tritanopia (blue-blind)
#8C658E
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #9a39e6; /* rgb */ color: rgb(154, 57, 230); /* oklch */ color: oklch(56.8% 0.244 305.2);
Tailwind
colors: {
custom: {
50: '#be79ef',
500: '#9a39e6',
950: '#000000',
},
}SCSS
$custom: #9a39e6; $custom-light: #be79ef; $custom-dark: #000000;
JSON
{
"hex": "#9a39e6",
"rgb": {
"r": 154,
"g": 57,
"b": 230
},
"hsl": {
"h": 273.642,
"s": 77.578,
"l": 56.275
},
"oklch": {
"l": 0.56808,
"c": 0.24445,
"h": 305.2
},
"luminance": 0.15509
}Semantic roles & 50–950 ramp
primary
#9A39E6
secondary
#B9E19A
accent
#F43488
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A17
muted
#827C85