#9152BF#9152BF
#9152BF is a mid, vivid violet. Relative luminance 0.158; OKLCH L 56.0% C 0.170 H 308.6°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #9152BF |
|---|---|
| RGB | rgb(145, 82, 191) |
| HSL | hsl(275, 46%, 54%) |
| HSV | hsv(275, 57%, 75%) |
| CMYK | cmyk(24.1%, 57.1%, 0%, 25.1%) |
| CIE-LAB | lab(46.73, 46.05, -47.23) |
| CIE-LCH | lch(46.73, 65.96, 314.28°) |
| OKLab | oklab(56.03% 0.106 -0.1328) |
| OKLCH | oklch(56.03% 0.17 308.6) |
| XYZ | xyz(24.0965, 15.8163, 51.0636) |
| Luminance | 0.1582 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.65
Amethyst
#9B5FC0
ΔE00 4.36
Purply
#983FB2
ΔE00 4.99
Royal Purple
#7851A9
ΔE00 5.69
Darkorchid
#9932CC
ΔE00 6.19
Lightish Purple
#A552E6
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9152BF #80BF52
analogous
#5A52BF #9152BF #BF52B6
triadic
#9152BF #BF9152 #52BF91
tetradic
#9152BF #BF5A52 #80BF52 #52B6BF
square
#9152BF #BF5A52 #80BF52 #52B6BF
split-complementary
#9152BF #B6BF52 #52BF5A
monochromatic
#51296E #71399B #9152BF #AD7FD0 #CAABE0
Accessibility & contrast
On white
5.04
#9152BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#9152BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9152BF
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9152BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9152BF | 1.00 | 5.04 | 4.16 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C6CC3
Deuteranopia (green-blind)
#4470BC
Tritanopia (blue-blind)
#8A6681
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #9152bf; /* rgb */ color: rgb(145, 82, 191); /* oklch */ color: oklch(56.0% 0.170 308.6);
Tailwind
colors: {
custom: {
50: '#b485d3',
500: '#9152bf',
950: '#000000',
},
}SCSS
$custom: #9152bf; $custom-light: #b485d3; $custom-dark: #000000;
JSON
{
"hex": "#9152bf",
"rgb": {
"r": 145,
"g": 82,
"b": 191
},
"hsl": {
"h": 274.679,
"s": 45.992,
"l": 53.529
},
"oklch": {
"l": 0.56033,
"c": 0.16992,
"h": 308.6
},
"luminance": 0.15816
}Semantic roles & 50–950 ramp
primary
#9152BF
secondary
#B3CE9F
accent
#D6528A
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83