#9252E2#9252E2
#9252E2 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.5% C 0.210 H 300.4°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #9252E2 |
|---|---|
| RGB | rgb(146, 82, 226) |
| HSL | hsl(267, 71%, 60%) |
| HSV | hsv(267, 64%, 89%) |
| CMYK | cmyk(35.4%, 63.7%, 0%, 11.4%) |
| CIE-LAB | lab(49.05, 54.64, -63.55) |
| CIE-LCH | lch(49.05, 83.81, 310.69°) |
| OKLab | oklab(58.45% 0.1062 -0.1807) |
| OKLCH | oklch(58.45% 0.21 300.4) |
| XYZ | xyz(28.5955, 17.6364, 73.8344) |
| Luminance | 0.1764 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.17
Lightish Purple
#A552E6
ΔE00 3.53
Lighter Purple
#A55AF4
ΔE00 4.93
Electric Purple
#AA23FF
ΔE00 6.62
Amethyst
#9B5FC0
ΔE00 7.09
Light Indigo
#6D5ACF
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9252E2 #A2E252
analogous
#525AE2 #9252E2 #DA52E2
triadic
#9252E2 #E29252 #52E292
tetradic
#9252E2 #E2525A #A2E252 #52E2DA
square
#9252E2 #E2525A #A2E252 #52E2DA
split-complementary
#9252E2 #E2DA52 #5AE252
monochromatic
#551B9F #7223D3 #9252E2 #B386EB #D4BBF4
Accessibility & contrast
On white
4.64
#9252E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.53
#9252E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #9252E2
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9252E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9252E2 | 1.00 | 4.64 | 4.53 | 4.64 |
| #FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E6
Deuteranopia (green-blind)
#0F74DF
Tritanopia (blue-blind)
#817293
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #9252e2; /* rgb */ color: rgb(146, 82, 226); /* oklch */ color: oklch(58.5% 0.210 300.4);
Tailwind
colors: {
custom: {
50: '#b786ec',
500: '#9252e2',
950: '#000000',
},
}SCSS
$custom: #9252e2; $custom-light: #b786ec; $custom-dark: #000000;
JSON
{
"hex": "#9252e2",
"rgb": {
"r": 146,
"g": 82,
"b": 226
},
"hsl": {
"h": 266.667,
"s": 71.287,
"l": 60.392
},
"oklch": {
"l": 0.5845,
"c": 0.20961,
"h": 300.4
},
"luminance": 0.17637
}Semantic roles & 50–950 ramp
primary
#9252E2
secondary
#CBE3AC
accent
#D3127D
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120B16
muted
#817C84