#A799CF#A799CF
#A799CF is a light, moderate violet. Relative luminance 0.355; OKLCH L 71.4% C 0.079 H 296.2°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).
Color values
| HEX | #A799CF |
|---|---|
| RGB | rgb(167, 153, 207) |
| HSL | hsl(256, 36%, 71%) |
| HSV | hsv(256, 26%, 81%) |
| CMYK | cmyk(19.3%, 26.1%, 0%, 18.8%) |
| CIE-LAB | lab(66.14, 16.19, -25.78) |
| CIE-LCH | lch(66.14, 30.44, 302.13°) |
| OKLab | oklab(71.43% 0.0349 -0.0708) |
| OKLCH | oklch(71.43% 0.079 296.2) |
| XYZ | xyz(38.5876, 35.5027, 63.8392) |
| Luminance | 0.3550 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender
#B39DDB
ΔE00 2.93
Pale Purple
#B790D4
ΔE00 5.77
Lavender (survey)
#C79FEF
ΔE00 7.66
Pale Violet
#CEAEFA
ΔE00 9.08
Wisteria
#A87DC2
ΔE00 9.14
Baby Purple
#CA9BF7
ΔE00 9.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A799CF #C1CF99
analogous
#99A6CF #A799CF #C299CF
triadic
#A799CF #CFA799 #99CFA7
tetradic
#A799CF #CF99A6 #C1CF99 #99CFC2
square
#A799CF #CF99A6 #C1CF99 #99CFC2
split-complementary
#A799CF #CFC299 #A6CF99
monochromatic
#624CA2 #836FBB #A799CF #CBC3E3 #EDEAF5
Accessibility & contrast
On white
2.59
#A799CF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.10
#A799CF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A799CF
8.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A799CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A799CF | 1.00 | 2.59 | 8.10 | 8.10 |
| #FFFFFF | 2.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8DA1D1
Deuteranopia (green-blind)
#8FA0CD
Tritanopia (blue-blind)
#A0A1AC
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a799cf; /* rgb */ color: rgb(167, 153, 207); /* oklch */ color: oklch(71.4% 0.079 296.2);
Tailwind
colors: {
custom: {
50: '#c1b7dd',
500: '#a799cf',
950: '#000000',
},
}SCSS
$custom: #a799cf; $custom-light: #c1b7dd; $custom-dark: #000000;
JSON
{
"hex": "#a799cf",
"rgb": {
"r": 167,
"g": 153,
"b": 207
},
"hsl": {
"h": 255.556,
"s": 36,
"l": 70.588
},
"oklch": {
"l": 0.7143,
"c": 0.07889,
"h": 296.2
},
"luminance": 0.35503
}Semantic roles & 50–950 ramp
primary
#A799CF
secondary
#E5E9DB
accent
#AF3790
background
#FBFBFD
surface
#F7F6FB
border
#D0D0D4
text
#121115
muted
#818083