#9456BC#9456BC
#9456BC is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.8% C 0.161 H 310.3°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #9456BC |
|---|---|
| RGB | rgb(148, 86, 188) |
| HSL | hsl(276, 43%, 54%) |
| HSV | hsv(276, 54%, 74%) |
| CMYK | cmyk(21.3%, 54.3%, 0%, 26.3%) |
| CIE-LAB | lab(47.73, 44.01, -43.88) |
| CIE-LCH | lch(47.73, 62.15, 315.09°) |
| OKLab | oklab(56.79% 0.1043 -0.123) |
| OKLCH | oklch(56.79% 0.161 310.3) |
| XYZ | xyz(24.6159, 16.5828, 49.4712) |
| Luminance | 0.1658 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 2.68
Amethyst
#9B5FC0
ΔE00 3.03
Purply
#983FB2
ΔE00 5.56
Royal Purple
#7851A9
ΔE00 6.24
Lightish Purple
#A552E6
ΔE00 6.75
Medium Purple
#9E43A2
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9456BC #7EBC56
analogous
#6156BC #9456BC #BC56B1
triadic
#9456BC #BC9456 #56BC94
tetradic
#9456BC #BC6156 #7EBC56 #56B1BC
square
#9456BC #BC6156 #7EBC56 #56B1BC
split-complementary
#9456BC #B1BC56 #56BC61
monochromatic
#532B6D #743C98 #9456BC #B082CD #CBAEDF
Accessibility & contrast
On white
4.87
#9456BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#9456BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9456BC
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9456BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9456BC | 1.00 | 4.87 | 4.32 | 4.87 |
| #FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#386EBF
Deuteranopia (green-blind)
#4D72B9
Tritanopia (blue-blind)
#8F6881
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #9456bc; /* rgb */ color: rgb(148, 86, 188); /* oklch */ color: oklch(56.8% 0.161 310.3);
Tailwind
colors: {
custom: {
50: '#b688d1',
500: '#9456bc',
950: '#000000',
},
}SCSS
$custom: #9456bc; $custom-light: #b688d1; $custom-dark: #000000;
JSON
{
"hex": "#9456bc",
"rgb": {
"r": 148,
"g": 86,
"b": 188
},
"hsl": {
"h": 276.471,
"s": 43.22,
"l": 53.725
},
"oklch": {
"l": 0.56789,
"c": 0.16126,
"h": 310.3
},
"luminance": 0.16582
}Semantic roles & 50–950 ramp
primary
#9456BC
secondary
#B2CDA1
accent
#D35586
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110B14
muted
#807C82