#A26FD2#A26FD2
#A26FD2 is a light, vivid violet. Relative luminance 0.237; OKLCH L 63.5% C 0.151 H 306.3°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #A26FD2 |
|---|---|
| RGB | rgb(162, 111, 210) |
| HSL | hsl(271, 52%, 63%) |
| HSV | hsv(271, 47%, 82%) |
| CMYK | cmyk(22.9%, 47.1%, 0%, 17.6%) |
| CIE-LAB | lab(55.79, 39.17, -43.62) |
| CIE-LCH | lch(55.79, 58.63, 311.93°) |
| OKLab | oklab(63.5% 0.0897 -0.1219) |
| OKLCH | oklch(63.5% 0.151 306.3) |
| XYZ | xyz(32.2152, 23.7037, 63.8384) |
| Luminance | 0.2370 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 4.03
Deep Lilac
#966EBD
ΔE00 4.04
Amethyst
#9B5FC0
ΔE00 5.40
Light Urple
#B36FF6
ΔE00 5.78
Wisteria
#A87DC2
ΔE00 6.20
Soft Purple
#A66FB5
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A26FD2 #9FD26F
analogous
#706FD2 #A26FD2 #D26FD0
triadic
#A26FD2 #D2A26F #6FD2A2
tetradic
#A26FD2 #D2706F #9FD26F #6FD0D2
square
#A26FD2 #D2706F #9FD26F #6FD0D2
split-complementary
#A26FD2 #D0D26F #6FD270
monochromatic
#652F97 #8440C3 #A26FD2 #C09EE1 #DECCEF
Accessibility & contrast
On white
3.66
#A26FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.74
#A26FD2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A26FD2
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A26FD2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A26FD2 | 1.00 | 3.66 | 5.74 | 5.74 |
| #FFFFFF | 3.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5584D6
Deuteranopia (green-blind)
#6286CF
Tritanopia (blue-blind)
#9B8097
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #a26fd2; /* rgb */ color: rgb(162, 111, 210); /* oklch */ color: oklch(63.5% 0.151 306.3);
Tailwind
colors: {
custom: {
50: '#c099e0',
500: '#a26fd2',
950: '#000000',
},
}SCSS
$custom: #a26fd2; $custom-light: #c099e0; $custom-dark: #000000;
JSON
{
"hex": "#a26fd2",
"rgb": {
"r": 162,
"g": 111,
"b": 210
},
"hsl": {
"h": 270.909,
"s": 52.381,
"l": 62.941
},
"oklch": {
"l": 0.63497,
"c": 0.15139,
"h": 306.3
},
"luminance": 0.23703
}Semantic roles & 50–950 ramp
primary
#A26FD2
secondary
#CEE0BD
accent
#C02670
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#120E15
muted
#817E83