#9154B2#9154B2
#9154B2 is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.6% C 0.152 H 312.4°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #9154B2 |
|---|---|
| RGB | rgb(145, 84, 178) |
| HSL | hsl(279, 38%, 51%) |
| HSV | hsv(279, 53%, 70%) |
| CMYK | cmyk(18.5%, 52.8%, 0%, 30.2%) |
| CIE-LAB | lab(46.41, 42.03, -40.16) |
| CIE-LCH | lch(46.41, 58.13, 316.30°) |
| OKLab | oklab(55.56% 0.1025 -0.1122) |
| OKLCH | oklch(55.56% 0.152 312.4) |
| XYZ | xyz(22.8819, 15.5753, 43.9118) |
| Luminance | 0.1557 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.10
Amethyst
#9B5FC0
ΔE00 4.25
Purply
#983FB2
ΔE00 4.81
Royal Purple
#7851A9
ΔE00 5.37
Medium Purple
#9E43A2
ΔE00 5.76
Ugly Purple
#A442A0
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9154B2 #75B254
analogous
#6254B2 #9154B2 #B254A4
triadic
#9154B2 #B29154 #54B291
tetradic
#9154B2 #B26254 #75B254 #54A4B2
square
#9154B2 #B26254 #75B254 #54A4B2
split-complementary
#9154B2 #A4B254 #54B262
monochromatic
#4E2B60 #703E8A #9154B2 #AC7EC5 #C7A8D8
Accessibility & contrast
On white
5.10
#9154B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#9154B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9154B2
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9154B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9154B2 | 1.00 | 5.10 | 4.11 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C6BB5
Deuteranopia (green-blind)
#4F6FB0
Tritanopia (blue-blind)
#8E637B
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #9154b2; /* rgb */ color: rgb(145, 84, 178); /* oklch */ color: oklch(55.6% 0.152 312.4);
Tailwind
colors: {
custom: {
50: '#b386c9',
500: '#9154b2',
950: '#000000',
},
}SCSS
$custom: #9154b2; $custom-light: #b386c9; $custom-dark: #000000;
JSON
{
"hex": "#9154b2",
"rgb": {
"r": 145,
"g": 84,
"b": 178
},
"hsl": {
"h": 278.936,
"s": 37.903,
"l": 51.373
},
"oklch": {
"l": 0.55562,
"c": 0.15196,
"h": 312.4
},
"luminance": 0.15575
}Semantic roles & 50–950 ramp
primary
#9154B2
secondary
#ABC69C
accent
#CE5A83
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82