#9F46C2#9F46C2
#9F46C2 is a mid, vivid purple. Relative luminance 0.156; OKLCH L 56.3% C 0.196 H 315.1°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #9F46C2 |
|---|---|
| RGB | rgb(159, 70, 194) |
| HSL | hsl(283, 50%, 52%) |
| HSV | hsv(283, 64%, 76%) |
| CMYK | cmyk(18%, 63.9%, 0%, 23.9%) |
| CIE-LAB | lab(46.51, 56.07, -49.22) |
| CIE-LCH | lch(46.51, 74.61, 318.72°) |
| OKLab | oklab(56.31% 0.1386 -0.1382) |
| OKLCH | oklch(56.31% 0.196 315.1) |
| XYZ | xyz(26.2243, 15.6472, 52.6673) |
| Luminance | 0.1565 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.27
Darkorchid
#9932CC
ΔE00 4.35
Medium Purple
#9E43A2
ΔE00 5.82
Barney
#AC1DB8
ΔE00 5.82
Amethyst
#9B5FC0
ΔE00 5.94
Lightish Purple
#A552E6
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F46C2 #69C246
analogous
#6146C2 #9F46C2 #C246A7
triadic
#9F46C2 #C29F46 #46C29F
tetradic
#9F46C2 #C26146 #69C246 #46A7C2
square
#9F46C2 #C26146 #69C246 #46A7C2
split-complementary
#9F46C2 #A7C246 #46C261
monochromatic
#56236A #7C3299 #9F46C2 #B774D1 #CFA2E0
Accessibility & contrast
On white
5.09
#9F46C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#9F46C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F46C2
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F46C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F46C2 | 1.00 | 5.09 | 4.13 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1369C6
Deuteranopia (green-blind)
#4471BF
Tritanopia (blue-blind)
#9C5D7E
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #9f46c2; /* rgb */ color: rgb(159, 70, 194); /* oklch */ color: oklch(56.3% 0.196 315.1);
Tailwind
colors: {
custom: {
50: '#bf7fd5',
500: '#9f46c2',
950: '#000000',
},
}SCSS
$custom: #9f46c2; $custom-light: #bf7fd5; $custom-dark: #000000;
JSON
{
"hex": "#9f46c2",
"rgb": {
"r": 159,
"g": 70,
"b": 194
},
"hsl": {
"h": 283.065,
"s": 50.407,
"l": 51.765
},
"oklch": {
"l": 0.56311,
"c": 0.19571,
"h": 315.1
},
"luminance": 0.15646
}Semantic roles & 50–950 ramp
primary
#9F46C2
secondary
#A6CD97
accent
#DA4E75
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130A14
muted
#827C83