#A56FEF#A56FEF
#A56FEF is a light, vivid violet. Relative luminance 0.256; OKLCH L 65.5% C 0.187 H 300.8°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #A56FEF |
|---|---|
| RGB | rgb(165, 111, 239) |
| HSL | hsl(265, 80%, 69%) |
| HSV | hsv(265, 54%, 94%) |
| CMYK | cmyk(31%, 53.6%, 0%, 6.3%) |
| CIE-LAB | lab(57.66, 46.87, -56.91) |
| CIE-LCH | lch(57.66, 73.72, 309.48°) |
| OKLab | oklab(65.46% 0.0959 -0.1607) |
| OKLCH | oklch(65.46% 0.187 300.8) |
| XYZ | xyz(36.7778, 25.6000, 84.6483) |
| Luminance | 0.2560 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.55
Mediumpurple
#9370DB
ΔE00 4.14
Easter Purple
#C071FE
ΔE00 4.92
Lighter Purple
#A55AF4
ΔE00 4.92
Light Purple
#BF77F6
ΔE00 5.19
Bright Lavender
#C760FF
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A56FEF #B9EF6F
analogous
#6F79EF #A56FEF #E56FEF
triadic
#A56FEF #EFA56F #6FEFA5
tetradic
#A56FEF #EF6F79 #B9EF6F #6FEFE5
square
#A56FEF #EF6F79 #B9EF6F #6FEFE5
split-complementary
#A56FEF #EFE56F #79EF6F
monochromatic
#6417CD #8338E9 #A56FEF #C7A6F5 #EADDFB
Accessibility & contrast
On white
3.43
#A56FEF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.12
#A56FEF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A56FEF
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A56FEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A56FEF | 1.00 | 3.43 | 6.12 | 6.12 |
| #FFFFFF | 3.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E8AF3
Deuteranopia (green-blind)
#4F8AEC
Tritanopia (blue-blind)
#9688A5
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #a56fef; /* rgb */ color: rgb(165, 111, 239); /* oklch */ color: oklch(65.5% 0.187 300.8);
Tailwind
colors: {
custom: {
50: '#c39af5',
500: '#a56fef',
950: '#000000',
},
}SCSS
$custom: #a56fef; $custom-light: #c39af5; $custom-dark: #000000;
JSON
{
"hex": "#a56fef",
"rgb": {
"r": 165,
"g": 111,
"b": 239
},
"hsl": {
"h": 265.313,
"s": 80,
"l": 68.627
},
"oklch": {
"l": 0.65457,
"c": 0.18713,
"h": 300.8
},
"luminance": 0.256
}Semantic roles & 50–950 ramp
primary
#A56FEF
secondary
#E0F0CA
accent
#DC0983
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85