#9456E4#9456E4
#9456E4 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.3% C 0.207 H 300.3°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #9456E4 |
|---|---|
| RGB | rgb(148, 86, 228) |
| HSL | hsl(266, 72%, 62%) |
| HSV | hsv(266, 62%, 89%) |
| CMYK | cmyk(35.1%, 62.3%, 0%, 10.6%) |
| CIE-LAB | lab(50.16, 53.51, -62.88) |
| CIE-LCH | lch(50.16, 82.57, 310.40°) |
| OKLab | oklab(59.34% 0.1042 -0.1787) |
| OKLCH | oklch(59.34% 0.207 300.3) |
| XYZ | xyz(29.5407, 18.5527, 75.4084) |
| Luminance | 0.1855 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.40
Lightish Purple
#A552E6
ΔE00 3.05
Lighter Purple
#A55AF4
ΔE00 3.96
Amethyst
#9B5FC0
ΔE00 6.81
Mediumslateblue
#7B68EE
ΔE00 6.88
Mediumpurple
#9370DB
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9456E4 #A6E456
analogous
#565FE4 #9456E4 #DB56E4
triadic
#9456E4 #E49456 #56E494
tetradic
#9456E4 #E4565F #A6E456 #56E4DB
square
#9456E4 #E4565F #A6E456 #56E4DB
split-complementary
#9456E4 #E4DB56 #5FE456
monochromatic
#571AA5 #7323DA #9456E4 #B58BEC #D7C0F5
Accessibility & contrast
On white
4.46
#9456E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#9456E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9456E4
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9456E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9456E4 | 1.00 | 4.46 | 4.71 | 4.71 |
| #FFFFFF | 4.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077E8
Deuteranopia (green-blind)
#1D76E1
Tritanopia (blue-blind)
#837595
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #9456e4; /* rgb */ color: rgb(148, 86, 228); /* oklch */ color: oklch(59.3% 0.207 300.3);
Tailwind
colors: {
custom: {
50: '#b889ed',
500: '#9456e4',
950: '#000000',
},
}SCSS
$custom: #9456e4; $custom-light: #b889ed; $custom-dark: #000000;
JSON
{
"hex": "#9456e4",
"rgb": {
"r": 148,
"g": 86,
"b": 228
},
"hsl": {
"h": 266.197,
"s": 72.449,
"l": 61.569
},
"oklch": {
"l": 0.59343,
"c": 0.20686,
"h": 300.3
},
"luminance": 0.18553
}Semantic roles & 50–950 ramp
primary
#9456E4
secondary
#CEE5B0
accent
#D5117F
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84