#9151D0#9151D0
#9151D0 is a mid, vivid violet. Relative luminance 0.165; OKLCH L 57.0% C 0.191 H 304.2°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #9151D0 |
|---|---|
| RGB | rgb(145, 81, 208) |
| HSL | hsl(270, 57%, 57%) |
| HSV | hsv(270, 61%, 82%) |
| CMYK | cmyk(30.3%, 61.1%, 0%, 18.4%) |
| CIE-LAB | lab(47.57, 50.57, -55.69) |
| CIE-LCH | lch(47.57, 75.23, 312.24°) |
| OKLab | oklab(56.98% 0.1071 -0.1577) |
| OKLCH | oklch(56.98% 0.191 304.2) |
| XYZ | xyz(26.0021, 16.4588, 61.4693) |
| Luminance | 0.1646 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.03
Lightish Purple
#A552E6
ΔE00 4.70
Deep Lavender
#8D5EB7
ΔE00 5.45
Amethyst
#9B5FC0
ΔE00 5.56
Darkorchid
#9932CC
ΔE00 5.93
Purply
#983FB2
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9151D0 #90D051
analogous
#5251D0 #9151D0 #D051D0
triadic
#9151D0 #D09151 #51D091
tetradic
#9151D0 #D05251 #90D051 #51D0D0
square
#9151D0 #D05251 #90D051 #51D0D0
split-complementary
#9151D0 #D0D051 #51D052
monochromatic
#542383 #7230B3 #9151D0 #AF81DD #CEB1EA
Accessibility & contrast
On white
4.89
#9151D0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#9151D0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9151D0
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9151D0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9151D0 | 1.00 | 4.89 | 4.29 | 4.89 |
| #FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#026FD4
Deuteranopia (green-blind)
#3171CD
Tritanopia (blue-blind)
#856B89
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #9151d0; /* rgb */ color: rgb(145, 81, 208); /* oklch */ color: oklch(57.0% 0.191 304.2);
Tailwind
colors: {
custom: {
50: '#b585df',
500: '#9151d0',
950: '#000000',
},
}SCSS
$custom: #9151d0; $custom-light: #b585df; $custom-dark: #000000;
JSON
{
"hex": "#9151d0",
"rgb": {
"r": 145,
"g": 81,
"b": 208
},
"hsl": {
"h": 270.236,
"s": 57.466,
"l": 56.667
},
"oklch": {
"l": 0.56976,
"c": 0.19061,
"h": 304.2
},
"luminance": 0.16459
}Semantic roles & 50–950 ramp
primary
#9151D0
secondary
#BED8A4
accent
#E14793
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83