#9151D3#9151D3
#9151D3 is a mid, vivid violet. Relative luminance 0.166; OKLCH L 57.2% C 0.194 H 303.5°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #9151D3 |
|---|---|
| RGB | rgb(145, 81, 211) |
| HSL | hsl(270, 60%, 57%) |
| HSV | hsv(270, 62%, 83%) |
| CMYK | cmyk(31.3%, 61.6%, 0%, 17.3%) |
| CIE-LAB | lab(47.76, 51.29, -57.10) |
| CIE-LCH | lch(47.76, 76.76, 311.93°) |
| OKLab | oklab(57.18% 0.107 -0.1618) |
| OKLCH | oklch(57.18% 0.194 303.5) |
| XYZ | xyz(26.3747, 16.6078, 63.4315) |
| Luminance | 0.1661 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.62
Lightish Purple
#A552E6
ΔE00 4.45
Deep Lavender
#8D5EB7
ΔE00 5.80
Amethyst
#9B5FC0
ΔE00 5.82
Darkorchid
#9932CC
ΔE00 6.06
Lighter Purple
#A55AF4
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9151D3 #93D351
analogous
#5152D3 #9151D3 #D251D3
triadic
#9151D3 #D39151 #51D391
tetradic
#9151D3 #D35152 #93D351 #51D3D2
square
#9151D3 #D35152 #93D351 #51D3D2
split-complementary
#9151D3 #D3D251 #52D351
monochromatic
#542287 #722FB8 #9151D3 #B082DF #CFB3EC
Accessibility & contrast
On white
4.86
#9151D3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#9151D3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9151D3
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9151D3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9151D3 | 1.00 | 4.86 | 4.32 | 4.86 |
| #FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070D7
Deuteranopia (green-blind)
#2D71D0
Tritanopia (blue-blind)
#856C8B
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #9151d3; /* rgb */ color: rgb(145, 81, 211); /* oklch */ color: oklch(57.2% 0.194 303.5);
Tailwind
colors: {
custom: {
50: '#b585e1',
500: '#9151d3',
950: '#000000',
},
}SCSS
$custom: #9151d3; $custom-light: #b585e1; $custom-dark: #000000;
JSON
{
"hex": "#9151d3",
"rgb": {
"r": 145,
"g": 81,
"b": 211
},
"hsl": {
"h": 269.538,
"s": 59.633,
"l": 57.255
},
"oklch": {
"l": 0.57176,
"c": 0.19398,
"h": 303.5
},
"luminance": 0.16608
}Semantic roles & 50–950 ramp
primary
#9151D3
secondary
#C0DAA6
accent
#E34595
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83