#9F3ACC#9F3ACC
#9F3ACC is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.6% C 0.220 H 313.2°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #9F3ACC |
|---|---|
| RGB | rgb(159, 58, 204) |
| HSL | hsl(282, 59%, 51%) |
| HSV | hsv(282, 72%, 80%) |
| CMYK | cmyk(22.1%, 71.6%, 0%, 20%) |
| CIE-LAB | lab(45.30, 63.27, -56.95) |
| CIE-LCH | lch(45.30, 85.13, 318.01°) |
| OKLab | oklab(55.65% 0.1508 -0.1608) |
| OKLCH | oklch(55.65% 0.22 313.2) |
| XYZ | xyz(26.7083, 14.7575, 58.5566) |
| Luminance | 0.1476 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.00
Purply
#983FB2
ΔE00 4.07
Vibrant Purple
#AD03DE
ΔE00 4.16
Barney
#AC1DB8
ΔE00 5.19
Violet (survey)
#9A0EEA
ΔE00 5.71
Blueviolet
#8A2BE2
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F3ACC #67CC3A
analogous
#563ACC #9F3ACC #CC3AB0
triadic
#9F3ACC #CC9F3A #3ACC9F
tetradic
#9F3ACC #CC563A #67CC3A #3AB0CC
square
#9F3ACC #CC563A #67CC3A #3AB0CC
split-complementary
#9F3ACC #B0CC3A #3ACC56
monochromatic
#561D6F #7B29A0 #9F3ACC #B76BD9 #CE9BE5
Accessibility & contrast
On white
5.31
#9F3ACC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#9F3ACC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F3ACC
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F3ACC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F3ACC | 1.00 | 5.31 | 3.95 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066D0
Deuteranopia (green-blind)
#2D6DC9
Tritanopia (blue-blind)
#9A5A80
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #9f3acc; /* rgb */ color: rgb(159, 58, 204); /* oklch */ color: oklch(55.6% 0.220 313.2);
Tailwind
colors: {
custom: {
50: '#c079dc',
500: '#9f3acc',
950: '#000000',
},
}SCSS
$custom: #9f3acc; $custom-light: #c079dc; $custom-dark: #000000;
JSON
{
"hex": "#9f3acc",
"rgb": {
"r": 159,
"g": 58,
"b": 204
},
"hsl": {
"h": 281.507,
"s": 58.871,
"l": 51.373
},
"oklch": {
"l": 0.55647,
"c": 0.22044,
"h": 313.2
},
"luminance": 0.14757
}Semantic roles & 50–950 ramp
primary
#9F3ACC
secondary
#A5D191
accent
#E24676
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83