#9A57CE#9A57CE
#9A57CE is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.7% C 0.182 H 307.7°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #9A57CE |
|---|---|
| RGB | rgb(154, 87, 206) |
| HSL | hsl(274, 55%, 57%) |
| HSV | hsv(274, 58%, 81%) |
| CMYK | cmyk(25.2%, 57.8%, 0%, 19.2%) |
| CIE-LAB | lab(49.67, 49.13, -51.12) |
| CIE-LCH | lch(49.67, 70.90, 313.86°) |
| OKLab | oklab(58.7% 0.1114 -0.144) |
| OKLCH | oklch(58.7% 0.182 307.7) |
| XYZ | xyz(27.8729, 18.1430, 60.4141) |
| Luminance | 0.1814 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.37
Lightish Purple
#A552E6
ΔE00 3.77
Deep Lavender
#8D5EB7
ΔE00 4.58
Purpley
#8756E4
ΔE00 5.44
Lighter Purple
#A55AF4
ΔE00 5.91
Mediumorchid
#BA55D3
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A57CE #8BCE57
analogous
#5F57CE #9A57CE #CE57C6
triadic
#9A57CE #CE9A57 #57CE9A
tetradic
#9A57CE #CE5F57 #8BCE57 #57C6CE
square
#9A57CE #CE5F57 #8BCE57 #57C6CE
split-complementary
#9A57CE #C6CE57 #57CE5F
monochromatic
#5B2784 #7C34B3 #9A57CE #B686DC #D3B6EA
Accessibility & contrast
On white
4.54
#9A57CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.63
#9A57CE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9A57CE
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A57CE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9A57CE | 1.00 | 4.54 | 4.63 | 4.63 |
| #FFFFFF | 4.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A74D2
Deuteranopia (green-blind)
#4577CB
Tritanopia (blue-blind)
#926E8A
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #9a57ce; /* rgb */ color: rgb(154, 87, 206); /* oklch */ color: oklch(58.7% 0.182 307.7);
Tailwind
colors: {
custom: {
50: '#bb89dd',
500: '#9a57ce',
950: '#000000',
},
}SCSS
$custom: #9a57ce; $custom-light: #bb89dd; $custom-dark: #000000;
JSON
{
"hex": "#9a57ce",
"rgb": {
"r": 154,
"g": 87,
"b": 206
},
"hsl": {
"h": 273.782,
"s": 54.839,
"l": 57.451
},
"oklch": {
"l": 0.58701,
"c": 0.18203,
"h": 307.7
},
"luminance": 0.18143
}Semantic roles & 50–950 ramp
primary
#9A57CE
secondary
#BDD8A8
accent
#DE4A8B
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83