#9936AF#9936AF
#9936AF is a mid, vivid purple. Relative luminance 0.125; OKLCH L 52.5% C 0.196 H 319.8°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #9936AF |
|---|---|
| RGB | rgb(153, 54, 175) |
| HSL | hsl(289, 53%, 45%) |
| HSV | hsv(289, 69%, 69%) |
| CMYK | cmyk(12.6%, 69.1%, 0%, 31.4%) |
| CIE-LAB | lab(42.01, 57.84, -45.33) |
| CIE-LCH | lch(42.01, 73.49, 321.91°) |
| OKLab | oklab(52.53% 0.15 -0.1269) |
| OKLCH | oklch(52.53% 0.196 319.8) |
| XYZ | xyz(22.1929, 12.5069, 41.7942) |
| Luminance | 0.1251 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.70
Barney
#AC1DB8
ΔE00 3.53
Medium Purple
#9E43A2
ΔE00 4.26
Darkorchid
#9932CC
ΔE00 4.66
Ugly Purple
#A442A0
ΔE00 5.34
Warm Purple
#952E8F
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9936AF #4CAF36
analogous
#5D36AF #9936AF #AF3688
triadic
#9936AF #AF9936 #36AF99
tetradic
#9936AF #AF5D36 #4CAF36 #3688AF
square
#9936AF #AF5D36 #4CAF36 #3688AF
split-complementary
#9936AF #88AF36 #36AF5D
monochromatic
#471951 #702880 #9936AF #B657CB #CA86DA
Accessibility & contrast
On white
6.00
#9936AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#9936AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9936AF
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9936AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9936AF | 1.00 | 6.00 | 3.50 | 6.00 |
| #FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#4067AC
Tritanopia (blue-blind)
#994C6E
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #9936af; /* rgb */ color: rgb(153, 54, 175); /* oklch */ color: oklch(52.5% 0.196 319.8);
Tailwind
colors: {
custom: {
50: '#ba75c7',
500: '#9936af',
950: '#000000',
},
}SCSS
$custom: #9936af; $custom-light: #ba75c7; $custom-dark: #000000;
JSON
{
"hex": "#9936af",
"rgb": {
"r": 153,
"g": 54,
"b": 175
},
"hsl": {
"h": 289.091,
"s": 52.838,
"l": 44.902
},
"oklch": {
"l": 0.52531,
"c": 0.19646,
"h": 319.8
},
"luminance": 0.12506
}Semantic roles & 50–950 ramp
primary
#9936AF
secondary
#8AC37D
accent
#DC4C66
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82