#915AB0#915AB0
#915AB0 is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.4% C 0.140 H 312.2°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #915AB0 |
|---|---|
| RGB | rgb(145, 90, 176) |
| HSL | hsl(278, 35%, 52%) |
| HSV | hsv(278, 49%, 69%) |
| CMYK | cmyk(17.6%, 48.9%, 0%, 31%) |
| CIE-LAB | lab(47.58, 38.28, -37.14) |
| CIE-LCH | lch(47.58, 53.33, 315.87°) |
| OKLab | oklab(56.39% 0.0938 -0.1035) |
| OKLCH | oklch(56.39% 0.14 312.2) |
| XYZ | xyz(23.1683, 16.4672, 43.0239) |
| Luminance | 0.1647 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 2.15
Amethyst
#9B5FC0
ΔE00 3.48
Royal Purple
#7851A9
ΔE00 6.01
Deep Lilac
#966EBD
ΔE00 6.40
Purply
#983FB2
ΔE00 6.47
Medium Purple
#9E43A2
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#915AB0 #79B05A
analogous
#665AB0 #915AB0 #B05AA4
triadic
#915AB0 #B0915A #5AB091
tetradic
#915AB0 #B0665A #79B05A #5AA4B0
square
#915AB0 #B0665A #79B05A #5AA4B0
split-complementary
#915AB0 #A4B05A #5AB066
monochromatic
#4F2E61 #70428A #915AB0 #AD83C4 #C8ADD8
Accessibility & contrast
On white
4.89
#915AB0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#915AB0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #915AB0
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##915AB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##915AB0 | 1.00 | 4.89 | 4.29 | 4.89 |
| #FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#466EB3
Deuteranopia (green-blind)
#5672AE
Tritanopia (blue-blind)
#8E687D
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #915ab0; /* rgb */ color: rgb(145, 90, 176); /* oklch */ color: oklch(56.4% 0.140 312.2);
Tailwind
colors: {
custom: {
50: '#b38ac8',
500: '#915ab0',
950: '#000000',
},
}SCSS
$custom: #915ab0; $custom-light: #b38ac8; $custom-dark: #000000;
JSON
{
"hex": "#915ab0",
"rgb": {
"r": 145,
"g": 90,
"b": 176
},
"hsl": {
"h": 278.372,
"s": 35.246,
"l": 52.157
},
"oklch": {
"l": 0.56394,
"c": 0.13965,
"h": 312.2
},
"luminance": 0.16467
}Semantic roles & 50–950 ramp
primary
#915AB0
secondary
#AEC6A0
accent
#CB5D84
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82