#9A2FD8#9A2FD8
#9A2FD8 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.9% C 0.241 H 309.1°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #9A2FD8 |
|---|---|
| RGB | rgb(154, 47, 216) |
| HSL | hsl(278, 68%, 52%) |
| HSV | hsv(278, 78%, 85%) |
| CMYK | cmyk(28.7%, 78.2%, 0%, 15.3%) |
| CIE-LAB | lab(44.03, 68.84, -65.94) |
| CIE-LCH | lch(44.03, 95.33, 316.23°) |
| OKLab | oklab(54.87% 0.152 -0.1873) |
| OKLCH | oklch(54.87% 0.241 309.1) |
| XYZ | xyz(26.7351, 13.8614, 66.2196) |
| Luminance | 0.1386 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 1.67
Violet (survey)
#9A0EEA
ΔE00 3.11
Vibrant Purple
#AD03DE
ΔE00 3.23
Blueviolet
#8A2BE2
ΔE00 3.33
Darkviolet
#9400D3
ΔE00 4.36
Vivid Purple
#9900FA
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A2FD8 #6DD82F
analogous
#462FD8 #9A2FD8 #D82FC2
triadic
#9A2FD8 #D89A2F #2FD89A
tetradic
#9A2FD8 #D8462F #6DD82F #2FC2D8
square
#9A2FD8 #D8462F #6DD82F #2FC2D8
split-complementary
#9A2FD8 #C2D82F #2FD846
monochromatic
#531676 #7720AA #9A2FD8 #B363E2 #CC96EB
Accessibility & contrast
On white
5.57
#9A2FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#9A2FD8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A2FD8
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A2FD8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A2FD8 | 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)
#0064DD
Deuteranopia (green-blind)
#0069D5
Tritanopia (blue-blind)
#905A84
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #9a2fd8; /* rgb */ color: rgb(154, 47, 216); /* oklch */ color: oklch(54.9% 0.241 309.1);
Tailwind
colors: {
custom: {
50: '#bd74e5',
500: '#9a2fd8',
950: '#000000',
},
}SCSS
$custom: #9a2fd8; $custom-light: #bd74e5; $custom-dark: #000000;
JSON
{
"hex": "#9a2fd8",
"rgb": {
"r": 154,
"g": 47,
"b": 216
},
"hsl": {
"h": 277.988,
"s": 68.421,
"l": 51.569
},
"oklch": {
"l": 0.54874,
"c": 0.24118,
"h": 309.1
},
"luminance": 0.13861
}Semantic roles & 50–950 ramp
primary
#9A2FD8
secondary
#A8D78C
accent
#EB3D7D
background
#FCF7FE
surface
#F8EDFC
border
#D1C8D5
text
#130916
muted
#827B84