#A256CE#A256CE
#A256CE is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.5% C 0.186 H 311.2°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #A256CE |
|---|---|
| RGB | rgb(162, 86, 206) |
| HSL | hsl(278, 55%, 57%) |
| HSV | hsv(278, 58%, 81%) |
| CMYK | cmyk(21.4%, 58.3%, 0%, 19.2%) |
| CIE-LAB | lab(50.45, 51.62, -49.83) |
| CIE-LCH | lch(50.45, 71.74, 316.01°) |
| OKLab | oklab(59.48% 0.1227 -0.14) |
| OKLCH | oklch(59.48% 0.186 311.2) |
| XYZ | xyz(29.3666, 18.7938, 60.4611) |
| Luminance | 0.1879 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.23
Lightish Purple
#A552E6
ΔE00 3.64
Mediumorchid
#BA55D3
ΔE00 4.61
Deep Lavender
#8D5EB7
ΔE00 5.34
Lighter Purple
#A55AF4
ΔE00 5.90
Purpley
#8756E4
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A256CE #82CE56
analogous
#6656CE #A256CE #CE56BE
triadic
#A256CE #CEA256 #56CEA2
tetradic
#A256CE #CE6656 #82CE56 #56BECE
square
#A256CE #CE6656 #82CE56 #56BECE
split-complementary
#A256CE #BECE56 #56CE66
monochromatic
#612683 #8434B3 #A256CE #BC85DC #D6B5EA
Accessibility & contrast
On white
4.41
#A256CE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.76
#A256CE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A256CE
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A256CE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A256CE | 1.00 | 4.41 | 4.76 | 4.76 |
| #FFFFFF | 4.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D74D2
Deuteranopia (green-blind)
#4C7ACB
Tritanopia (blue-blind)
#9D6C8A
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #a256ce; /* rgb */ color: rgb(162, 86, 206); /* oklch */ color: oklch(59.5% 0.186 311.2);
Tailwind
colors: {
custom: {
50: '#c189dd',
500: '#a256ce',
950: '#000000',
},
}SCSS
$custom: #a256ce; $custom-light: #c189dd; $custom-dark: #000000;
JSON
{
"hex": "#a256ce",
"rgb": {
"r": 162,
"g": 86,
"b": 206
},
"hsl": {
"h": 278,
"s": 55.046,
"l": 57.255
},
"oklch": {
"l": 0.5948,
"c": 0.18614,
"h": 311.2
},
"luminance": 0.18793
}Semantic roles & 50–950 ramp
primary
#A256CE
secondary
#B9D8A8
accent
#DE4980
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83