#9F46B2#9F46B2
#9F46B2 is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.3% C 0.180 H 320.2°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #9F46B2 |
|---|---|
| RGB | rgb(159, 70, 178) |
| HSL | hsl(289, 44%, 49%) |
| HSV | hsv(289, 61%, 70%) |
| CMYK | cmyk(10.7%, 60.7%, 0%, 30.2%) |
| CIE-LAB | lab(45.59, 52.84, -41.35) |
| CIE-LCH | lch(45.59, 67.10, 321.96°) |
| OKLab | oklab(55.35% 0.1385 -0.1152) |
| OKLCH | oklch(55.35% 0.18 320.2) |
| XYZ | xyz(24.5231, 14.9667, 43.7080) |
| Luminance | 0.1497 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.37
Medium Purple
#9E43A2
ΔE00 3.04
Ugly Purple
#A442A0
ΔE00 3.94
Barney
#AC1DB8
ΔE00 5.32
Darkorchid
#9932CC
ΔE00 6.07
Amethyst
#9B5FC0
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F46B2 #59B246
analogous
#6946B2 #9F46B2 #B2468F
triadic
#9F46B2 #B29F46 #46B29F
tetradic
#9F46B2 #B26946 #59B246 #468FB2
square
#9F46B2 #B26946 #59B246 #468FB2
split-complementary
#9F46B2 #8FB246 #46B269
monochromatic
#51235A #783586 #9F46B2 #B76FC6 #CD9BD8
Accessibility & contrast
On white
5.26
#9F46B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#9F46B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F46B2
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F46B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F46B2 | 1.00 | 5.26 | 3.99 | 5.26 |
| #FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D66B5
Deuteranopia (green-blind)
#4F6FAF
Tritanopia (blue-blind)
#A05775
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #9f46b2; /* rgb */ color: rgb(159, 70, 178); /* oklch */ color: oklch(55.3% 0.180 320.2);
Tailwind
colors: {
custom: {
50: '#be7fc9',
500: '#9f46b2',
950: '#000000',
},
}SCSS
$custom: #9f46b2; $custom-light: #be7fc9; $custom-dark: #000000;
JSON
{
"hex": "#9f46b2",
"rgb": {
"r": 159,
"g": 70,
"b": 178
},
"hsl": {
"h": 289.444,
"s": 43.548,
"l": 48.627
},
"oklch": {
"l": 0.55348,
"c": 0.18013,
"h": 320.2
},
"luminance": 0.14966
}Semantic roles & 50–950 ramp
primary
#9F46B2
secondary
#99C490
accent
#D3556B
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#120A13
muted
#817C82