#9A3FD2#9A3FD2
#9A3FD2 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.9% C 0.219 H 309.3°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #9A3FD2 |
|---|---|
| RGB | rgb(154, 63, 210) |
| HSL | hsl(277, 62%, 54%) |
| HSV | hsv(277, 70%, 82%) |
| CMYK | cmyk(26.7%, 70%, 0%, 17.6%) |
| CIE-LAB | lab(45.74, 61.47, -59.73) |
| CIE-LCH | lch(45.74, 85.71, 315.82°) |
| OKLab | oklab(55.95% 0.1387 -0.1691) |
| OKLCH | oklch(55.95% 0.219 309.3) |
| XYZ | xyz(26.7345, 15.0787, 62.4624) |
| Luminance | 0.1508 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.51
Vibrant Purple
#AD03DE
ΔE00 4.79
Purply
#983FB2
ΔE00 5.12
Blueviolet
#8A2BE2
ΔE00 5.15
Violet (survey)
#9A0EEA
ΔE00 5.44
Lightish Purple
#A552E6
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A3FD2 #77D23F
analogous
#503FD2 #9A3FD2 #D23FC0
triadic
#9A3FD2 #D29A3F #3FD29A
tetradic
#9A3FD2 #D2503F #77D23F #3FC0D2
square
#9A3FD2 #D2503F #77D23F #3FC0D2
split-complementary
#9A3FD2 #C0D23F #3FD250
monochromatic
#561D7A #7A28AC #9A3FD2 #B471DE #CEA2E9
Accessibility & contrast
On white
5.23
#9A3FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#9A3FD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A3FD2
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A3FD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A3FD2 | 1.00 | 5.23 | 4.02 | 5.23 |
| #FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069D6
Deuteranopia (green-blind)
#206ECF
Tritanopia (blue-blind)
#926084
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #9a3fd2; /* rgb */ color: rgb(154, 63, 210); /* oklch */ color: oklch(55.9% 0.219 309.3);
Tailwind
colors: {
custom: {
50: '#bc7be1',
500: '#9a3fd2',
950: '#000000',
},
}SCSS
$custom: #9a3fd2; $custom-light: #bc7be1; $custom-dark: #000000;
JSON
{
"hex": "#9a3fd2",
"rgb": {
"r": 154,
"g": 63,
"b": 210
},
"hsl": {
"h": 277.143,
"s": 62.025,
"l": 53.529
},
"oklch": {
"l": 0.55946,
"c": 0.21872,
"h": 309.3
},
"luminance": 0.15078
}Semantic roles & 50–950 ramp
primary
#9A3FD2
secondary
#AFD697
accent
#E54381
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#120A15
muted
#817C83