#A26CD7#A26CD7
#A26CD7 is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.3% C 0.162 H 305.6°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #A26CD7 |
|---|---|
| RGB | rgb(162, 108, 215) |
| HSL | hsl(270, 57%, 63%) |
| HSV | hsv(270, 50%, 84%) |
| CMYK | cmyk(24.7%, 49.8%, 0%, 15.7%) |
| CIE-LAB | lab(55.39, 42.00, -47.07) |
| CIE-LCH | lch(55.39, 63.09, 311.74°) |
| OKLab | oklab(63.29% 0.0944 -0.132) |
| OKLCH | oklch(63.29% 0.162 305.6) |
| XYZ | xyz(32.5260, 23.3130, 67.0631) |
| Luminance | 0.2331 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.64
Deep Lilac
#966EBD
ΔE00 4.88
Light Urple
#B36FF6
ΔE00 5.13
Amethyst
#9B5FC0
ΔE00 5.28
Lighter Purple
#A55AF4
ΔE00 5.90
Lightish Purple
#A552E6
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A26CD7 #A1D76C
analogous
#6C6CD7 #A26CD7 #D76CD7
triadic
#A26CD7 #D7A26C #6CD7A2
tetradic
#A26CD7 #D76C6C #A1D76C #6CD7D7
square
#A26CD7 #D76C6C #A1D76C #6CD7D7
split-complementary
#A26CD7 #D7D76C #6CD76C
monochromatic
#652B9E #843CCA #A26CD7 #C09CE4 #DFCCF1
Accessibility & contrast
On white
3.71
#A26CD7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.66
#A26CD7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A26CD7
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A26CD7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A26CD7 | 1.00 | 3.71 | 5.66 | 5.66 |
| #FFFFFF | 3.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D83DB
Deuteranopia (green-blind)
#5C85D4
Tritanopia (blue-blind)
#997F98
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #a26cd7; /* rgb */ color: rgb(162, 108, 215); /* oklch */ color: oklch(63.3% 0.162 305.6);
Tailwind
colors: {
custom: {
50: '#c097e4',
500: '#a26cd7',
950: '#000000',
},
}SCSS
$custom: #a26cd7; $custom-light: #c097e4; $custom-dark: #000000;
JSON
{
"hex": "#a26cd7",
"rgb": {
"r": 162,
"g": 108,
"b": 215
},
"hsl": {
"h": 270.28,
"s": 57.219,
"l": 63.333
},
"oklch": {
"l": 0.63285,
"c": 0.16227,
"h": 305.6
},
"luminance": 0.23313
}Semantic roles & 50–950 ramp
primary
#A26CD7
secondary
#CFE2BC
accent
#C52172
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#120E15
muted
#817E84