#9F46BC#9F46BC
#9F46BC is a mid, vivid purple. Relative luminance 0.154; OKLCH L 55.9% C 0.190 H 316.9°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #9F46BC |
|---|---|
| RGB | rgb(159, 70, 188) |
| HSL | hsl(285, 47%, 51%) |
| HSV | hsv(285, 63%, 74%) |
| CMYK | cmyk(15.4%, 62.8%, 0%, 26.3%) |
| CIE-LAB | lab(46.15, 54.84, -46.30) |
| CIE-LCH | lch(46.15, 71.77, 319.83°) |
| OKLab | oklab(55.94% 0.1387 -0.1296) |
| OKLCH | oklch(55.94% 0.19 316.9) |
| XYZ | xyz(25.5640, 15.3831, 49.1898) |
| Luminance | 0.1538 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.62
Medium Purple
#9E43A2
ΔE00 4.80
Darkorchid
#9932CC
ΔE00 4.85
Barney
#AC1DB8
ΔE00 5.47
Ugly Purple
#A442A0
ΔE00 5.67
Amethyst
#9B5FC0
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F46BC #63BC46
analogous
#6446BC #9F46BC #BC469E
triadic
#9F46BC #BC9F46 #46BC9F
tetradic
#9F46BC #BC6446 #63BC46 #469EBC
square
#9F46BC #BC6446 #63BC46 #469EBC
split-complementary
#9F46BC #9EBC46 #46BC64
monochromatic
#542464 #7A3490 #9F46BC #B673CC #CEA0DD
Accessibility & contrast
On white
5.15
#9F46BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#9F46BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F46BC
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F46BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F46BC | 1.00 | 5.15 | 4.08 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2068C0
Deuteranopia (green-blind)
#4870B9
Tritanopia (blue-blind)
#9E5B7B
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #9f46bc; /* rgb */ color: rgb(159, 70, 188); /* oklch */ color: oklch(55.9% 0.190 316.9);
Tailwind
colors: {
custom: {
50: '#be7fd1',
500: '#9f46bc',
950: '#000000',
},
}SCSS
$custom: #9f46bc; $custom-light: #be7fd1; $custom-dark: #000000;
JSON
{
"hex": "#9f46bc",
"rgb": {
"r": 159,
"g": 70,
"b": 188
},
"hsl": {
"h": 285.254,
"s": 46.825,
"l": 50.588
},
"oklch": {
"l": 0.55942,
"c": 0.18983,
"h": 316.9
},
"luminance": 0.15382
}Semantic roles & 50–950 ramp
primary
#9F46BC
secondary
#A2C995
accent
#D65172
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#120A14
muted
#817C82