#9151CF#9151CF
#9151CF is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.9% C 0.189 H 304.4°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #9151CF |
|---|---|
| RGB | rgb(145, 81, 207) |
| HSL | hsl(270, 57%, 56%) |
| HSV | hsv(270, 61%, 81%) |
| CMYK | cmyk(30%, 60.9%, 0%, 18.8%) |
| CIE-LAB | lab(47.51, 50.33, -55.22) |
| CIE-LCH | lch(47.51, 74.72, 312.35°) |
| OKLab | oklab(56.91% 0.1072 -0.1563) |
| OKLCH | oklch(56.91% 0.189 304.4) |
| XYZ | xyz(25.8795, 16.4097, 60.8234) |
| Luminance | 0.1641 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.17
Lightish Purple
#A552E6
ΔE00 4.79
Deep Lavender
#8D5EB7
ΔE00 5.34
Amethyst
#9B5FC0
ΔE00 5.48
Darkorchid
#9932CC
ΔE00 5.89
Purply
#983FB2
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9151CF #8FCF51
analogous
#5251CF #9151CF #CF51CE
triadic
#9151CF #CF9151 #51CF91
tetradic
#9151CF #CF5251 #8FCF51 #51CECF
square
#9151CF #CF5251 #8FCF51 #51CECF
split-complementary
#9151CF #CECF51 #51CF52
monochromatic
#542482 #7231B2 #9151CF #AF81DC #CEB1E9
Accessibility & contrast
On white
4.90
#9151CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.28
#9151CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9151CF
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9151CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9151CF | 1.00 | 4.90 | 4.28 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#066FD3
Deuteranopia (green-blind)
#3371CC
Tritanopia (blue-blind)
#866B88
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #9151cf; /* rgb */ color: rgb(145, 81, 207); /* oklch */ color: oklch(56.9% 0.189 304.4);
Tailwind
colors: {
custom: {
50: '#b585de',
500: '#9151cf',
950: '#000000',
},
}SCSS
$custom: #9151cf; $custom-light: #b585de; $custom-dark: #000000;
JSON
{
"hex": "#9151cf",
"rgb": {
"r": 145,
"g": 81,
"b": 207
},
"hsl": {
"h": 270.476,
"s": 56.757,
"l": 56.471
},
"oklch": {
"l": 0.5691,
"c": 0.18948,
"h": 304.4
},
"luminance": 0.1641
}Semantic roles & 50–950 ramp
primary
#9151CF
secondary
#BDD8A4
accent
#E04893
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83