#9853B2#9853B2
#9853B2 is a mid, vivid purple. Relative luminance 0.161; OKLCH L 56.2% C 0.157 H 316.0°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #9853B2 |
|---|---|
| RGB | rgb(152, 83, 178) |
| HSL | hsl(284, 38%, 51%) |
| HSV | hsv(284, 53%, 70%) |
| CMYK | cmyk(14.6%, 53.4%, 0%, 30.2%) |
| CIE-LAB | lab(47.08, 44.49, -39.05) |
| CIE-LCH | lch(47.08, 59.20, 318.72°) |
| OKLab | oklab(56.24% 0.1127 -0.1088) |
| OKLCH | oklch(56.24% 0.157 316) |
| XYZ | xyz(24.0768, 16.0770, 43.9457) |
| Luminance | 0.1608 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.99
Amethyst
#9B5FC0
ΔE00 4.06
Purply
#983FB2
ΔE00 4.59
Medium Purple
#9E43A2
ΔE00 4.87
Ugly Purple
#A442A0
ΔE00 5.72
Royal Purple
#7851A9
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9853B2 #6DB253
analogous
#6853B2 #9853B2 #B2539C
triadic
#9853B2 #B29853 #53B298
tetradic
#9853B2 #B26853 #6DB253 #539CB2
square
#9853B2 #B26853 #6DB253 #539CB2
split-complementary
#9853B2 #9CB253 #53B268
monochromatic
#512B60 #753E8A #9853B2 #B17DC5 #CBA8D8
Accessibility & contrast
On white
4.98
#9853B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#9853B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9853B2
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9853B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9853B2 | 1.00 | 4.98 | 4.22 | 4.98 |
| #FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E6BB5
Deuteranopia (green-blind)
#5472AF
Tritanopia (blue-blind)
#97627B
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #9853b2; /* rgb */ color: rgb(152, 83, 178); /* oklch */ color: oklch(56.2% 0.157 316.0);
Tailwind
colors: {
custom: {
50: '#b886c9',
500: '#9853b2',
950: '#000000',
},
}SCSS
$custom: #9853b2; $custom-light: #b886c9; $custom-dark: #000000;
JSON
{
"hex": "#9853b2",
"rgb": {
"r": 152,
"g": 83,
"b": 178
},
"hsl": {
"h": 283.579,
"s": 38.153,
"l": 51.176
},
"oklch": {
"l": 0.5624,
"c": 0.15661,
"h": 316
},
"luminance": 0.16076
}Semantic roles & 50–950 ramp
primary
#9853B2
secondary
#A7C59B
accent
#CE5A7A
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#120B13
muted
#817C82