#9F4AC2#9F4AC2
#9F4AC2 is a mid, vivid purple. Relative luminance 0.162; OKLCH L 56.8% C 0.190 H 314.7°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #9F4AC2 |
|---|---|
| RGB | rgb(159, 74, 194) |
| HSL | hsl(283, 50%, 53%) |
| HSV | hsv(283, 62%, 76%) |
| CMYK | cmyk(18%, 61.9%, 0%, 23.9%) |
| CIE-LAB | lab(47.19, 54.20, -48.13) |
| CIE-LCH | lch(47.19, 72.49, 318.39°) |
| OKLab | oklab(56.8% 0.1338 -0.135) |
| OKLCH | oklch(56.8% 0.19 314.7) |
| XYZ | xyz(26.4829, 16.1644, 52.7535) |
| Luminance | 0.1616 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.83
Darkorchid
#9932CC
ΔE00 5.11
Amethyst
#9B5FC0
ΔE00 5.11
Deep Lavender
#8D5EB7
ΔE00 5.87
Medium Purple
#9E43A2
ΔE00 5.98
Lightish Purple
#A552E6
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F4AC2 #6DC24A
analogous
#634AC2 #9F4AC2 #C24AA9
triadic
#9F4AC2 #C29F4A #4AC29F
tetradic
#9F4AC2 #C2634A #6DC24A #4AA9C2
square
#9F4AC2 #C2634A #6DC24A #4AA9C2
split-complementary
#9F4AC2 #A9C24A #4AC263
monochromatic
#58256D #7D349B #9F4AC2 #B778D1 #D0A6E1
Accessibility & contrast
On white
4.96
#9F4AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#9F4AC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F4AC2
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F4AC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F4AC2 | 1.00 | 4.96 | 4.23 | 4.96 |
| #FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#206BC6
Deuteranopia (green-blind)
#4772BF
Tritanopia (blue-blind)
#9C607F
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #9f4ac2; /* rgb */ color: rgb(159, 74, 194); /* oklch */ color: oklch(56.8% 0.190 314.7);
Tailwind
colors: {
custom: {
50: '#be81d5',
500: '#9f4ac2',
950: '#000000',
},
}SCSS
$custom: #9f4ac2; $custom-light: #be81d5; $custom-dark: #000000;
JSON
{
"hex": "#9f4ac2",
"rgb": {
"r": 159,
"g": 74,
"b": 194
},
"hsl": {
"h": 282.5,
"s": 49.587,
"l": 52.549
},
"oklch": {
"l": 0.56804,
"c": 0.19009,
"h": 314.7
},
"luminance": 0.16164
}Semantic roles & 50–950 ramp
primary
#9F4AC2
secondary
#A9CE9A
accent
#D94F77
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#120B14
muted
#817C83