#A26CD5#A26CD5
#A26CD5 is a light, vivid violet. Relative luminance 0.232; OKLCH L 63.2% C 0.160 H 306.1°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #A26CD5 |
|---|---|
| RGB | rgb(162, 108, 213) |
| HSL | hsl(271, 56%, 63%) |
| HSV | hsv(271, 49%, 84%) |
| CMYK | cmyk(23.9%, 49.3%, 0%, 16.5%) |
| CIE-LAB | lab(55.29, 41.53, -46.11) |
| CIE-LCH | lch(55.29, 62.06, 312.01°) |
| OKLab | oklab(63.17% 0.0942 -0.1292) |
| OKLCH | oklch(63.17% 0.16 306.1) |
| XYZ | xyz(32.2706, 23.2109, 65.7180) |
| Luminance | 0.2321 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.82
Deep Lilac
#966EBD
ΔE00 4.59
Amethyst
#9B5FC0
ΔE00 5.06
Light Urple
#B36FF6
ΔE00 5.40
Lighter Purple
#A55AF4
ΔE00 6.16
Lightish Purple
#A552E6
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A26CD5 #9FD56C
analogous
#6D6CD5 #A26CD5 #D56CD4
triadic
#A26CD5 #D5A26C #6CD5A2
tetradic
#A26CD5 #D56D6C #9FD56C #6CD4D5
square
#A26CD5 #D56D6C #9FD56C #6CD4D5
split-complementary
#A26CD5 #D4D56C #6CD56D
monochromatic
#652C9A #843CC7 #A26CD5 #C09CE3 #DECBF0
Accessibility & contrast
On white
3.72
#A26CD5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.64
#A26CD5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A26CD5
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A26CD5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A26CD5 | 1.00 | 3.72 | 5.64 | 5.64 |
| #FFFFFF | 3.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E83D9
Deuteranopia (green-blind)
#5D85D2
Tritanopia (blue-blind)
#9A7E97
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #a26cd5; /* rgb */ color: rgb(162, 108, 213); /* oklch */ color: oklch(63.2% 0.160 306.1);
Tailwind
colors: {
custom: {
50: '#c097e2',
500: '#a26cd5',
950: '#000000',
},
}SCSS
$custom: #a26cd5; $custom-light: #c097e2; $custom-dark: #000000;
JSON
{
"hex": "#a26cd5",
"rgb": {
"r": 162,
"g": 108,
"b": 213
},
"hsl": {
"h": 270.857,
"s": 55.556,
"l": 62.941
},
"oklch": {
"l": 0.63174,
"c": 0.15987,
"h": 306.1
},
"luminance": 0.23211
}Semantic roles & 50–950 ramp
primary
#A26CD5
secondary
#CEE1BB
accent
#C32270
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#120E15
muted
#817E83