#9252BF#9252BF
#9252BF is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.1% C 0.170 H 309.0°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #9252BF |
|---|---|
| RGB | rgb(146, 82, 191) |
| HSL | hsl(275, 46%, 54%) |
| HSV | hsv(275, 57%, 75%) |
| CMYK | cmyk(23.6%, 57.1%, 0%, 25.1%) |
| CIE-LAB | lab(46.85, 46.31, -47.03) |
| CIE-LCH | lch(46.85, 66.00, 314.56°) |
| OKLab | oklab(56.15% 0.1072 -0.1322) |
| OKLCH | oklch(56.15% 0.17 309) |
| XYZ | xyz(24.2735, 15.9076, 51.0719) |
| Luminance | 0.1591 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.66
Amethyst
#9B5FC0
ΔE00 4.23
Purply
#983FB2
ΔE00 4.94
Royal Purple
#7851A9
ΔE00 5.85
Darkorchid
#9932CC
ΔE00 6.20
Lightish Purple
#A552E6
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9252BF #7FBF52
analogous
#5B52BF #9252BF #BF52B6
triadic
#9252BF #BF9252 #52BF92
tetradic
#9252BF #BF5B52 #7FBF52 #52B6BF
square
#9252BF #BF5B52 #7FBF52 #52B6BF
split-complementary
#9252BF #B6BF52 #52BF5B
monochromatic
#51296E #72399B #9252BF #AE7FD0 #CAABE0
Accessibility & contrast
On white
5.02
#9252BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#9252BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9252BF
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9252BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9252BF | 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)
#2D6CC3
Deuteranopia (green-blind)
#4570BC
Tritanopia (blue-blind)
#8C6681
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #9252bf; /* rgb */ color: rgb(146, 82, 191); /* oklch */ color: oklch(56.1% 0.170 309.0);
Tailwind
colors: {
custom: {
50: '#b585d3',
500: '#9252bf',
950: '#000000',
},
}SCSS
$custom: #9252bf; $custom-light: #b585d3; $custom-dark: #000000;
JSON
{
"hex": "#9252bf",
"rgb": {
"r": 146,
"g": 82,
"b": 191
},
"hsl": {
"h": 275.229,
"s": 45.992,
"l": 53.529
},
"oklch": {
"l": 0.56147,
"c": 0.17024,
"h": 309
},
"luminance": 0.15907
}Semantic roles & 50–950 ramp
primary
#9252BF
secondary
#B2CE9F
accent
#D65288
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83