#A26FD4#A26FD4
#A26FD4 is a light, vivid violet. Relative luminance 0.238; OKLCH L 63.6% C 0.154 H 305.8°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #A26FD4 |
|---|---|
| RGB | rgb(162, 111, 212) |
| HSL | hsl(270, 54%, 63%) |
| HSV | hsv(270, 48%, 83%) |
| CMYK | cmyk(23.6%, 47.6%, 0%, 16.9%) |
| CIE-LAB | lab(55.89, 39.64, -44.59) |
| CIE-LCH | lch(55.89, 59.66, 311.64°) |
| OKLab | oklab(63.61% 0.09 -0.1248) |
| OKLCH | oklch(63.61% 0.154 305.8) |
| XYZ | xyz(32.4659, 23.8040, 65.1589) |
| Luminance | 0.2380 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.79
Deep Lilac
#966EBD
ΔE00 4.33
Light Urple
#B36FF6
ΔE00 5.49
Amethyst
#9B5FC0
ΔE00 5.57
Wisteria
#A87DC2
ΔE00 6.46
Soft Purple
#A66FB5
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A26FD4 #A1D46F
analogous
#6F6FD4 #A26FD4 #D46FD3
triadic
#A26FD4 #D4A26F #6FD4A2
tetradic
#A26FD4 #D46F6F #A1D46F #6FD3D4
square
#A26FD4 #D46F6F #A1D46F #6FD3D4
split-complementary
#A26FD4 #D3D46F #6FD46F
monochromatic
#652E9A #8440C6 #A26FD4 #C09EE2 #DFCDF0
Accessibility & contrast
On white
3.65
#A26FD4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.76
#A26FD4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A26FD4
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A26FD4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A26FD4 | 1.00 | 3.65 | 5.76 | 5.76 |
| #FFFFFF | 3.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5384D8
Deuteranopia (green-blind)
#6186D1
Tritanopia (blue-blind)
#9A8097
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #a26fd4; /* rgb */ color: rgb(162, 111, 212); /* oklch */ color: oklch(63.6% 0.154 305.8);
Tailwind
colors: {
custom: {
50: '#c099e1',
500: '#a26fd4',
950: '#000000',
},
}SCSS
$custom: #a26fd4; $custom-light: #c099e1; $custom-dark: #000000;
JSON
{
"hex": "#a26fd4",
"rgb": {
"r": 162,
"g": 111,
"b": 212
},
"hsl": {
"h": 270.297,
"s": 54.011,
"l": 63.333
},
"oklch": {
"l": 0.63605,
"c": 0.15383,
"h": 305.8
},
"luminance": 0.23804
}Semantic roles & 50–950 ramp
primary
#A26FD4
secondary
#CFE1BD
accent
#C12472
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#120E15
muted
#817E83