#A26FDE#A26FDE
#A26FDE is a light, vivid violet. Relative luminance 0.243; OKLCH L 64.2% C 0.166 H 303.3°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #A26FDE |
|---|---|
| RGB | rgb(162, 111, 222) |
| HSL | hsl(268, 63%, 65%) |
| HSV | hsv(268, 50%, 87%) |
| CMYK | cmyk(27%, 50%, 0%, 12.9%) |
| CIE-LAB | lab(56.41, 42.01, -49.40) |
| CIE-LCH | lch(56.41, 64.85, 310.37°) |
| OKLab | oklab(64.16% 0.091 -0.1388) |
| OKLCH | oklch(64.16% 0.166 303.3) |
| XYZ | xyz(33.7666, 24.3242, 72.0092) |
| Luminance | 0.2432 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.07
Light Urple
#B36FF6
ΔE00 4.20
Lighter Purple
#A55AF4
ΔE00 5.78
Deep Lilac
#966EBD
ΔE00 5.84
Light Purple
#BF77F6
ΔE00 6.09
Easter Purple
#C071FE
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A26FDE #ABDE6F
analogous
#6F73DE #A26FDE #DA6FDE
triadic
#A26FDE #DEA26F #6FDEA2
tetradic
#A26FDE #DE6F73 #ABDE6F #6FDEDA
square
#A26FDE #DE6F73 #ABDE6F #6FDEDA
split-complementary
#A26FDE #DEDA6F #73DE6F
monochromatic
#6427AB #823DD3 #A26FDE #C2A1E9 #E2D3F5
Accessibility & contrast
On white
3.58
#A26FDE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.86
#A26FDE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A26FDE
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A26FDE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A26FDE | 1.00 | 3.58 | 5.86 | 5.86 |
| #FFFFFF | 3.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C86E2
Deuteranopia (green-blind)
#5A87DB
Tritanopia (blue-blind)
#97839C
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #a26fde; /* rgb */ color: rgb(162, 111, 222); /* oklch */ color: oklch(64.2% 0.166 303.3);
Tailwind
colors: {
custom: {
50: '#c099e9',
500: '#a26fde',
950: '#000000',
},
}SCSS
$custom: #a26fde; $custom-light: #c099e9; $custom-dark: #000000;
JSON
{
"hex": "#a26fde",
"rgb": {
"r": 162,
"g": 111,
"b": 222
},
"hsl": {
"h": 267.568,
"s": 62.712,
"l": 65.294
},
"oklch": {
"l": 0.64162,
"c": 0.166,
"h": 303.3
},
"luminance": 0.24324
}Semantic roles & 50–950 ramp
primary
#A26FDE
secondary
#D6E7C2
accent
#CA1B7A
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#120E16
muted
#817E84