#9A4FDF#9A4FDF
#9A4FDF is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.7% C 0.212 H 304.6°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #9A4FDF |
|---|---|
| RGB | rgb(154, 79, 223) |
| HSL | hsl(271, 69%, 59%) |
| HSV | hsv(271, 65%, 87%) |
| CMYK | cmyk(30.9%, 64.6%, 0%, 12.5%) |
| CIE-LAB | lab(49.24, 57.09, -61.50) |
| CIE-LCH | lch(49.24, 83.91, 312.87°) |
| OKLab | oklab(58.73% 0.1203 -0.1744) |
| OKLCH | oklch(58.73% 0.212 304.6) |
| XYZ | xyz(29.4387, 17.7898, 71.6806) |
| Luminance | 0.1779 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.48
Purpley
#8756E4
ΔE00 3.82
Lighter Purple
#A55AF4
ΔE00 4.75
Electric Purple
#AA23FF
ΔE00 6.01
Amethyst
#9B5FC0
ΔE00 6.40
Darkorchid
#9932CC
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A4FDF #94DF4F
analogous
#524FDF #9A4FDF #DF4FDC
triadic
#9A4FDF #DF9A4F #4FDF9A
tetradic
#9A4FDF #DF524F #94DF4F #4FDCDF
square
#9A4FDF #DF524F #94DF4F #4FDCDF
split-complementary
#9A4FDF #DCDF4F #4FDF52
monochromatic
#5C1C98 #7C25CC #9A4FDF #B883E8 #D5B7F2
Accessibility & contrast
On white
4.61
#9A4FDF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.56
#9A4FDF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #9A4FDF
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A4FDF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A4FDF | 1.00 | 4.61 | 4.56 | 4.61 |
| #FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073E3
Deuteranopia (green-blind)
#2475DC
Tritanopia (blue-blind)
#8D6E90
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #9a4fdf; /* rgb */ color: rgb(154, 79, 223); /* oklch */ color: oklch(58.7% 0.212 304.6);
Tailwind
colors: {
custom: {
50: '#bc85ea',
500: '#9a4fdf',
950: '#000000',
},
}SCSS
$custom: #9a4fdf; $custom-light: #bc85ea; $custom-dark: #000000;
JSON
{
"hex": "#9a4fdf",
"rgb": {
"r": 154,
"g": 79,
"b": 223
},
"hsl": {
"h": 271.25,
"s": 69.231,
"l": 59.216
},
"oklch": {
"l": 0.58728,
"c": 0.21186,
"h": 304.6
},
"luminance": 0.1779
}Semantic roles & 50–950 ramp
primary
#9A4FDF
secondary
#C4E1A9
accent
#EC3C90
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84