#A98CDC#A98CDC
#A98CDC is a light, moderate violet. Relative luminance 0.324; OKLCH L 69.7% C 0.118 H 300.0°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).
Color values
| HEX | #A98CDC |
|---|---|
| RGB | rgb(169, 140, 220) |
| HSL | hsl(262, 53%, 71%) |
| HSV | hsv(262, 36%, 86%) |
| CMYK | cmyk(23.2%, 36.4%, 0%, 13.7%) |
| CIE-LAB | lab(63.64, 27.18, -36.86) |
| CIE-LCH | lch(63.64, 45.80, 306.41°) |
| OKLab | oklab(69.73% 0.0592 -0.1023) |
| OKLCH | oklch(69.73% 0.118 300) |
| XYZ | xyz(38.6557, 32.3583, 71.9055) |
| Luminance | 0.3236 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 4.48
Lavender
#B39DDB
ΔE00 5.51
Wisteria
#A87DC2
ΔE00 6.27
Liliac
#C48EFD
ΔE00 6.46
Lavender (survey)
#C79FEF
ΔE00 6.82
Baby Purple
#CA9BF7
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A98CDC #BFDC8C
analogous
#8C97DC #A98CDC #D18CDC
triadic
#A98CDC #DCA98C #8CDCA9
tetradic
#A98CDC #DC8C97 #BFDC8C #8CDCD1
square
#A98CDC #DC8C97 #BFDC8C #8CDCD1
split-complementary
#A98CDC #DCD18C #97DC8C
monochromatic
#6537B6 #865DCE #A98CDC #CCBBEA #EDE8F8
Accessibility & contrast
On white
2.81
#A98CDC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.47
#A98CDC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A98CDC
7.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A98CDC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A98CDC | 1.00 | 2.81 | 7.47 | 7.47 |
| #FFFFFF | 2.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#799ADF
Deuteranopia (green-blind)
#7E9ADA
Tritanopia (blue-blind)
#A099AA
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #a98cdc; /* rgb */ color: rgb(169, 140, 220); /* oklch */ color: oklch(69.7% 0.118 300.0);
Tailwind
colors: {
custom: {
50: '#c4aee7',
500: '#a98cdc',
950: '#000000',
},
}SCSS
$custom: #a98cdc; $custom-light: #c4aee7; $custom-dark: #000000;
JSON
{
"hex": "#a98cdc",
"rgb": {
"r": 169,
"g": 140,
"b": 220
},
"hsl": {
"h": 261.75,
"s": 53.333,
"l": 70.588
},
"oklch": {
"l": 0.69729,
"c": 0.1182,
"h": 300
},
"luminance": 0.32358
}Semantic roles & 50–950 ramp
primary
#A98CDC
secondary
#E5EDD7
accent
#C12588
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131016
muted
#827F84