#A296CB#A296CB
#A296CB is a light, moderate violet. Relative luminance 0.338; OKLCH L 70.3% C 0.077 H 294.7°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).
Color values
| HEX | #A296CB |
|---|---|
| RGB | rgb(162, 150, 203) |
| HSL | hsl(254, 34%, 69%) |
| HSV | hsv(254, 26%, 80%) |
| CMYK | cmyk(20.2%, 26.1%, 0%, 20.4%) |
| CIE-LAB | lab(64.81, 15.40, -25.63) |
| CIE-LCH | lch(64.81, 29.90, 301.00°) |
| OKLab | oklab(70.25% 0.0324 -0.0704) |
| OKLCH | oklch(70.25% 0.078 294.7) |
| XYZ | xyz(36.5837, 33.8056, 61.0861) |
| Luminance | 0.3381 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender
#B39DDB
ΔE00 4.02
Pale Purple
#B790D4
ΔE00 6.26
Lavender (survey)
#C79FEF
ΔE00 8.64
Heather
#A484AC
ΔE00 8.79
Wisteria
#A87DC2
ΔE00 8.83
Perrywinkle
#8F8CE7
ΔE00 9.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A296CB #BFCB96
analogous
#96A5CB #A296CB #BD96CB
triadic
#A296CB #CBA296 #96CBA2
tetradic
#A296CB #CB96A5 #BFCB96 #96CBBD
square
#A296CB #CB96A5 #BFCB96 #96CBBD
split-complementary
#A296CB #CBBD96 #A5CB96
monochromatic
#5E4C9A #7E6DB7 #A296CB #C6BFDF #EBE8F4
Accessibility & contrast
On white
2.71
#A296CB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.76
#A296CB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A296CB
7.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A296CB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A296CB | 1.00 | 2.71 | 7.76 | 7.76 |
| #FFFFFF | 2.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A9ECD
Deuteranopia (green-blind)
#8B9CCA
Tritanopia (blue-blind)
#9A9EA8
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #a296cb; /* rgb */ color: rgb(162, 150, 203); /* oklch */ color: oklch(70.3% 0.077 294.7);
Tailwind
colors: {
custom: {
50: '#beb4db',
500: '#a296cb',
950: '#000000',
},
}SCSS
$custom: #a296cb; $custom-light: #beb4db; $custom-dark: #000000;
JSON
{
"hex": "#a296cb",
"rgb": {
"r": 162,
"g": 150,
"b": 203
},
"hsl": {
"h": 253.585,
"s": 33.758,
"l": 69.216
},
"oklch": {
"l": 0.70251,
"c": 0.0775,
"h": 294.7
},
"luminance": 0.33806
}Semantic roles & 50–950 ramp
primary
#A296CB
secondary
#E3E6D7
accent
#AD3992
background
#FBFBFD
surface
#F7F6FB
border
#D0D0D4
text
#121115
muted
#818083