#9456CA#9456CA
#9456CA is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.6% C 0.177 H 306.3°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #9456CA |
|---|---|
| RGB | rgb(148, 86, 202) |
| HSL | hsl(272, 52%, 56%) |
| HSV | hsv(272, 57%, 79%) |
| CMYK | cmyk(26.7%, 57.4%, 0%, 20.8%) |
| CIE-LAB | lab(48.53, 47.25, -50.69) |
| CIE-LCH | lch(48.53, 69.29, 312.99°) |
| OKLab | oklab(57.64% 0.1049 -0.1429) |
| OKLCH | oklch(57.64% 0.177 306.3) |
| XYZ | xyz(26.1990, 17.2160, 57.8085) |
| Luminance | 0.1722 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.76
Deep Lavender
#8D5EB7
ΔE00 3.99
Lightish Purple
#A552E6
ΔE00 4.75
Purpley
#8756E4
ΔE00 5.10
Purply
#983FB2
ΔE00 6.78
Lighter Purple
#A55AF4
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9456CA #8CCA56
analogous
#5A56CA #9456CA #CA56C6
triadic
#9456CA #CA9456 #56CA94
tetradic
#9456CA #CA5A56 #8CCA56 #56C6CA
square
#9456CA #CA5A56 #8CCA56 #56C6CA
split-complementary
#9456CA #C6CA56 #56CA5A
monochromatic
#56287E #7536AD #9456CA #B185D9 #CFB3E7
Accessibility & contrast
On white
4.73
#9456CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.44
#9456CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9456CA
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9456CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9456CA | 1.00 | 4.73 | 4.44 | 4.73 |
| #FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2971CE
Deuteranopia (green-blind)
#4274C7
Tritanopia (blue-blind)
#8B6C88
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #9456ca; /* rgb */ color: rgb(148, 86, 202); /* oklch */ color: oklch(57.6% 0.177 306.3);
Tailwind
colors: {
custom: {
50: '#b788db',
500: '#9456ca',
950: '#000000',
},
}SCSS
$custom: #9456ca; $custom-light: #b788db; $custom-dark: #000000;
JSON
{
"hex": "#9456ca",
"rgb": {
"r": 148,
"g": 86,
"b": 202
},
"hsl": {
"h": 272.069,
"s": 52.252,
"l": 56.471
},
"oklch": {
"l": 0.57636,
"c": 0.17726,
"h": 306.3
},
"luminance": 0.17216
}Semantic roles & 50–950 ramp
primary
#9456CA
secondary
#BCD6A6
accent
#DC4C8F
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83