#9152CF#9152CF
#9152CF is a mid, vivid violet. Relative luminance 0.166; OKLCH L 57.0% C 0.188 H 304.3°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #9152CF |
|---|---|
| RGB | rgb(145, 82, 207) |
| HSL | hsl(270, 57%, 57%) |
| HSV | hsv(270, 60%, 81%) |
| CMYK | cmyk(30%, 60.4%, 0%, 18.8%) |
| CIE-LAB | lab(47.70, 49.82, -54.91) |
| CIE-LCH | lch(47.70, 74.14, 312.21°) |
| OKLab | oklab(57.05% 0.106 -0.1554) |
| OKLCH | oklch(57.05% 0.188 304.3) |
| XYZ | xyz(25.9543, 16.5594, 60.8483) |
| Luminance | 0.1656 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.10
Lightish Purple
#A552E6
ΔE00 4.71
Deep Lavender
#8D5EB7
ΔE00 5.20
Amethyst
#9B5FC0
ΔE00 5.31
Darkorchid
#9932CC
ΔE00 6.13
Purply
#983FB2
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9152CF #90CF52
analogous
#5352CF #9152CF #CF52CF
triadic
#9152CF #CF9152 #52CF91
tetradic
#9152CF #CF5352 #90CF52 #52CFCF
square
#9152CF #CF5352 #90CF52 #52CFCF
split-complementary
#9152CF #CFCF52 #52CF53
monochromatic
#542482 #7231B2 #9152CF #AF82DC #CEB2EA
Accessibility & contrast
On white
4.87
#9152CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#9152CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9152CF
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9152CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9152CF | 1.00 | 4.87 | 4.31 | 4.87 |
| #FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D70D3
Deuteranopia (green-blind)
#3471CC
Tritanopia (blue-blind)
#866B89
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #9152cf; /* rgb */ color: rgb(145, 82, 207); /* oklch */ color: oklch(57.0% 0.188 304.3);
Tailwind
colors: {
custom: {
50: '#b586de',
500: '#9152cf',
950: '#000000',
},
}SCSS
$custom: #9152cf; $custom-light: #b586de; $custom-dark: #000000;
JSON
{
"hex": "#9152cf",
"rgb": {
"r": 145,
"g": 82,
"b": 207
},
"hsl": {
"h": 270.24,
"s": 56.561,
"l": 56.667
},
"oklch": {
"l": 0.5705,
"c": 0.18805,
"h": 304.3
},
"luminance": 0.16559
}Semantic roles & 50–950 ramp
primary
#9152CF
secondary
#BED8A5
accent
#E04893
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83