#9F3EAC#9F3EAC
#9F3EAC is a mid, vivid purple. Relative luminance 0.138; OKLCH L 54.0% C 0.186 H 322.8°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #9F3EAC |
|---|---|
| RGB | rgb(159, 62, 172) |
| HSL | hsl(293, 47%, 46%) |
| HSV | hsv(293, 64%, 67%) |
| CMYK | cmyk(7.6%, 64%, 0%, 32.5%) |
| CIE-LAB | lab(43.94, 55.31, -40.43) |
| CIE-LCH | lch(43.94, 68.51, 323.84°) |
| OKLab | oklab(54.05% 0.1481 -0.1125) |
| OKLCH | oklch(54.05% 0.186 322.8) |
| XYZ | xyz(23.4664, 13.7960, 40.4486) |
| Luminance | 0.1379 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.06
Medium Purple
#9E43A2
ΔE00 2.19
Ugly Purple
#A442A0
ΔE00 3.19
Barney
#AC1DB8
ΔE00 4.15
Warm Purple
#952E8F
ΔE00 5.98
Darkorchid
#9932CC
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F3EAC #4BAC3E
analogous
#683EAC #9F3EAC #AC3E82
triadic
#9F3EAC #AC9F3E #3EAC9F
tetradic
#9F3EAC #AC683E #4BAC3E #3E82AC
square
#9F3EAC #AC683E #4BAC3E #3E82AC
split-complementary
#9F3EAC #82AC3E #3EAC68
monochromatic
#4C1E52 #752E7F #9F3EAC #BA61C6 #CE8ED6
Accessibility & contrast
On white
5.59
#9F3EAC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.76
#9F3EAC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F3EAC
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F3EAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F3EAC | 1.00 | 5.59 | 3.76 | 5.59 |
| #FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2661AF
Deuteranopia (green-blind)
#4D6CA9
Tritanopia (blue-blind)
#A14F6F
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #9f3eac; /* rgb */ color: rgb(159, 62, 172); /* oklch */ color: oklch(54.0% 0.186 322.8);
Tailwind
colors: {
custom: {
50: '#be7ac5',
500: '#9f3eac',
950: '#000000',
},
}SCSS
$custom: #9f3eac; $custom-light: #be7ac5; $custom-dark: #000000;
JSON
{
"hex": "#9f3eac",
"rgb": {
"r": 159,
"g": 62,
"b": 172
},
"hsl": {
"h": 292.909,
"s": 47.009,
"l": 45.882
},
"oklch": {
"l": 0.54045,
"c": 0.18596,
"h": 322.8
},
"luminance": 0.13795
}Semantic roles & 50–950 ramp
primary
#9F3EAC
secondary
#8CC185
accent
#D75161
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#120A13
muted
#817C82