#9154D2#9154D2
#9154D2 is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.5% C 0.189 H 303.3°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #9154D2 |
|---|---|
| RGB | rgb(145, 84, 210) |
| HSL | hsl(269, 58%, 58%) |
| HSV | hsv(269, 60%, 82%) |
| CMYK | cmyk(31%, 60%, 0%, 17.6%) |
| CIE-LAB | lab(48.28, 49.49, -55.70) |
| CIE-LCH | lch(48.28, 74.51, 311.62°) |
| OKLab | oklab(57.53% 0.1035 -0.1577) |
| OKLCH | oklch(57.53% 0.189 303.3) |
| XYZ | xyz(26.4776, 17.0136, 62.8493) |
| Luminance | 0.1701 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.58
Lightish Purple
#A552E6
ΔE00 4.33
Amethyst
#9B5FC0
ΔE00 5.28
Deep Lavender
#8D5EB7
ΔE00 5.31
Lighter Purple
#A55AF4
ΔE00 6.30
Darkorchid
#9932CC
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9154D2 #95D254
analogous
#5456D2 #9154D2 #D054D2
triadic
#9154D2 #D29154 #54D291
tetradic
#9154D2 #D25456 #95D254 #54D2D0
square
#9154D2 #D25456 #95D254 #54D2D0
split-complementary
#9154D2 #D2D054 #56D254
monochromatic
#542488 #7231B8 #9154D2 #B084DF #CFB5EB
Accessibility & contrast
On white
4.77
#9154D2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.40
#9154D2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9154D2
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9154D2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9154D2 | 1.00 | 4.77 | 4.40 | 4.77 |
| #FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E71D6
Deuteranopia (green-blind)
#3372CF
Tritanopia (blue-blind)
#856E8B
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #9154d2; /* rgb */ color: rgb(145, 84, 210); /* oklch */ color: oklch(57.5% 0.189 303.3);
Tailwind
colors: {
custom: {
50: '#b587e0',
500: '#9154d2',
950: '#000000',
},
}SCSS
$custom: #9154d2; $custom-light: #b587e0; $custom-dark: #000000;
JSON
{
"hex": "#9154d2",
"rgb": {
"r": 145,
"g": 84,
"b": 210
},
"hsl": {
"h": 269.048,
"s": 58.333,
"l": 57.647
},
"oklch": {
"l": 0.5753,
"c": 0.18861,
"h": 303.3
},
"luminance": 0.17014
}Semantic roles & 50–950 ramp
primary
#9154D2
secondary
#C2DAA8
accent
#E24696
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120B15
muted
#817C83