#A26CD2#A26CD2
#A26CD2 is a light, vivid violet. Relative luminance 0.231; OKLCH L 63.0% C 0.156 H 306.9°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #A26CD2 |
|---|---|
| RGB | rgb(162, 108, 210) |
| HSL | hsl(272, 53%, 62%) |
| HSV | hsv(272, 49%, 82%) |
| CMYK | cmyk(22.9%, 48.6%, 0%, 17.6%) |
| CIE-LAB | lab(55.13, 40.84, -44.65) |
| CIE-LCH | lch(55.13, 60.51, 312.44°) |
| OKLab | oklab(63.01% 0.0938 -0.1249) |
| OKLCH | oklch(63.01% 0.156 306.9) |
| XYZ | xyz(31.8934, 23.0600, 63.7311) |
| Luminance | 0.2306 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 4.14
Deep Lilac
#966EBD
ΔE00 4.16
Amethyst
#9B5FC0
ΔE00 4.75
Light Urple
#B36FF6
ΔE00 5.82
Soft Purple
#A66FB5
ΔE00 6.51
Mediumorchid
#BA55D3
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A26CD2 #9CD26C
analogous
#6F6CD2 #A26CD2 #D26CCF
triadic
#A26CD2 #D2A26C #6CD2A2
tetradic
#A26CD2 #D26F6C #9CD26C #6CCFD2
square
#A26CD2 #D26F6C #9CD26C #6CCFD2
split-complementary
#A26CD2 #CFD26C #6CD26F
monochromatic
#652E96 #843DC4 #A26CD2 #C09BE0 #DDCAEF
Accessibility & contrast
On white
3.74
#A26CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.61
#A26CD2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A26CD2
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A26CD2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A26CD2 | 1.00 | 3.74 | 5.61 | 5.61 |
| #FFFFFF | 3.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5082D6
Deuteranopia (green-blind)
#5F84CF
Tritanopia (blue-blind)
#9B7D95
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #a26cd2; /* rgb */ color: rgb(162, 108, 210); /* oklch */ color: oklch(63.0% 0.156 306.9);
Tailwind
colors: {
custom: {
50: '#c097e0',
500: '#a26cd2',
950: '#000000',
},
}SCSS
$custom: #a26cd2; $custom-light: #c097e0; $custom-dark: #000000;
JSON
{
"hex": "#a26cd2",
"rgb": {
"r": 162,
"g": 108,
"b": 210
},
"hsl": {
"h": 271.765,
"s": 53.125,
"l": 62.353
},
"oklch": {
"l": 0.63008,
"c": 0.15626,
"h": 306.9
},
"luminance": 0.2306
}Semantic roles & 50–950 ramp
primary
#A26CD2
secondary
#CCE0BA
accent
#C1256E
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#120E15
muted
#817E83