#9D2ED3#9D2ED3
#9D2ED3 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.8% C 0.239 H 311.4°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #9D2ED3 |
|---|---|
| RGB | rgb(157, 46, 211) |
| HSL | hsl(280, 65%, 50%) |
| HSV | hsv(280, 78%, 83%) |
| CMYK | cmyk(25.6%, 78.2%, 0%, 17.3%) |
| CIE-LAB | lab(43.98, 68.66, -63.13) |
| CIE-LCH | lch(43.98, 93.28, 317.40°) |
| OKLab | oklab(54.81% 0.1577 -0.1789) |
| OKLCH | oklch(54.81% 0.239 311.4) |
| XYZ | xyz(26.6373, 13.8259, 62.8809) |
| Luminance | 0.1383 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 1.07
Vibrant Purple
#AD03DE
ΔE00 2.90
Violet (survey)
#9A0EEA
ΔE00 3.72
Blueviolet
#8A2BE2
ΔE00 4.15
Darkviolet
#9400D3
ΔE00 4.42
Vivid Purple
#9900FA
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D2ED3 #64D32E
analogous
#4B2ED3 #9D2ED3 #D32EB6
triadic
#9D2ED3 #D39D2E #2ED39D
tetradic
#9D2ED3 #D34B2E #64D32E #2EB6D3
square
#9D2ED3 #D34B2E #64D32E #2EB6D3
split-complementary
#9D2ED3 #B6D32E #2ED34B
monochromatic
#52176F #7822A2 #9D2ED3 #B561DE #CC93E8
Accessibility & contrast
On white
5.58
#9D2ED3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#9D2ED3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D2ED3
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D2ED3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D2ED3 | 1.00 | 5.58 | 3.77 | 5.58 |
| #FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063D7
Deuteranopia (green-blind)
#006AD0
Tritanopia (blue-blind)
#965781
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #9d2ed3; /* rgb */ color: rgb(157, 46, 211); /* oklch */ color: oklch(54.8% 0.239 311.4);
Tailwind
colors: {
custom: {
50: '#bf74e1',
500: '#9d2ed3',
950: '#000000',
},
}SCSS
$custom: #9d2ed3; $custom-light: #bf74e1; $custom-dark: #000000;
JSON
{
"hex": "#9d2ed3",
"rgb": {
"r": 157,
"g": 46,
"b": 211
},
"hsl": {
"h": 280.364,
"s": 65.217,
"l": 50.392
},
"oklch": {
"l": 0.54811,
"c": 0.23851,
"h": 311.4
},
"luminance": 0.13825
}Semantic roles & 50–950 ramp
primary
#9D2ED3
secondary
#A2D38A
accent
#E84077
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83