#915CA2#915CA2
#915CA2 is a mid, moderate purple. Relative luminance 0.163; OKLCH L 56.0% C 0.120 H 317.6°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #915CA2 |
|---|---|
| RGB | rgb(145, 92, 162) |
| HSL | hsl(285, 28%, 50%) |
| HSV | hsv(285, 43%, 64%) |
| CMYK | cmyk(10.5%, 43.2%, 0%, 36.5%) |
| CIE-LAB | lab(47.34, 34.08, -29.28) |
| CIE-LCH | lch(47.34, 44.93, 319.32°) |
| OKLab | oklab(56% 0.0886 -0.0808) |
| OKLCH | oklch(56% 0.12 317.6) |
| XYZ | xyz(22.0249, 16.2833, 36.1582) |
| Luminance | 0.1628 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 4.88
Purplish
#94568C
ΔE00 5.56
Dark Lavender
#856798
ΔE00 5.58
Purpleish
#98568D
ΔE00 5.82
Amethyst
#9B5FC0
ΔE00 5.84
Dark Lilac
#9C6DA5
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#915CA2 #6DA25C
analogous
#6E5CA2 #915CA2 #A25C90
triadic
#915CA2 #A2915C #5CA291
tetradic
#915CA2 #A26E5C #6DA25C #5C90A2
square
#915CA2 #A26E5C #6DA25C #5C90A2
split-complementary
#915CA2 #90A25C #5CA26E
monochromatic
#4B3054 #6E467B #915CA2 #AB83B8 #C6AACF
Accessibility & contrast
On white
4.93
#915CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#915CA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #915CA2
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##915CA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##915CA2 | 1.00 | 4.93 | 4.26 | 4.93 |
| #FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#516DA5
Deuteranopia (green-blind)
#5F72A0
Tritanopia (blue-blind)
#916577
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #915ca2; /* rgb */ color: rgb(145, 92, 162); /* oklch */ color: oklch(56.0% 0.120 317.6);
Tailwind
colors: {
custom: {
50: '#b28bbe',
500: '#915ca2',
950: '#000000',
},
}SCSS
$custom: #915ca2; $custom-light: #b28bbe; $custom-dark: #000000;
JSON
{
"hex": "#915ca2",
"rgb": {
"r": 145,
"g": 92,
"b": 162
},
"hsl": {
"h": 285.429,
"s": 27.559,
"l": 49.804
},
"oklch": {
"l": 0.55995,
"c": 0.11987,
"h": 317.6
},
"luminance": 0.16283
}Semantic roles & 50–950 ramp
primary
#915CA2
secondary
#A5BD9D
accent
#C4647B
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#110C12
muted
#807D81