#A288DF#A288DF
#A288DF is a light, vivid violet. Relative luminance 0.306; OKLCH L 68.5% C 0.128 H 296.6°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).
Color values
| HEX | #A288DF |
|---|---|
| RGB | rgb(162, 136, 223) |
| HSL | hsl(258, 58%, 70%) |
| HSV | hsv(258, 39%, 87%) |
| CMYK | cmyk(27.4%, 39%, 0%, 12.5%) |
| CIE-LAB | lab(62.18, 28.15, -40.85) |
| CIE-LCH | lch(62.18, 49.61, 304.58°) |
| OKLab | oklab(68.52% 0.0572 -0.114) |
| OKLCH | oklch(68.52% 0.128 296.6) |
| XYZ | xyz(37.0206, 30.6170, 73.7570) |
| Luminance | 0.3062 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 5.48
Pale Purple
#B790D4
ΔE00 6.59
Liliac
#C48EFD
ΔE00 7.01
Wisteria
#A87DC2
ΔE00 7.04
Lavender Blue
#8B88F8
ΔE00 7.29
Mediumpurple
#9370DB
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A288DF #C5DF88
analogous
#8899DF #A288DF #CD88DF
triadic
#A288DF #DFA288 #88DFA2
tetradic
#A288DF #DF8899 #C5DF88 #88DFCD
square
#A288DF #DF8899 #C5DF88 #88DFCD
split-complementary
#A288DF #DFCD88 #99DF88
monochromatic
#5B32BA #7C58D2 #A288DF #C8B8EC #ECE7F9
Accessibility & contrast
On white
2.95
#A288DF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.12
#A288DF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A288DF
7.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A288DF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A288DF | 1.00 | 2.95 | 7.12 | 7.12 |
| #FFFFFF | 2.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7097E2
Deuteranopia (green-blind)
#7595DD
Tritanopia (blue-blind)
#9697A9
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #a288df; /* rgb */ color: rgb(162, 136, 223); /* oklch */ color: oklch(68.5% 0.128 296.6);
Tailwind
colors: {
custom: {
50: '#bfabe9',
500: '#a288df',
950: '#000000',
},
}SCSS
$custom: #a288df; $custom-light: #bfabe9; $custom-dark: #000000;
JSON
{
"hex": "#a288df",
"rgb": {
"r": 162,
"g": 136,
"b": 223
},
"hsl": {
"h": 257.931,
"s": 57.616,
"l": 70.392
},
"oklch": {
"l": 0.68516,
"c": 0.12753,
"h": 296.6
},
"luminance": 0.30617
}Semantic roles & 50–950 ramp
primary
#A288DF
secondary
#E6EDD5
accent
#C52094
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#121016
muted
#817F84