#9A3FD5#9A3FD5
#9A3FD5 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 56.2% C 0.222 H 308.6°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #9A3FD5 |
|---|---|
| RGB | rgb(154, 63, 213) |
| HSL | hsl(276, 64%, 54%) |
| HSV | hsv(276, 70%, 84%) |
| CMYK | cmyk(27.7%, 70.4%, 0%, 16.5%) |
| CIE-LAB | lab(45.95, 62.12, -61.12) |
| CIE-LCH | lch(45.95, 87.15, 315.47°) |
| OKLab | oklab(56.16% 0.1383 -0.1732) |
| OKLCH | oklch(56.16% 0.222 308.6) |
| XYZ | xyz(27.1117, 15.2296, 64.4493) |
| Luminance | 0.1523 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.75
Vibrant Purple
#AD03DE
ΔE00 4.79
Blueviolet
#8A2BE2
ΔE00 4.99
Violet (survey)
#9A0EEA
ΔE00 5.28
Purply
#983FB2
ΔE00 5.56
Electric Purple
#AA23FF
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A3FD5 #7AD53F
analogous
#4F3FD5 #9A3FD5 #D53FC5
triadic
#9A3FD5 #D59A3F #3FD59A
tetradic
#9A3FD5 #D54F3F #7AD53F #3FC5D5
square
#9A3FD5 #D54F3F #7AD53F #3FC5D5
split-complementary
#9A3FD5 #C5D53F #3FD54F
monochromatic
#571C7E #7A27B0 #9A3FD5 #B471E0 #CFA3EB
Accessibility & contrast
On white
5.19
#9A3FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#9A3FD5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A3FD5
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A3FD5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A3FD5 | 1.00 | 5.19 | 4.05 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069D9
Deuteranopia (green-blind)
#196ED2
Tritanopia (blue-blind)
#916186
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #9a3fd5; /* rgb */ color: rgb(154, 63, 213); /* oklch */ color: oklch(56.2% 0.222 308.6);
Tailwind
colors: {
custom: {
50: '#bd7ce3',
500: '#9a3fd5',
950: '#000000',
},
}SCSS
$custom: #9a3fd5; $custom-light: #bd7ce3; $custom-dark: #000000;
JSON
{
"hex": "#9a3fd5",
"rgb": {
"r": 154,
"g": 63,
"b": 213
},
"hsl": {
"h": 276.4,
"s": 64.103,
"l": 54.118
},
"oklch": {
"l": 0.56157,
"c": 0.22165,
"h": 308.6
},
"luminance": 0.15229
}Semantic roles & 50–950 ramp
primary
#9A3FD5
secondary
#B1D898
accent
#E74182
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A15
muted
#827C84