#915EF2#915EF2
#915EF2 is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.1% C 0.212 H 295.3°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #915EF2 |
|---|---|
| RGB | rgb(145, 94, 242) |
| HSL | hsl(261, 85%, 66%) |
| HSV | hsv(261, 61%, 95%) |
| CMYK | cmyk(40.1%, 61.2%, 0%, 5.1%) |
| CIE-LAB | lab(52.33, 52.25, -67.26) |
| CIE-LCH | lch(52.33, 85.17, 307.84°) |
| OKLab | oklab(61.14% 0.0905 -0.1917) |
| OKLCH | oklch(61.14% 0.212 295.3) |
| XYZ | xyz(31.7025, 20.4353, 86.2613) |
| Luminance | 0.2044 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 3.51
Purpley
#8756E4
ΔE00 3.59
Mediumslateblue
#7B68EE
ΔE00 4.69
Lightish Purple
#A552E6
ΔE00 4.83
Mediumpurple
#9370DB
ΔE00 5.82
Light Urple
#B36FF6
ΔE00 7.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#915EF2 #BFF25E
analogous
#5E75F2 #915EF2 #DB5EF2
triadic
#915EF2 #F2915E #5EF291
tetradic
#915EF2 #F25E75 #BFF25E #5EF2DB
square
#915EF2 #F25E75 #BFF25E #5EF2DB
split-complementary
#915EF2 #F2DB5E #75F25E
monochromatic
#4F10C6 #6A25ED #915EF2 #B897F7 #DECFFB
Accessibility & contrast
On white
4.13
#915EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.09
#915EF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #915EF2
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##915EF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##915EF2 | 1.00 | 4.13 | 5.09 | 5.09 |
| #FFFFFF | 4.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007EF7
Deuteranopia (green-blind)
#007BEF
Tritanopia (blue-blind)
#787F9F
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #915ef2; /* rgb */ color: rgb(145, 94, 242); /* oklch */ color: oklch(61.1% 0.212 295.3);
Tailwind
colors: {
custom: {
50: '#b78ef7',
500: '#915ef2',
950: '#000000',
},
}SCSS
$custom: #915ef2; $custom-light: #b78ef7; $custom-dark: #000000;
JSON
{
"hex": "#915ef2",
"rgb": {
"r": 145,
"g": 94,
"b": 242
},
"hsl": {
"h": 260.676,
"s": 85.057,
"l": 65.882
},
"oklch": {
"l": 0.61138,
"c": 0.21197,
"h": 295.3
},
"luminance": 0.20436
}Semantic roles & 50–950 ramp
primary
#915EF2
secondary
#DEEEBD
accent
#E20495
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C17
muted
#817D85