#A26CD9#A26CD9
#A26CD9 is a light, vivid violet. Relative luminance 0.234; OKLCH L 63.4% C 0.165 H 305.0°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #A26CD9 |
|---|---|
| RGB | rgb(162, 108, 217) |
| HSL | hsl(270, 59%, 64%) |
| HSV | hsv(270, 50%, 85%) |
| CMYK | cmyk(25.3%, 50.2%, 0%, 14.9%) |
| CIE-LAB | lab(55.50, 42.47, -48.04) |
| CIE-LCH | lch(55.50, 64.12, 311.48°) |
| OKLab | oklab(63.4% 0.0946 -0.1348) |
| OKLCH | oklch(63.4% 0.165 305) |
| XYZ | xyz(32.7846, 23.4164, 68.4249) |
| Luminance | 0.2342 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.49
Light Urple
#B36FF6
ΔE00 4.88
Deep Lilac
#966EBD
ΔE00 5.17
Amethyst
#9B5FC0
ΔE00 5.52
Lighter Purple
#A55AF4
ΔE00 5.66
Lightish Purple
#A552E6
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A26CD9 #A3D96C
analogous
#6C6CD9 #A26CD9 #D86CD9
triadic
#A26CD9 #D9A26C #6CD9A2
tetradic
#A26CD9 #D96C6C #A3D96C #6CD9D8
square
#A26CD9 #D96C6C #A3D96C #6CD9D8
split-complementary
#A26CD9 #D9D86C #6CD96C
monochromatic
#652AA1 #833BCC #A26CD9 #C19DE6 #E0CDF2
Accessibility & contrast
On white
3.70
#A26CD9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.68
#A26CD9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A26CD9
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A26CD9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A26CD9 | 1.00 | 3.70 | 5.68 | 5.68 |
| #FFFFFF | 3.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B83DD
Deuteranopia (green-blind)
#5B85D6
Tritanopia (blue-blind)
#997F98
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #a26cd9; /* rgb */ color: rgb(162, 108, 217); /* oklch */ color: oklch(63.4% 0.165 305.0);
Tailwind
colors: {
custom: {
50: '#c097e5',
500: '#a26cd9',
950: '#000000',
},
}SCSS
$custom: #a26cd9; $custom-light: #c097e5; $custom-dark: #000000;
JSON
{
"hex": "#a26cd9",
"rgb": {
"r": 162,
"g": 108,
"b": 217
},
"hsl": {
"h": 269.725,
"s": 58.919,
"l": 63.725
},
"oklch": {
"l": 0.63398,
"c": 0.16467,
"h": 305
},
"luminance": 0.23416
}Semantic roles & 50–950 ramp
primary
#A26CD9
secondary
#D1E4BD
accent
#C71F74
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#120E16
muted
#817E84