#A56FF2#A56FF2
#A56FF2 is a light, vivid violet. Relative luminance 0.258; OKLCH L 65.6% C 0.191 H 300.2°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #A56FF2 |
|---|---|
| RGB | rgb(165, 111, 242) |
| HSL | hsl(265, 83%, 69%) |
| HSV | hsv(265, 54%, 95%) |
| CMYK | cmyk(31.8%, 54.1%, 0%, 5.1%) |
| CIE-LAB | lab(57.83, 47.60, -58.30) |
| CIE-LCH | lch(57.83, 75.27, 309.23°) |
| OKLab | oklab(65.64% 0.096 -0.1648) |
| OKLCH | oklch(65.64% 0.191 300.2) |
| XYZ | xyz(37.2247, 25.7788, 87.0018) |
| Luminance | 0.2578 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.53
Mediumpurple
#9370DB
ΔE00 4.38
Easter Purple
#C071FE
ΔE00 4.85
Lighter Purple
#A55AF4
ΔE00 4.90
Light Purple
#BF77F6
ΔE00 5.23
Bright Lavender
#C760FF
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A56FF2 #BCF26F
analogous
#6F7BF2 #A56FF2 #E76FF2
triadic
#A56FF2 #F2A56F #6FF2A5
tetradic
#A56FF2 #F26F7B #BCF26F #6FF2E7
square
#A56FF2 #F26F7B #BCF26F #6FF2E7
split-complementary
#A56FF2 #F2E76F #7BF26F
monochromatic
#6213D4 #8237ED #A56FF2 #C8A7F7 #EBDFFC
Accessibility & contrast
On white
3.41
#A56FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.16
#A56FF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A56FF2
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A56FF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A56FF2 | 1.00 | 3.41 | 6.16 | 6.16 |
| #FFFFFF | 3.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A8BF6
Deuteranopia (green-blind)
#4C8AEF
Tritanopia (blue-blind)
#9589A6
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #a56ff2; /* rgb */ color: rgb(165, 111, 242); /* oklch */ color: oklch(65.6% 0.191 300.2);
Tailwind
colors: {
custom: {
50: '#c39af7',
500: '#a56ff2',
950: '#000000',
},
}SCSS
$custom: #a56ff2; $custom-light: #c39af7; $custom-dark: #000000;
JSON
{
"hex": "#a56ff2",
"rgb": {
"r": 165,
"g": 111,
"b": 242
},
"hsl": {
"h": 264.733,
"s": 83.439,
"l": 69.216
},
"oklch": {
"l": 0.65639,
"c": 0.19071,
"h": 300.2
},
"luminance": 0.25779
}Semantic roles & 50–950 ramp
primary
#A56FF2
secondary
#E2F1CB
accent
#E00686
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85