#915DE3#915DE3
#915DE3 is a mid, vivid violet. Relative luminance 0.194; OKLCH L 60.0% C 0.196 H 298.2°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #915DE3 |
|---|---|
| RGB | rgb(145, 93, 227) |
| HSL | hsl(263, 71%, 63%) |
| HSV | hsv(263, 59%, 89%) |
| CMYK | cmyk(36.1%, 59%, 0%, 11%) |
| CIE-LAB | lab(51.15, 48.93, -60.74) |
| CIE-LCH | lch(51.15, 78.00, 308.85°) |
| OKLab | oklab(59.97% 0.0923 -0.1725) |
| OKLCH | oklch(59.97% 0.196 298.2) |
| XYZ | xyz(29.4531, 19.3941, 74.8499) |
| Luminance | 0.1939 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.73
Lighter Purple
#A55AF4
ΔE00 3.98
Lightish Purple
#A552E6
ΔE00 4.04
Mediumpurple
#9370DB
ΔE00 5.41
Mediumslateblue
#7B68EE
ΔE00 5.52
Amethyst
#9B5FC0
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#915DE3 #AFE35D
analogous
#5D6CE3 #915DE3 #D45DE3
triadic
#915DE3 #E3915D #5DE391
tetradic
#915DE3 #E35D6C #AFE35D #5DE3D4
square
#915DE3 #E35D6C #AFE35D #5DE3D4
split-complementary
#915DE3 #E3D45D #6CE35D
monochromatic
#531DA8 #6E29DA #915DE3 #B491EC #D8C5F5
Accessibility & contrast
On white
4.30
#915DE3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.88
#915DE3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #915DE3
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##915DE3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##915DE3 | 1.00 | 4.30 | 4.88 | 4.88 |
| #FFFFFF | 4.30 | 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)
#037AE7
Deuteranopia (green-blind)
#2A78E0
Tritanopia (blue-blind)
#7E7A97
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #915de3; /* rgb */ color: rgb(145, 93, 227); /* oklch */ color: oklch(60.0% 0.196 298.2);
Tailwind
colors: {
custom: {
50: '#b68ded',
500: '#915de3',
950: '#000000',
},
}SCSS
$custom: #915de3; $custom-light: #b68ded; $custom-dark: #000000;
JSON
{
"hex": "#915de3",
"rgb": {
"r": 145,
"g": 93,
"b": 227
},
"hsl": {
"h": 263.284,
"s": 70.526,
"l": 62.745
},
"oklch": {
"l": 0.59966,
"c": 0.19567,
"h": 298.2
},
"luminance": 0.19394
}Semantic roles & 50–950 ramp
primary
#915DE3
secondary
#D3E6B6
accent
#D31388
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84