#A257CE#A257CE
#A257CE is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.6% C 0.185 H 311.1°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #A257CE |
|---|---|
| RGB | rgb(162, 87, 206) |
| HSL | hsl(278, 55%, 57%) |
| HSV | hsv(278, 58%, 81%) |
| CMYK | cmyk(21.4%, 57.8%, 0%, 19.2%) |
| CIE-LAB | lab(50.63, 51.11, -49.53) |
| CIE-LCH | lch(50.63, 71.17, 315.90°) |
| OKLab | oklab(59.62% 0.1214 -0.1391) |
| OKLCH | oklch(59.62% 0.185 311.1) |
| XYZ | xyz(29.4470, 18.9546, 60.4879) |
| Luminance | 0.1895 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.09
Lightish Purple
#A552E6
ΔE00 3.68
Mediumorchid
#BA55D3
ΔE00 4.55
Deep Lavender
#8D5EB7
ΔE00 5.28
Lighter Purple
#A55AF4
ΔE00 5.84
Purpley
#8756E4
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A257CE #83CE57
analogous
#6657CE #A257CE #CE57BF
triadic
#A257CE #CEA257 #57CEA2
tetradic
#A257CE #CE6657 #83CE57 #57BFCE
square
#A257CE #CE6657 #83CE57 #57BFCE
split-complementary
#A257CE #BFCE57 #57CE66
monochromatic
#612784 #8434B3 #A257CE #BC86DC #D6B6EA
Accessibility & contrast
On white
4.38
#A257CE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.79
#A257CE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A257CE
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A257CE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A257CE | 1.00 | 4.38 | 4.79 | 4.79 |
| #FFFFFF | 4.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F75D2
Deuteranopia (green-blind)
#4D7ACB
Tritanopia (blue-blind)
#9D6D8A
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #a257ce; /* rgb */ color: rgb(162, 87, 206); /* oklch */ color: oklch(59.6% 0.185 311.1);
Tailwind
colors: {
custom: {
50: '#c08add',
500: '#a257ce',
950: '#000000',
},
}SCSS
$custom: #a257ce; $custom-light: #c08add; $custom-dark: #000000;
JSON
{
"hex": "#a257ce",
"rgb": {
"r": 162,
"g": 87,
"b": 206
},
"hsl": {
"h": 277.815,
"s": 54.839,
"l": 57.451
},
"oklch": {
"l": 0.59618,
"c": 0.18464,
"h": 311.1
},
"luminance": 0.18954
}Semantic roles & 50–950 ramp
primary
#A257CE
secondary
#BAD8A8
accent
#DE4A81
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83