#9256C8#9256C8
#9256C8 is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.3% C 0.174 H 305.9°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #9256C8 |
|---|---|
| RGB | rgb(146, 86, 200) |
| HSL | hsl(272, 51%, 56%) |
| HSV | hsv(272, 57%, 78%) |
| CMYK | cmyk(27%, 57%, 0%, 21.6%) |
| CIE-LAB | lab(48.18, 46.28, -50.11) |
| CIE-LCH | lch(48.18, 68.21, 312.73°) |
| OKLab | oklab(57.29% 0.1023 -0.1413) |
| OKLCH | oklch(57.29% 0.174 305.9) |
| XYZ | xyz(25.6050, 16.9369, 56.5526) |
| Luminance | 0.1694 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.73
Amethyst
#9B5FC0
ΔE00 3.86
Purpley
#8756E4
ΔE00 5.16
Lightish Purple
#A552E6
ΔE00 5.19
Purply
#983FB2
ΔE00 6.65
Royal Purple
#7851A9
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9256C8 #8CC856
analogous
#5956C8 #9256C8 #C856C5
triadic
#9256C8 #C89256 #56C892
tetradic
#9256C8 #C85956 #8CC856 #56C5C8
square
#9256C8 #C85956 #8CC856 #56C5C8
split-complementary
#9256C8 #C5C856 #56C859
monochromatic
#54287B #7337AA #9256C8 #B084D7 #CEB2E6
Accessibility & contrast
On white
4.79
#9256C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.39
#9256C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9256C8
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9256C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9256C8 | 1.00 | 4.79 | 4.39 | 4.79 |
| #FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A70CC
Deuteranopia (green-blind)
#4273C5
Tritanopia (blue-blind)
#896C87
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #9256c8; /* rgb */ color: rgb(146, 86, 200); /* oklch */ color: oklch(57.3% 0.174 305.9);
Tailwind
colors: {
custom: {
50: '#b588d9',
500: '#9256c8',
950: '#000000',
},
}SCSS
$custom: #9256c8; $custom-light: #b588d9; $custom-dark: #000000;
JSON
{
"hex": "#9256c8",
"rgb": {
"r": 146,
"g": 86,
"b": 200
},
"hsl": {
"h": 271.579,
"s": 50.893,
"l": 56.078
},
"oklch": {
"l": 0.5729,
"c": 0.17441,
"h": 305.9
},
"luminance": 0.16937
}Semantic roles & 50–950 ramp
primary
#9256C8
secondary
#BCD4A5
accent
#DA4D90
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110B15
muted
#807C83