#9452BB#9452BB
#9452BB is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.1% C 0.166 H 311.2°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #9452BB |
|---|---|
| RGB | rgb(148, 82, 187) |
| HSL | hsl(278, 44%, 53%) |
| HSV | hsv(278, 56%, 73%) |
| CMYK | cmyk(20.9%, 56.1%, 0%, 26.7%) |
| CIE-LAB | lab(46.87, 45.91, -44.66) |
| CIE-LCH | lch(46.87, 64.06, 315.79°) |
| OKLab | oklab(56.14% 0.1096 -0.1253) |
| OKLCH | oklch(56.14% 0.166 311.2) |
| XYZ | xyz(24.1980, 15.9189, 48.8020) |
| Luminance | 0.1592 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.55
Amethyst
#9B5FC0
ΔE00 3.99
Purply
#983FB2
ΔE00 4.54
Royal Purple
#7851A9
ΔE00 5.99
Medium Purple
#9E43A2
ΔE00 6.35
Darkorchid
#9932CC
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9452BB #79BB52
analogous
#5F52BB #9452BB #BB52AD
triadic
#9452BB #BB9452 #52BB94
tetradic
#9452BB #BB5F52 #79BB52 #52ADBB
square
#9452BB #BB5F52 #79BB52 #52ADBB
split-complementary
#9452BB #ADBB52 #52BB5F
monochromatic
#522969 #743B95 #9452BB #AF7ECC #CAAADE
Accessibility & contrast
On white
5.02
#9452BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#9452BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9452BB
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9452BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9452BB | 1.00 | 5.02 | 4.18 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#326CBE
Deuteranopia (green-blind)
#4A70B8
Tritanopia (blue-blind)
#8F647F
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #9452bb; /* rgb */ color: rgb(148, 82, 187); /* oklch */ color: oklch(56.1% 0.166 311.2);
Tailwind
colors: {
custom: {
50: '#b685d0',
500: '#9452bb',
950: '#000000',
},
}SCSS
$custom: #9452bb; $custom-light: #b685d0; $custom-dark: #000000;
JSON
{
"hex": "#9452bb",
"rgb": {
"r": 148,
"g": 82,
"b": 187
},
"hsl": {
"h": 277.714,
"s": 43.568,
"l": 52.745
},
"oklch": {
"l": 0.56138,
"c": 0.16645,
"h": 311.2
},
"luminance": 0.15918
}Semantic roles & 50–950 ramp
primary
#9452BB
secondary
#AFCB9E
accent
#D35484
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82