#A28DCD#A28DCD
#A28DCD is a light, moderate violet. Relative luminance 0.311; OKLCH L 68.6% C 0.095 H 299.0°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #A28DCD |
|---|---|
| RGB | rgb(162, 141, 205) |
| HSL | hsl(260, 39%, 68%) |
| HSV | hsv(260, 31%, 80%) |
| CMYK | cmyk(21%, 31.2%, 0%, 19.6%) |
| CIE-LAB | lab(62.62, 20.99, -30.11) |
| CIE-LCH | lch(62.62, 36.70, 304.87°) |
| OKLab | oklab(68.6% 0.046 -0.0831) |
| OKLCH | oklch(68.6% 0.095 299) |
| XYZ | xyz(35.4422, 31.1387, 61.8889) |
| Luminance | 0.3114 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 4.66
Lavender
#B39DDB
ΔE00 4.95
Wisteria
#A87DC2
ΔE00 5.91
Perrywinkle
#8F8CE7
ΔE00 8.00
Lavender (survey)
#C79FEF
ΔE00 8.25
Heather
#A484AC
ΔE00 8.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A28DCD #B8CD8D
analogous
#8D98CD #A28DCD #C28DCD
triadic
#A28DCD #CDA28D #8DCDA2
tetradic
#A28DCD #CD8D98 #B8CD8D #8DCDC2
square
#A28DCD #CD8D98 #B8CD8D #8DCDC2
split-complementary
#A28DCD #CDC28D #98CD8D
monochromatic
#61449B #7F62BA #A28DCD #C5B8E0 #E7E2F2
Accessibility & contrast
On white
2.91
#A28DCD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.23
#A28DCD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A28DCD
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A28DCD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A28DCD | 1.00 | 2.91 | 7.23 | 7.23 |
| #FFFFFF | 2.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E97D0
Deuteranopia (green-blind)
#8297CB
Tritanopia (blue-blind)
#9A97A4
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #a28dcd; /* rgb */ color: rgb(162, 141, 205); /* oklch */ color: oklch(68.6% 0.095 299.0);
Tailwind
colors: {
custom: {
50: '#beaedc',
500: '#a28dcd',
950: '#000000',
},
}SCSS
$custom: #a28dcd; $custom-light: #beaedc; $custom-dark: #000000;
JSON
{
"hex": "#a28dcd",
"rgb": {
"r": 162,
"g": 141,
"b": 205
},
"hsl": {
"h": 259.688,
"s": 39.024,
"l": 67.843
},
"oklch": {
"l": 0.68598,
"c": 0.09498,
"h": 299
},
"luminance": 0.31139
}Semantic roles & 50–950 ramp
primary
#A28DCD
secondary
#DEE5D1
accent
#B23388
background
#FBFAFD
surface
#F7F4FB
border
#D0CED4
text
#121015
muted
#817F83