#915FF2#915FF2
#915FF2 is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.3% C 0.211 H 295.1°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #915FF2 |
|---|---|
| RGB | rgb(145, 95, 242) |
| HSL | hsl(260, 85%, 66%) |
| HSV | hsv(260, 61%, 95%) |
| CMYK | cmyk(40.1%, 60.7%, 0%, 5.1%) |
| CIE-LAB | lab(52.52, 51.71, -66.94) |
| CIE-LCH | lch(52.52, 84.59, 307.69°) |
| OKLab | oklab(61.28% 0.0894 -0.1907) |
| OKLCH | oklch(61.28% 0.211 295.1) |
| XYZ | xyz(31.7920, 20.6143, 86.2911) |
| Luminance | 0.2061 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 3.55
Purpley
#8756E4
ΔE00 3.78
Mediumslateblue
#7B68EE
ΔE00 4.57
Lightish Purple
#A552E6
ΔE00 4.97
Mediumpurple
#9370DB
ΔE00 5.63
Light Urple
#B36FF6
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#915FF2 #C0F25F
analogous
#5F76F2 #915FF2 #DA5FF2
triadic
#915FF2 #F2915F #5FF291
tetradic
#915FF2 #F25F76 #C0F25F #5FF2DA
square
#915FF2 #F25F76 #C0F25F #5FF2DA
split-complementary
#915FF2 #F2DA5F #76F25F
monochromatic
#4E10C6 #6A26ED #915FF2 #B898F7 #DFD0FB
Accessibility & contrast
On white
4.10
#915FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.12
#915FF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #915FF2
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##915FF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##915FF2 | 1.00 | 4.10 | 5.12 | 5.12 |
| #FFFFFF | 4.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007FF7
Deuteranopia (green-blind)
#007BEF
Tritanopia (blue-blind)
#7880A0
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #915ff2; /* rgb */ color: rgb(145, 95, 242); /* oklch */ color: oklch(61.3% 0.211 295.1);
Tailwind
colors: {
custom: {
50: '#b78ff7',
500: '#915ff2',
950: '#000000',
},
}SCSS
$custom: #915ff2; $custom-light: #b78ff7; $custom-dark: #000000;
JSON
{
"hex": "#915ff2",
"rgb": {
"r": 145,
"g": 95,
"b": 242
},
"hsl": {
"h": 260.408,
"s": 84.971,
"l": 66.078
},
"oklch": {
"l": 0.61283,
"c": 0.21064,
"h": 295.1
},
"luminance": 0.20615
}Semantic roles & 50–950 ramp
primary
#915FF2
secondary
#DEEFBE
accent
#E10496
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C17
muted
#817D85