#9A4BEC#9A4BEC
#9A4BEC is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 59.2% C 0.231 H 302.2°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #9A4BEC |
|---|---|
| RGB | rgb(154, 75, 236) |
| HSL | hsl(269, 81%, 61%) |
| HSV | hsv(269, 68%, 93%) |
| CMYK | cmyk(34.7%, 68.2%, 0%, 7.5%) |
| CIE-LAB | lab(49.45, 62.00, -68.51) |
| CIE-LCH | lch(49.45, 92.40, 312.15°) |
| OKLab | oklab(59.16% 0.123 -0.195) |
| OKLCH | oklch(59.16% 0.231 302.2) |
| XYZ | xyz(30.9792, 17.9582, 81.1748) |
| Luminance | 0.1796 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.93
Purpley
#8756E4
ΔE00 3.71
Lighter Purple
#A55AF4
ΔE00 4.45
Electric Purple
#AA23FF
ΔE00 4.80
Bright Violet
#AD0AFD
ΔE00 5.91
Neon Purple
#BC13FE
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A4BEC #9DEC4B
analogous
#4B4CEC #9A4BEC #EB4BEC
triadic
#9A4BEC #EC9A4B #4BEC9A
tetradic
#9A4BEC #EC4B4C #9DEC4B #4BECEB
square
#9A4BEC #EC4B4C #9DEC4B #4BECEB
split-complementary
#9A4BEC #ECEB4B #4CEC4B
monochromatic
#5D12AB #7B18E2 #9A4BEC #B982F2 #D8BAF8
Accessibility & contrast
On white
4.57
#9A4BEC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.59
#9A4BEC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9A4BEC
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A4BEC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9A4BEC | 1.00 | 4.57 | 4.59 | 4.59 |
| #FFFFFF | 4.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074F1
Deuteranopia (green-blind)
#0075E9
Tritanopia (blue-blind)
#897196
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #9a4bec; /* rgb */ color: rgb(154, 75, 236); /* oklch */ color: oklch(59.2% 0.231 302.2);
Tailwind
colors: {
custom: {
50: '#be83f3',
500: '#9a4bec',
950: '#000000',
},
}SCSS
$custom: #9a4bec; $custom-light: #be83f3; $custom-dark: #000000;
JSON
{
"hex": "#9a4bec",
"rgb": {
"r": 154,
"g": 75,
"b": 236
},
"hsl": {
"h": 269.441,
"s": 80.905,
"l": 60.98
},
"oklch": {
"l": 0.59156,
"c": 0.23057,
"h": 302.2
},
"luminance": 0.17958
}Semantic roles & 50–950 ramp
primary
#9A4BEC
secondary
#CAE8AB
accent
#DD0875
background
#FCF8FF
surface
#F8EFFE
border
#D1CAD6
text
#130B17
muted
#827C85