#9A4FDD#9A4FDD
#9A4FDD is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.6% C 0.210 H 305.0°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #9A4FDD |
|---|---|
| RGB | rgb(154, 79, 221) |
| HSL | hsl(272, 68%, 59%) |
| HSV | hsv(272, 64%, 87%) |
| CMYK | cmyk(30.3%, 64.3%, 0%, 13.3%) |
| CIE-LAB | lab(49.11, 56.62, -60.58) |
| CIE-LCH | lch(49.11, 82.92, 313.07°) |
| OKLab | oklab(58.59% 0.1204 -0.1717) |
| OKLCH | oklch(58.59% 0.21 305) |
| XYZ | xyz(29.1707, 17.6826, 70.2689) |
| Luminance | 0.1768 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.59
Purpley
#8756E4
ΔE00 3.96
Lighter Purple
#A55AF4
ΔE00 4.95
Electric Purple
#AA23FF
ΔE00 6.15
Amethyst
#9B5FC0
ΔE00 6.20
Darkorchid
#9932CC
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A4FDD #92DD4F
analogous
#534FDD #9A4FDD #DD4FD9
triadic
#9A4FDD #DD9A4F #4FDD9A
tetradic
#9A4FDD #DD534F #92DD4F #4FD9DD
square
#9A4FDD #DD534F #92DD4F #4FD9DD
split-complementary
#9A4FDD #D9DD4F #4FDD53
monochromatic
#5C1D95 #7C27C8 #9A4FDD #B782E7 #D5B6F1
Accessibility & contrast
On white
4.63
#9A4FDD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.54
#9A4FDD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #9A4FDD
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A4FDD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A4FDD | 1.00 | 4.63 | 4.54 | 4.63 |
| #FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073E1
Deuteranopia (green-blind)
#2875DA
Tritanopia (blue-blind)
#8E6D8F
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #9a4fdd; /* rgb */ color: rgb(154, 79, 221); /* oklch */ color: oklch(58.6% 0.210 305.0);
Tailwind
colors: {
custom: {
50: '#bc85e8',
500: '#9a4fdd',
950: '#000000',
},
}SCSS
$custom: #9a4fdd; $custom-light: #bc85e8; $custom-dark: #000000;
JSON
{
"hex": "#9a4fdd",
"rgb": {
"r": 154,
"g": 79,
"b": 221
},
"hsl": {
"h": 271.69,
"s": 67.619,
"l": 58.824
},
"oklch": {
"l": 0.58592,
"c": 0.20973,
"h": 305
},
"luminance": 0.17682
}Semantic roles & 50–950 ramp
primary
#9A4FDD
secondary
#C2E0A8
accent
#EA3D8F
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84