#9155B3#9155B3
#9155B3 is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.8% C 0.151 H 311.9°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #9155B3 |
|---|---|
| RGB | rgb(145, 85, 179) |
| HSL | hsl(278, 38%, 52%) |
| HSV | hsv(278, 53%, 70%) |
| CMYK | cmyk(19%, 52.5%, 0%, 29.8%) |
| CIE-LAB | lab(46.67, 41.71, -40.33) |
| CIE-LCH | lch(46.67, 58.02, 315.96°) |
| OKLab | oklab(55.77% 0.1012 -0.1127) |
| OKLCH | oklch(55.77% 0.151 311.9) |
| XYZ | xyz(23.0608, 15.7719, 44.4686) |
| Luminance | 0.1577 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 2.80
Amethyst
#9B5FC0
ΔE00 3.97
Purply
#983FB2
ΔE00 5.07
Royal Purple
#7851A9
ΔE00 5.42
Medium Purple
#9E43A2
ΔE00 6.03
Ugly Purple
#A442A0
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9155B3 #77B355
analogous
#6255B3 #9155B3 #B355A6
triadic
#9155B3 #B39155 #55B391
tetradic
#9155B3 #B36255 #77B355 #55A6B3
square
#9155B3 #B36255 #77B355 #55A6B3
split-complementary
#9155B3 #A6B355 #55B362
monochromatic
#4E2C62 #703F8C #9155B3 #AC7FC6 #C8AAD9
Accessibility & contrast
On white
5.06
#9155B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#9155B3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9155B3
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9155B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9155B3 | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D6CB6
Deuteranopia (green-blind)
#5070B1
Tritanopia (blue-blind)
#8D657C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #9155b3; /* rgb */ color: rgb(145, 85, 179); /* oklch */ color: oklch(55.8% 0.151 311.9);
Tailwind
colors: {
custom: {
50: '#b387ca',
500: '#9155b3',
950: '#000000',
},
}SCSS
$custom: #9155b3; $custom-light: #b387ca; $custom-dark: #000000;
JSON
{
"hex": "#9155b3",
"rgb": {
"r": 145,
"g": 85,
"b": 179
},
"hsl": {
"h": 278.298,
"s": 38.211,
"l": 51.765
},
"oklch": {
"l": 0.55772,
"c": 0.15148,
"h": 311.9
},
"luminance": 0.15771
}Semantic roles & 50–950 ramp
primary
#9155B3
secondary
#ACC79D
accent
#CE5A84
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110B13
muted
#807C82