#A26FD5#A26FD5
#A26FD5 is a light, vivid violet. Relative luminance 0.239; OKLCH L 63.7% C 0.155 H 305.5°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #A26FD5 |
|---|---|
| RGB | rgb(162, 111, 213) |
| HSL | hsl(270, 55%, 64%) |
| HSV | hsv(270, 48%, 84%) |
| CMYK | cmyk(23.9%, 47.9%, 0%, 16.5%) |
| CIE-LAB | lab(55.94, 39.87, -45.07) |
| CIE-LCH | lch(55.94, 60.18, 311.50°) |
| OKLab | oklab(63.66% 0.0901 -0.1262) |
| OKLCH | oklch(63.66% 0.155 305.5) |
| XYZ | xyz(32.5925, 23.8546, 65.8253) |
| Luminance | 0.2385 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.69
Deep Lilac
#966EBD
ΔE00 4.47
Light Urple
#B36FF6
ΔE00 5.34
Amethyst
#9B5FC0
ΔE00 5.66
Wisteria
#A87DC2
ΔE00 6.59
Light Purple
#BF77F6
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A26FD5 #A2D56F
analogous
#6F6FD5 #A26FD5 #D56FD5
triadic
#A26FD5 #D5A26F #6FD5A2
tetradic
#A26FD5 #D56F6F #A2D56F #6FD5D5
square
#A26FD5 #D56F6F #A2D56F #6FD5D5
split-complementary
#A26FD5 #D5D56F #6FD56F
monochromatic
#652E9C #8340C7 #A26FD5 #C19EE3 #DFCEF1
Accessibility & contrast
On white
3.64
#A26FD5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.77
#A26FD5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A26FD5
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A26FD5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A26FD5 | 1.00 | 3.64 | 5.77 | 5.77 |
| #FFFFFF | 3.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5384D9
Deuteranopia (green-blind)
#6086D2
Tritanopia (blue-blind)
#9A8198
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #a26fd5; /* rgb */ color: rgb(162, 111, 213); /* oklch */ color: oklch(63.7% 0.155 305.5);
Tailwind
colors: {
custom: {
50: '#c099e2',
500: '#a26fd5',
950: '#000000',
},
}SCSS
$custom: #a26fd5; $custom-light: #c099e2; $custom-dark: #000000;
JSON
{
"hex": "#a26fd5",
"rgb": {
"r": 162,
"g": 111,
"b": 213
},
"hsl": {
"h": 270,
"s": 54.839,
"l": 63.529
},
"oklch": {
"l": 0.6366,
"c": 0.15504,
"h": 305.5
},
"luminance": 0.23854
}Semantic roles & 50–950 ramp
primary
#A26FD5
secondary
#D0E2BE
accent
#C22373
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#120E15
muted
#817E83