#9D2FD2#9D2FD2
#9D2FD2 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.8% C 0.237 H 311.6°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #9D2FD2 |
|---|---|
| RGB | rgb(157, 47, 210) |
| HSL | hsl(280, 64%, 50%) |
| HSV | hsv(280, 78%, 82%) |
| CMYK | cmyk(25.2%, 77.6%, 0%, 17.6%) |
| CIE-LAB | lab(44.02, 68.13, -62.49) |
| CIE-LCH | lch(44.02, 92.45, 317.47°) |
| OKLab | oklab(54.82% 0.1571 -0.177) |
| OKLCH | oklch(54.82% 0.237 311.6) |
| XYZ | xyz(26.5518, 13.8550, 62.2359) |
| Luminance | 0.1385 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 0.96
Vibrant Purple
#AD03DE
ΔE00 2.99
Violet (survey)
#9A0EEA
ΔE00 3.89
Blueviolet
#8A2BE2
ΔE00 4.28
Darkviolet
#9400D3
ΔE00 4.53
Purply
#983FB2
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D2FD2 #64D22F
analogous
#4B2FD2 #9D2FD2 #D22FB5
triadic
#9D2FD2 #D29D2F #2FD29D
tetradic
#9D2FD2 #D24B2F #64D22F #2FB5D2
square
#9D2FD2 #D24B2F #64D22F #2FB5D2
split-complementary
#9D2FD2 #B5D22F #2FD24B
monochromatic
#52186F #7823A1 #9D2FD2 #B561DD #CC94E8
Accessibility & contrast
On white
5.57
#9D2FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#9D2FD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D2FD2
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D2FD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D2FD2 | 1.00 | 5.57 | 3.77 | 5.57 |
| #FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063D6
Deuteranopia (green-blind)
#056ACF
Tritanopia (blue-blind)
#965780
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #9d2fd2; /* rgb */ color: rgb(157, 47, 210); /* oklch */ color: oklch(54.8% 0.237 311.6);
Tailwind
colors: {
custom: {
50: '#bf74e1',
500: '#9d2fd2',
950: '#000000',
},
}SCSS
$custom: #9d2fd2; $custom-light: #bf74e1; $custom-dark: #000000;
JSON
{
"hex": "#9d2fd2",
"rgb": {
"r": 157,
"g": 47,
"b": 210
},
"hsl": {
"h": 280.491,
"s": 64.427,
"l": 50.392
},
"oklch": {
"l": 0.54818,
"c": 0.23671,
"h": 311.6
},
"luminance": 0.13854
}Semantic roles & 50–950 ramp
primary
#9D2FD2
secondary
#A2D38A
accent
#E74077
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83