#9849AF#9849AF
#9849AF is a mid, vivid purple. Relative luminance 0.145; OKLCH L 54.7% C 0.169 H 318.0°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #9849AF |
|---|---|
| RGB | rgb(152, 73, 175) |
| HSL | hsl(286, 41%, 49%) |
| HSV | hsv(286, 58%, 69%) |
| CMYK | cmyk(13.1%, 58.3%, 0%, 31.4%) |
| CIE-LAB | lab(44.99, 48.99, -40.59) |
| CIE-LCH | lch(44.99, 63.62, 320.35°) |
| OKLab | oklab(54.66% 0.1259 -0.1132) |
| OKLCH | oklch(54.66% 0.169 318) |
| XYZ | xyz(23.0682, 14.5365, 42.1398) |
| Luminance | 0.1454 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.25
Medium Purple
#9E43A2
ΔE00 3.25
Ugly Purple
#A442A0
ΔE00 4.45
Deep Lavender
#8D5EB7
ΔE00 6.07
Barney
#AC1DB8
ΔE00 6.19
Darkorchid
#9932CC
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9849AF #60AF49
analogous
#6549AF #9849AF #AF4993
triadic
#9849AF #AF9849 #49AF98
tetradic
#9849AF #AF6549 #60AF49 #4993AF
square
#9849AF #AF6549 #60AF49 #4993AF
split-complementary
#9849AF #93AF49 #49AF65
monochromatic
#4D2559 #723784 #9849AF #B171C4 #C99CD6
Accessibility & contrast
On white
5.37
#9849AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#9849AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9849AF
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9849AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9849AF | 1.00 | 5.37 | 3.91 | 5.37 |
| #FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3065B2
Deuteranopia (green-blind)
#4D6DAC
Tritanopia (blue-blind)
#985975
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #9849af; /* rgb */ color: rgb(152, 73, 175); /* oklch */ color: oklch(54.7% 0.169 318.0);
Tailwind
colors: {
custom: {
50: '#b980c7',
500: '#9849af',
950: '#000000',
},
}SCSS
$custom: #9849af; $custom-light: #b980c7; $custom-dark: #000000;
JSON
{
"hex": "#9849af",
"rgb": {
"r": 152,
"g": 73,
"b": 175
},
"hsl": {
"h": 286.471,
"s": 41.129,
"l": 48.627
},
"oklch": {
"l": 0.54659,
"c": 0.16934,
"h": 318
},
"luminance": 0.14536
}Semantic roles & 50–950 ramp
primary
#9849AF
secondary
#9CC291
accent
#D15772
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#120A13
muted
#817C82