#A26CD6#A26CD6
#A26CD6 is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.2% C 0.161 H 305.8°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #A26CD6 |
|---|---|
| RGB | rgb(162, 108, 214) |
| HSL | hsl(271, 56%, 63%) |
| HSV | hsv(271, 50%, 84%) |
| CMYK | cmyk(24.3%, 49.5%, 0%, 16.1%) |
| CIE-LAB | lab(55.34, 41.77, -46.59) |
| CIE-LCH | lch(55.34, 62.57, 311.87°) |
| OKLab | oklab(63.23% 0.0943 -0.1306) |
| OKLCH | oklch(63.23% 0.161 305.8) |
| XYZ | xyz(32.3979, 23.2618, 66.3885) |
| Luminance | 0.2326 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.73
Deep Lilac
#966EBD
ΔE00 4.73
Amethyst
#9B5FC0
ΔE00 5.17
Light Urple
#B36FF6
ΔE00 5.27
Lighter Purple
#A55AF4
ΔE00 6.03
Lightish Purple
#A552E6
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A26CD6 #A0D66C
analogous
#6D6CD6 #A26CD6 #D66CD5
triadic
#A26CD6 #D6A26C #6CD6A2
tetradic
#A26CD6 #D66D6C #A0D66C #6CD5D6
square
#A26CD6 #D66D6C #A0D66C #6CD5D6
split-complementary
#A26CD6 #D5D66C #6CD66D
monochromatic
#652C9C #843CC9 #A26CD6 #C09CE3 #DFCCF1
Accessibility & contrast
On white
3.72
#A26CD6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.65
#A26CD6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A26CD6
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A26CD6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A26CD6 | 1.00 | 3.72 | 5.65 | 5.65 |
| #FFFFFF | 3.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D83DA
Deuteranopia (green-blind)
#5D85D3
Tritanopia (blue-blind)
#9A7F97
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #a26cd6; /* rgb */ color: rgb(162, 108, 214); /* oklch */ color: oklch(63.2% 0.161 305.8);
Tailwind
colors: {
custom: {
50: '#c097e3',
500: '#a26cd6',
950: '#000000',
},
}SCSS
$custom: #a26cd6; $custom-light: #c097e3; $custom-dark: #000000;
JSON
{
"hex": "#a26cd6",
"rgb": {
"r": 162,
"g": 108,
"b": 214
},
"hsl": {
"h": 270.566,
"s": 56.383,
"l": 63.137
},
"oklch": {
"l": 0.63229,
"c": 0.16107,
"h": 305.8
},
"luminance": 0.23262
}Semantic roles & 50–950 ramp
primary
#A26CD6
secondary
#CFE2BC
accent
#C42271
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#120E15
muted
#817E83