#9257C8#9257C8
#9257C8 is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.4% C 0.173 H 305.8°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #9257C8 |
|---|---|
| RGB | rgb(146, 87, 200) |
| HSL | hsl(271, 51%, 56%) |
| HSV | hsv(271, 57%, 78%) |
| CMYK | cmyk(27%, 56.5%, 0%, 21.6%) |
| CIE-LAB | lab(48.38, 45.75, -49.79) |
| CIE-LCH | lch(48.38, 67.61, 312.58°) |
| OKLab | oklab(57.44% 0.101 -0.1403) |
| OKLCH | oklch(57.44% 0.173 305.8) |
| XYZ | xyz(25.6854, 17.0977, 56.5794) |
| Luminance | 0.1710 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.59
Amethyst
#9B5FC0
ΔE00 3.69
Purpley
#8756E4
ΔE00 5.17
Lightish Purple
#A552E6
ΔE00 5.18
Purply
#983FB2
ΔE00 6.86
Royal Purple
#7851A9
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9257C8 #8DC857
analogous
#5A57C8 #9257C8 #C857C6
triadic
#9257C8 #C89257 #57C892
tetradic
#9257C8 #C85A57 #8DC857 #57C6C8
square
#9257C8 #C85A57 #8DC857 #57C6C8
split-complementary
#9257C8 #C6C857 #57C85A
monochromatic
#54297C #7338AA #9257C8 #B085D7 #CEB3E6
Accessibility & contrast
On white
4.75
#9257C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#9257C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9257C8
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9257C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9257C8 | 1.00 | 4.75 | 4.42 | 4.75 |
| #FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D71CC
Deuteranopia (green-blind)
#4373C5
Tritanopia (blue-blind)
#896C87
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #9257c8; /* rgb */ color: rgb(146, 87, 200); /* oklch */ color: oklch(57.4% 0.173 305.8);
Tailwind
colors: {
custom: {
50: '#b589d9',
500: '#9257c8',
950: '#000000',
},
}SCSS
$custom: #9257c8; $custom-light: #b589d9; $custom-dark: #000000;
JSON
{
"hex": "#9257c8",
"rgb": {
"r": 146,
"g": 87,
"b": 200
},
"hsl": {
"h": 271.327,
"s": 50.673,
"l": 56.275
},
"oklch": {
"l": 0.57438,
"c": 0.1729,
"h": 305.8
},
"luminance": 0.17098
}Semantic roles & 50–950 ramp
primary
#9257C8
secondary
#BCD5A6
accent
#DA4E91
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C15
muted
#807D83