#915AEC#915AEC
#915AEC is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.1% C 0.210 H 297.0°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #915AEC |
|---|---|
| RGB | rgb(145, 90, 236) |
| HSL | hsl(263, 79%, 64%) |
| HSV | hsv(263, 62%, 93%) |
| CMYK | cmyk(38.6%, 61.9%, 0%, 7.5%) |
| CIE-LAB | lab(51.14, 52.81, -65.82) |
| CIE-LCH | lch(51.14, 84.39, 308.74°) |
| OKLab | oklab(60.15% 0.0953 -0.1874) |
| OKLCH | oklch(60.15% 0.21 297) |
| XYZ | xyz(30.4697, 19.3877, 81.4775) |
| Luminance | 0.1939 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.47
Lighter Purple
#A55AF4
ΔE00 3.65
Lightish Purple
#A552E6
ΔE00 4.04
Mediumslateblue
#7B68EE
ΔE00 5.45
Mediumpurple
#9370DB
ΔE00 6.36
Light Indigo
#6D5ACF
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#915AEC #B5EC5A
analogous
#5A6CEC #915AEC #DA5AEC
triadic
#915AEC #EC915A #5AEC91
tetradic
#915AEC #EC5A6C #B5EC5A #5AECDA
square
#915AEC #EC5A6C #B5EC5A #5AECDA
split-complementary
#915AEC #ECDA5A #6CEC5A
monochromatic
#5215B7 #6C23E6 #915AEC #B691F2 #DAC8F9
Accessibility & contrast
On white
4.31
#915AEC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.88
#915AEC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #915AEC
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##915AEC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##915AEC | 1.00 | 4.31 | 4.88 | 4.88 |
| #FFFFFF | 4.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AF1
Deuteranopia (green-blind)
#0378E9
Tritanopia (blue-blind)
#7B7B9B
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #915aec; /* rgb */ color: rgb(145, 90, 236); /* oklch */ color: oklch(60.1% 0.210 297.0);
Tailwind
colors: {
custom: {
50: '#b78bf3',
500: '#915aec',
950: '#000000',
},
}SCSS
$custom: #915aec; $custom-light: #b78bf3; $custom-dark: #000000;
JSON
{
"hex": "#915aec",
"rgb": {
"r": 145,
"g": 90,
"b": 236
},
"hsl": {
"h": 262.603,
"s": 79.348,
"l": 63.922
},
"oklch": {
"l": 0.60148,
"c": 0.21028,
"h": 297
},
"luminance": 0.19388
}Semantic roles & 50–950 ramp
primary
#915AEC
secondary
#D7EBB7
accent
#DC0A8D
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85