#A56FC2#A56FC2
#A56FC2 is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.0% C 0.133 H 313.0°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #A56FC2 |
|---|---|
| RGB | rgb(165, 111, 194) |
| HSL | hsl(279, 40%, 60%) |
| HSV | hsv(279, 43%, 76%) |
| CMYK | cmyk(14.9%, 42.8%, 0%, 23.9%) |
| CIE-LAB | lab(55.34, 36.43, -35.20) |
| CIE-LCH | lch(55.34, 50.65, 315.99°) |
| OKLab | oklab(62.98% 0.0909 -0.0975) |
| OKLCH | oklch(62.98% 0.133 313) |
| XYZ | xyz(30.9375, 23.2639, 53.8891) |
| Luminance | 0.2326 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Soft Purple
#A66FB5
ΔE00 2.96
Deep Lilac
#966EBD
ΔE00 3.25
Wisteria
#A87DC2
ΔE00 4.33
Amethyst
#9B5FC0
ΔE00 5.21
Dark Lilac
#9C6DA5
ΔE00 6.09
Mediumpurple
#9370DB
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A56FC2 #8CC26F
analogous
#7B6FC2 #A56FC2 #C26FB6
triadic
#A56FC2 #C2A56F #6FC2A5
tetradic
#A56FC2 #C27B6F #8CC26F #6FB6C2
square
#A56FC2 #C27B6F #8CC26F #6FB6C2
split-complementary
#A56FC2 #B6C26F #6FC27B
monochromatic
#663680 #8949AB #A56FC2 #C09AD4 #DBC5E6
Accessibility & contrast
On white
3.72
#A56FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.65
#A56FC2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A56FC2
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A56FC2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A56FC2 | 1.00 | 3.72 | 5.65 | 5.65 |
| #FFFFFF | 3.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F82C5
Deuteranopia (green-blind)
#6D86C0
Tritanopia (blue-blind)
#A27B8F
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #a56fc2; /* rgb */ color: rgb(165, 111, 194); /* oklch */ color: oklch(63.0% 0.133 313.0);
Tailwind
colors: {
custom: {
50: '#c199d5',
500: '#a56fc2',
950: '#000000',
},
}SCSS
$custom: #a56fc2; $custom-light: #c199d5; $custom-dark: #000000;
JSON
{
"hex": "#a56fc2",
"rgb": {
"r": 165,
"g": 111,
"b": 194
},
"hsl": {
"h": 279.036,
"s": 40.488,
"l": 59.804
},
"oklch": {
"l": 0.62984,
"c": 0.13327,
"h": 313
},
"luminance": 0.23263
}Semantic roles & 50–950 ramp
primary
#A56FC2
secondary
#C2D6B6
accent
#D05782
background
#FCF9FD
surface
#F8F2FA
border
#D1CCD3
text
#120E14
muted
#817E83