#A26CDE#A26CDE
#A26CDE is a light, vivid violet. Relative luminance 0.237; OKLCH L 63.7% C 0.171 H 303.8°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #A26CDE |
|---|---|
| RGB | rgb(162, 108, 222) |
| HSL | hsl(268, 63%, 65%) |
| HSV | hsv(268, 51%, 87%) |
| CMYK | cmyk(27%, 51.4%, 0%, 12.9%) |
| CIE-LAB | lab(55.77, 43.66, -50.43) |
| CIE-LCH | lch(55.77, 66.70, 310.88°) |
| OKLab | oklab(63.68% 0.095 -0.1418) |
| OKLCH | oklch(63.68% 0.171 303.8) |
| XYZ | xyz(33.4448, 23.6805, 71.9019) |
| Luminance | 0.2368 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.26
Light Urple
#B36FF6
ΔE00 4.30
Lighter Purple
#A55AF4
ΔE00 5.12
Deep Lilac
#966EBD
ΔE00 5.91
Amethyst
#9B5FC0
ΔE00 6.14
Lightish Purple
#A552E6
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A26CDE #A8DE6C
analogous
#6C6FDE #A26CDE #DB6CDE
triadic
#A26CDE #DEA26C #6CDEA2
tetradic
#A26CDE #DE6C6F #A8DE6C #6CDEDB
square
#A26CDE #DE6C6F #A8DE6C #6CDEDB
split-complementary
#A26CDE #DEDB6C #6FDE6C
monochromatic
#6426AA #823AD3 #A26CDE #C29EE9 #E1D0F4
Accessibility & contrast
On white
3.66
#A26CDE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.74
#A26CDE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A26CDE
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A26CDE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A26CDE | 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)
#4784E2
Deuteranopia (green-blind)
#5786DB
Tritanopia (blue-blind)
#97819B
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #a26cde; /* rgb */ color: rgb(162, 108, 222); /* oklch */ color: oklch(63.7% 0.171 303.8);
Tailwind
colors: {
custom: {
50: '#c097e9',
500: '#a26cde',
950: '#000000',
},
}SCSS
$custom: #a26cde; $custom-light: #c097e9; $custom-dark: #000000;
JSON
{
"hex": "#a26cde",
"rgb": {
"r": 162,
"g": 108,
"b": 222
},
"hsl": {
"h": 268.421,
"s": 63.333,
"l": 64.706
},
"oklch": {
"l": 0.63683,
"c": 0.17068,
"h": 303.8
},
"luminance": 0.2368
}Semantic roles & 50–950 ramp
primary
#A26CDE
secondary
#D4E6BF
accent
#CB1A77
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84