#9155C2#9155C2
#9155C2 is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.7% C 0.169 H 307.3°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #9155C2 |
|---|---|
| RGB | rgb(145, 85, 194) |
| HSL | hsl(273, 47%, 55%) |
| HSV | hsv(273, 56%, 76%) |
| CMYK | cmyk(25.3%, 56.2%, 0%, 23.9%) |
| CIE-LAB | lab(47.51, 45.15, -47.72) |
| CIE-LCH | lch(47.51, 65.70, 313.41°) |
| OKLab | oklab(56.66% 0.1022 -0.1343) |
| OKLCH | oklch(56.66% 0.169 307.3) |
| XYZ | xyz(24.6612, 16.4121, 52.8972) |
| Luminance | 0.1641 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.23
Amethyst
#9B5FC0
ΔE00 3.81
Purply
#983FB2
ΔE00 5.90
Purpley
#8756E4
ΔE00 6.04
Royal Purple
#7851A9
ΔE00 6.05
Lightish Purple
#A552E6
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9155C2 #86C255
analogous
#5B55C2 #9155C2 #C255BC
triadic
#9155C2 #C29155 #55C291
tetradic
#9155C2 #C25B55 #86C255 #55BCC2
square
#9155C2 #C25B55 #86C255 #55BCC2
split-complementary
#9155C2 #BCC255 #55C25B
monochromatic
#522973 #723AA0 #9155C2 #AE82D2 #CBAFE2
Accessibility & contrast
On white
4.90
#9155C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.28
#9155C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9155C2
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9155C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9155C2 | 1.00 | 4.90 | 4.28 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F6EC6
Deuteranopia (green-blind)
#4571BF
Tritanopia (blue-blind)
#896983
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #9155c2; /* rgb */ color: rgb(145, 85, 194); /* oklch */ color: oklch(56.7% 0.169 307.3);
Tailwind
colors: {
custom: {
50: '#b487d5',
500: '#9155c2',
950: '#000000',
},
}SCSS
$custom: #9155c2; $custom-light: #b487d5; $custom-dark: #000000;
JSON
{
"hex": "#9155c2",
"rgb": {
"r": 145,
"g": 85,
"b": 194
},
"hsl": {
"h": 273.028,
"s": 47.186,
"l": 54.706
},
"oklch": {
"l": 0.56659,
"c": 0.16873,
"h": 307.3
},
"luminance": 0.16412
}Semantic roles & 50–950 ramp
primary
#9155C2
secondary
#B7D0A2
accent
#D7518D
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110B14
muted
#807C83