#915CB2#915CB2
#915CB2 is a mid, vivid violet. Relative luminance 0.169; OKLCH L 56.8% C 0.139 H 311.1°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #915CB2 |
|---|---|
| RGB | rgb(145, 92, 178) |
| HSL | hsl(277, 36%, 53%) |
| HSV | hsv(277, 48%, 70%) |
| CMYK | cmyk(18.5%, 48.3%, 0%, 30.2%) |
| CIE-LAB | lab(48.12, 37.61, -37.46) |
| CIE-LCH | lch(48.12, 53.08, 315.12°) |
| OKLab | oklab(56.83% 0.0912 -0.1044) |
| OKLCH | oklch(56.83% 0.139 311.1) |
| XYZ | xyz(23.5386, 16.8888, 44.1307) |
| Luminance | 0.1689 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 1.63
Amethyst
#9B5FC0
ΔE00 3.03
Deep Lilac
#966EBD
ΔE00 5.75
Royal Purple
#7851A9
ΔE00 6.25
Purply
#983FB2
ΔE00 7.01
Medium Purple
#9E43A2
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#915CB2 #7DB25C
analogous
#665CB2 #915CB2 #B25CA8
triadic
#915CB2 #B2915C #5CB291
tetradic
#915CB2 #B2665C #7DB25C #5CA8B2
square
#915CB2 #B2665C #7DB25C #5CA8B2
split-complementary
#915CB2 #A8B25C #5CB266
monochromatic
#502F64 #71438E #915CB2 #AD86C6 #C9AFD9
Accessibility & contrast
On white
4.80
#915CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.38
#915CB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #915CB2
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##915CB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##915CB2 | 1.00 | 4.80 | 4.38 | 4.80 |
| #FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4870B5
Deuteranopia (green-blind)
#5773B0
Tritanopia (blue-blind)
#8D6A7F
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #915cb2; /* rgb */ color: rgb(145, 92, 178); /* oklch */ color: oklch(56.8% 0.139 311.1);
Tailwind
colors: {
custom: {
50: '#b38bc9',
500: '#915cb2',
950: '#000000',
},
}SCSS
$custom: #915cb2; $custom-light: #b38bc9; $custom-dark: #000000;
JSON
{
"hex": "#915cb2",
"rgb": {
"r": 145,
"g": 92,
"b": 178
},
"hsl": {
"h": 276.977,
"s": 35.833,
"l": 52.941
},
"oklch": {
"l": 0.56828,
"c": 0.13862,
"h": 311.1
},
"luminance": 0.16888
}Semantic roles & 50–950 ramp
primary
#915CB2
secondary
#B1C7A2
accent
#CC5C87
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82