#9257CA#9257CA
#9257CA is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.6% C 0.175 H 305.2°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #9257CA |
|---|---|
| RGB | rgb(146, 87, 202) |
| HSL | hsl(271, 52%, 57%) |
| HSV | hsv(271, 57%, 79%) |
| CMYK | cmyk(27.7%, 56.9%, 0%, 20.8%) |
| CIE-LAB | lab(48.50, 46.22, -50.75) |
| CIE-LCH | lch(48.50, 68.64, 312.33°) |
| OKLab | oklab(57.56% 0.1011 -0.1431) |
| OKLCH | oklch(57.56% 0.175 305.2) |
| XYZ | xyz(25.9206, 17.1918, 57.8185) |
| Luminance | 0.1719 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.86
Amethyst
#9B5FC0
ΔE00 3.88
Purpley
#8756E4
ΔE00 4.86
Lightish Purple
#A552E6
ΔE00 4.94
Lighter Purple
#A55AF4
ΔE00 6.91
Purply
#983FB2
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9257CA #8FCA57
analogous
#5957CA #9257CA #CA57C8
triadic
#9257CA #CA9257 #57CA92
tetradic
#9257CA #CA5957 #8FCA57 #57C8CA
square
#9257CA #CA5957 #8FCA57 #57C8CA
split-complementary
#9257CA #C8CA57 #57CA59
monochromatic
#54287F #7337AD #9257CA #B086D9 #CEB4E7
Accessibility & contrast
On white
4.73
#9257CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.44
#9257CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9257CA
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9257CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9257CA | 1.00 | 4.73 | 4.44 | 4.73 |
| #FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A71CE
Deuteranopia (green-blind)
#4173C7
Tritanopia (blue-blind)
#886D88
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #9257ca; /* rgb */ color: rgb(146, 87, 202); /* oklch */ color: oklch(57.6% 0.175 305.2);
Tailwind
colors: {
custom: {
50: '#b589db',
500: '#9257ca',
950: '#000000',
},
}SCSS
$custom: #9257ca; $custom-light: #b589db; $custom-dark: #000000;
JSON
{
"hex": "#9257ca",
"rgb": {
"r": 146,
"g": 87,
"b": 202
},
"hsl": {
"h": 270.783,
"s": 52.036,
"l": 56.667
},
"oklch": {
"l": 0.57563,
"c": 0.17522,
"h": 305.2
},
"luminance": 0.17192
}Semantic roles & 50–950 ramp
primary
#9257CA
secondary
#BED6A7
accent
#DB4C92
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83