#99218F#99218F
#99218F is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.7% C 0.194 H 331.9°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).
Color values
| HEX | #99218F |
|---|---|
| RGB | rgb(153, 33, 143) |
| HSL | hsl(305, 65%, 36%) |
| HSV | hsv(305, 78%, 60%) |
| CMYK | cmyk(0%, 78.4%, 6.5%, 40%) |
| CIE-LAB | lab(37.56, 59.62, -33.15) |
| CIE-LCH | lch(37.56, 68.21, 330.93°) |
| OKLab | oklab(48.75% 0.171 -0.0913) |
| OKLCH | oklch(48.75% 0.194 331.9) |
| XYZ | xyz(18.6387, 9.8448, 26.8998) |
| Luminance | 0.0984 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 1.66
Barney Purple
#A00498
ΔE00 2.29
Darkmagenta
#8B008B
ΔE00 4.52
Purple
#800080
ΔE00 6.45
Medium Purple
#9E43A2
ΔE00 6.54
Ugly Purple
#A442A0
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#99218F #21992B
analogous
#672199 #99218F #992153
triadic
#99218F #8F9921 #218F99
tetradic
#99218F #996721 #21992B #215399
square
#99218F #996721 #21992B #215399
split-complementary
#99218F #539921 #219967
monochromatic
#340B31 #671660 #99218F #CB2CBE #DB59D0
Accessibility & contrast
On white
7.07
#99218F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#99218F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #99218F
7.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##99218F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##99218F | 1.00 | 7.07 | 2.97 | 7.07 |
| #FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#164E92
Deuteranopia (green-blind)
#495E8C
Tritanopia (blue-blind)
#A03057
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #99218f; /* rgb */ color: rgb(153, 33, 143); /* oklch */ color: oklch(48.7% 0.194 331.9);
Tailwind
colors: {
custom: {
50: '#bb6bb0',
500: '#99218f',
950: '#000000',
},
}SCSS
$custom: #99218f; $custom-light: #bb6bb0; $custom-dark: #000000;
JSON
{
"hex": "#99218f",
"rgb": {
"r": 153,
"g": 33,
"b": 143
},
"hsl": {
"h": 305,
"s": 64.516,
"l": 36.471
},
"oklch": {
"l": 0.48749,
"c": 0.1938,
"h": 331.9
},
"luminance": 0.09843
}Semantic roles & 50–950 ramp
primary
#99218F
secondary
#56BF5F
accent
#E84E40
background
#FBF6FA
surface
#F7ECF5
border
#D0C7CF
text
#120710
muted
#817A7F