#9151E6#9151E6
#9151E6 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.5% C 0.215 H 299.4°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #9151E6 |
|---|---|
| RGB | rgb(145, 81, 230) |
| HSL | hsl(266, 75%, 61%) |
| HSV | hsv(266, 65%, 90%) |
| CMYK | cmyk(37%, 64.8%, 0%, 9.8%) |
| CIE-LAB | lab(49.03, 55.92, -65.86) |
| CIE-LCH | lch(49.03, 86.39, 310.34°) |
| OKLab | oklab(58.49% 0.1056 -0.1875) |
| OKLCH | oklch(58.49% 0.215 299.4) |
| XYZ | xyz(28.8989, 17.6175, 76.7255) |
| Luminance | 0.1762 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 1.97
Lightish Purple
#A552E6
ΔE00 3.78
Lighter Purple
#A55AF4
ΔE00 4.95
Electric Purple
#AA23FF
ΔE00 6.36
Light Indigo
#6D5ACF
ΔE00 7.27
Mediumslateblue
#7B68EE
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9151E6 #A6E651
analogous
#515BE6 #9151E6 #DB51E6
triadic
#9151E6 #E69151 #51E691
tetradic
#9151E6 #E6515B #A6E651 #51E6DB
square
#9151E6 #E6515B #A6E651 #51E6DB
split-complementary
#9151E6 #E6DB51 #5BE651
monochromatic
#5418A5 #701FDA #9151E6 #B387EE #D5BCF5
Accessibility & contrast
On white
4.64
#9151E6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.52
#9151E6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #9151E6
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9151E6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9151E6 | 1.00 | 4.64 | 4.52 | 4.64 |
| #FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074EB
Deuteranopia (green-blind)
#0073E3
Tritanopia (blue-blind)
#7E7395
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #9151e6; /* rgb */ color: rgb(145, 81, 230); /* oklch */ color: oklch(58.5% 0.215 299.4);
Tailwind
colors: {
custom: {
50: '#b786ef',
500: '#9151e6',
950: '#000000',
},
}SCSS
$custom: #9151e6; $custom-light: #b786ef; $custom-dark: #000000;
JSON
{
"hex": "#9151e6",
"rgb": {
"r": 145,
"g": 81,
"b": 230
},
"hsl": {
"h": 265.772,
"s": 74.874,
"l": 60.98
},
"oklch": {
"l": 0.58494,
"c": 0.2152,
"h": 299.4
},
"luminance": 0.17618
}Semantic roles & 50–950 ramp
primary
#9151E6
secondary
#CDE5AD
accent
#D70E81
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120B17
muted
#817C85