#A299CB#A299CB
#A299CB is a light, moderate violet. Relative luminance 0.348; OKLCH L 70.8% C 0.073 H 292.7°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #A299CB |
|---|---|
| RGB | rgb(162, 153, 203) |
| HSL | hsl(251, 32%, 70%) |
| HSV | hsv(251, 25%, 80%) |
| CMYK | cmyk(20.2%, 24.6%, 0%, 20.4%) |
| CIE-LAB | lab(65.57, 13.70, -24.45) |
| CIE-LCH | lch(65.57, 28.03, 299.26°) |
| OKLab | oklab(70.84% 0.0281 -0.0671) |
| OKLCH | oklch(70.84% 0.073 292.7) |
| XYZ | xyz(37.0686, 34.7753, 61.2477) |
| Luminance | 0.3478 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender
#B39DDB
ΔE00 4.30
Pale Purple
#B790D4
ΔE00 7.12
Lavender (survey)
#C79FEF
ΔE00 9.00
Heather
#A484AC
ΔE00 9.42
Perrywinkle
#8F8CE7
ΔE00 9.52
Wisteria
#A87DC2
ΔE00 9.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A299CB #C2CB99
analogous
#99A9CB #A299CB #BB99CB
triadic
#A299CB #CBA299 #99CBA2
tetradic
#A299CB #CB99A9 #C2CB99 #99CBBB
square
#A299CB #CB99A9 #C2CB99 #99CBBB
split-complementary
#A299CB #CBBB99 #A9CB99
monochromatic
#5D4F9B #7D70B6 #A299CB #C7C2E0 #ECEAF4
Accessibility & contrast
On white
2.64
#A299CB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.96
#A299CB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A299CB
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A299CB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A299CB | 1.00 | 2.64 | 7.96 | 7.96 |
| #FFFFFF | 2.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8DA0CD
Deuteranopia (green-blind)
#8E9ECA
Tritanopia (blue-blind)
#9AA1AA
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #a299cb; /* rgb */ color: rgb(162, 153, 203); /* oklch */ color: oklch(70.8% 0.073 292.7);
Tailwind
colors: {
custom: {
50: '#beb7db',
500: '#a299cb',
950: '#000000',
},
}SCSS
$custom: #a299cb; $custom-light: #beb7db; $custom-dark: #000000;
JSON
{
"hex": "#a299cb",
"rgb": {
"r": 162,
"g": 153,
"b": 203
},
"hsl": {
"h": 250.8,
"s": 32.468,
"l": 69.804
},
"oklch": {
"l": 0.70843,
"c": 0.07273,
"h": 292.7
},
"luminance": 0.34776
}Semantic roles & 50–950 ramp
primary
#A299CB
secondary
#E4E7D9
accent
#AB3A97
background
#FBFBFD
surface
#F7F6FB
border
#D0D0D4
text
#121115
muted
#818083