#A26FDF#A26FDF
#A26FDF is a light, vivid violet. Relative luminance 0.244; OKLCH L 64.2% C 0.167 H 303.0°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #A26FDF |
|---|---|
| RGB | rgb(162, 111, 223) |
| HSL | hsl(267, 64%, 65%) |
| HSV | hsv(267, 50%, 87%) |
| CMYK | cmyk(27.4%, 50.2%, 0%, 12.5%) |
| CIE-LAB | lab(56.46, 42.25, -49.88) |
| CIE-LCH | lch(56.46, 65.37, 310.26°) |
| OKLab | oklab(64.22% 0.0911 -0.1402) |
| OKLCH | oklch(64.22% 0.167 303) |
| XYZ | xyz(33.9011, 24.3780, 72.7172) |
| Luminance | 0.2438 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.04
Light Urple
#B36FF6
ΔE00 4.09
Lighter Purple
#A55AF4
ΔE00 5.69
Deep Lilac
#966EBD
ΔE00 5.99
Light Purple
#BF77F6
ΔE00 6.03
Easter Purple
#C071FE
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A26FDF #ACDF6F
analogous
#6F74DF #A26FDF #DA6FDF
triadic
#A26FDF #DFA26F #6FDFA2
tetradic
#A26FDF #DF6F74 #ACDF6F #6FDFDA
square
#A26FDF #DF6F74 #ACDF6F #6FDFDA
split-complementary
#A26FDF #DFDA6F #74DF6F
monochromatic
#6426AD #823DD4 #A26FDF #C2A1EA #E3D3F5
Accessibility & contrast
On white
3.57
#A26FDF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.88
#A26FDF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A26FDF
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A26FDF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A26FDF | 1.00 | 3.57 | 5.88 | 5.88 |
| #FFFFFF | 3.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B86E3
Deuteranopia (green-blind)
#5A87DC
Tritanopia (blue-blind)
#97839D
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #a26fdf; /* rgb */ color: rgb(162, 111, 223); /* oklch */ color: oklch(64.2% 0.167 303.0);
Tailwind
colors: {
custom: {
50: '#c099e9',
500: '#a26fdf',
950: '#000000',
},
}SCSS
$custom: #a26fdf; $custom-light: #c099e9; $custom-dark: #000000;
JSON
{
"hex": "#a26fdf",
"rgb": {
"r": 162,
"g": 111,
"b": 223
},
"hsl": {
"h": 267.321,
"s": 63.636,
"l": 65.49
},
"oklch": {
"l": 0.64219,
"c": 0.16722,
"h": 303
},
"luminance": 0.24378
}Semantic roles & 50–950 ramp
primary
#A26FDF
secondary
#D7E8C2
accent
#CB1A7B
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84