#9A4FCA#9A4FCA
#9A4FCA is a mid, vivid violet. Relative luminance 0.167; OKLCH L 57.3% C 0.189 H 309.8°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #9A4FCA |
|---|---|
| RGB | rgb(154, 79, 202) |
| HSL | hsl(277, 54%, 55%) |
| HSV | hsv(277, 61%, 79%) |
| CMYK | cmyk(23.8%, 60.9%, 0%, 20.8%) |
| CIE-LAB | lab(47.91, 52.30, -51.63) |
| CIE-LCH | lch(47.91, 73.50, 315.37°) |
| OKLab | oklab(57.35% 0.1213 -0.1455) |
| OKLCH | oklch(57.35% 0.189 309.8) |
| XYZ | xyz(26.7810, 16.7268, 57.6834) |
| Luminance | 0.1673 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 4.54
Lightish Purple
#A552E6
ΔE00 4.65
Deep Lavender
#8D5EB7
ΔE00 5.18
Purply
#983FB2
ΔE00 5.42
Darkorchid
#9932CC
ΔE00 5.53
Purpley
#8756E4
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A4FCA #7FCA4F
analogous
#5C4FCA #9A4FCA #CA4FBD
triadic
#9A4FCA #CA9A4F #4FCA9A
tetradic
#9A4FCA #CA5C4F #7FCA4F #4FBDCA
square
#9A4FCA #CA5C4F #7FCA4F #4FBDCA
split-complementary
#9A4FCA #BDCA4F #4FCA5C
monochromatic
#59257A #7B33A9 #9A4FCA #B57ED8 #D0ADE6
Accessibility & contrast
On white
4.83
#9A4FCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.35
#9A4FCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A4FCA
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A4FCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A4FCA | 1.00 | 4.83 | 4.35 | 4.83 |
| #FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A6ECE
Deuteranopia (green-blind)
#4073C7
Tritanopia (blue-blind)
#946785
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #9a4fca; /* rgb */ color: rgb(154, 79, 202); /* oklch */ color: oklch(57.3% 0.189 309.8);
Tailwind
colors: {
custom: {
50: '#bb84db',
500: '#9a4fca',
950: '#000000',
},
}SCSS
$custom: #9a4fca; $custom-light: #bb84db; $custom-dark: #000000;
JSON
{
"hex": "#9a4fca",
"rgb": {
"r": 154,
"g": 79,
"b": 202
},
"hsl": {
"h": 276.585,
"s": 53.712,
"l": 55.098
},
"oklch": {
"l": 0.57345,
"c": 0.18941,
"h": 309.8
},
"luminance": 0.16726
}Semantic roles & 50–950 ramp
primary
#9A4FCA
secondary
#B5D4A1
accent
#DD4B84
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83