#9D2FD8#9D2FD8
#9D2FD8 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 55.3% C 0.242 H 310.1°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #9D2FD8 |
|---|---|
| RGB | rgb(157, 47, 216) |
| HSL | hsl(279, 68%, 52%) |
| HSV | hsv(279, 78%, 85%) |
| CMYK | cmyk(27.3%, 78.2%, 0%, 15.3%) |
| CIE-LAB | lab(44.46, 69.34, -65.23) |
| CIE-LCH | lch(44.46, 95.20, 316.75°) |
| OKLab | oklab(55.26% 0.1559 -0.1851) |
| OKLCH | oklch(55.26% 0.242 310.1) |
| XYZ | xyz(27.3134, 14.1596, 66.2467) |
| Luminance | 0.1416 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 1.69
Vibrant Purple
#AD03DE
ΔE00 2.91
Violet (survey)
#9A0EEA
ΔE00 3.37
Blueviolet
#8A2BE2
ΔE00 3.84
Darkviolet
#9400D3
ΔE00 4.70
Vivid Purple
#9900FA
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D2FD8 #6AD82F
analogous
#492FD8 #9D2FD8 #D82FBF
triadic
#9D2FD8 #D89D2F #2FD89D
tetradic
#9D2FD8 #D8492F #6AD82F #2FBFD8
square
#9D2FD8 #D8492F #6AD82F #2FBFD8
split-complementary
#9D2FD8 #BFD82F #2FD849
monochromatic
#551676 #7A20AA #9D2FD8 #B563E2 #CE96EB
Accessibility & contrast
On white
5.48
#9D2FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.83
#9D2FD8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D2FD8
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D2FD8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D2FD8 | 1.00 | 5.48 | 3.83 | 5.48 |
| #FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065DD
Deuteranopia (green-blind)
#006BD5
Tritanopia (blue-blind)
#955A84
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #9d2fd8; /* rgb */ color: rgb(157, 47, 216); /* oklch */ color: oklch(55.3% 0.242 310.1);
Tailwind
colors: {
custom: {
50: '#bf74e5',
500: '#9d2fd8',
950: '#000000',
},
}SCSS
$custom: #9d2fd8; $custom-light: #bf74e5; $custom-dark: #000000;
JSON
{
"hex": "#9d2fd8",
"rgb": {
"r": 157,
"g": 47,
"b": 216
},
"hsl": {
"h": 279.053,
"s": 68.421,
"l": 51.569
},
"oklch": {
"l": 0.55261,
"c": 0.24198,
"h": 310.1
},
"luminance": 0.14159
}Semantic roles & 50–950 ramp
primary
#9D2FD8
secondary
#A6D78C
accent
#EB3D7A
background
#FCF7FE
surface
#F8EDFC
border
#D1C8D5
text
#130916
muted
#827B84