#A896F2#A896F2
#A896F2 is a light, vivid violet. Relative luminance 0.365; OKLCH L 72.5% C 0.132 H 291.8°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).
Color values
| HEX | #A896F2 |
|---|---|
| RGB | rgb(168, 150, 242) |
| HSL | hsl(252, 78%, 77%) |
| HSV | hsv(252, 38%, 95%) |
| CMYK | cmyk(30.6%, 38%, 0%, 5.1%) |
| CIE-LAB | lab(66.94, 26.58, -43.85) |
| CIE-LCH | lch(66.94, 51.28, 301.23°) |
| OKLab | oklab(72.54% 0.0489 -0.1226) |
| OKLCH | oklch(72.54% 0.132 291.8) |
| XYZ | xyz(43.0777, 36.5475, 88.7720) |
| Luminance | 0.3655 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 5.21
Periwinkle Blue
#8F99FB
ΔE00 6.53
Liliac
#C48EFD
ΔE00 6.58
Pastel Purple
#CAA0FF
ΔE00 6.67
Lavender
#B39DDB
ΔE00 6.73
Lavender Blue
#8B88F8
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A896F2 #E0F296
analogous
#96B2F2 #A896F2 #D696F2
triadic
#A896F2 #F2A896 #96F2A8
tetradic
#A896F2 #F296B2 #E0F296 #96F2D6
square
#A896F2 #F296B2 #E0F296 #96F2D6
split-complementary
#A896F2 #F2D696 #B2F296
monochromatic
#4E29E5 #7B60EB #A896F2 #D5CCF9 #E8E4FC
Accessibility & contrast
On white
2.53
#A896F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.31
#A896F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A896F2
8.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A896F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A896F2 | 1.00 | 2.53 | 8.31 | 8.31 |
| #FFFFFF | 2.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7BA4F6
Deuteranopia (green-blind)
#7DA1F0
Tritanopia (blue-blind)
#97A7B9
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #a896f2; /* rgb */ color: rgb(168, 150, 242); /* oklch */ color: oklch(72.5% 0.132 291.8);
Tailwind
colors: {
custom: {
50: '#c4b5f6',
500: '#a896f2',
950: '#000000',
},
}SCSS
$custom: #a896f2; $custom-light: #c4b5f6; $custom-dark: #000000;
JSON
{
"hex": "#a896f2",
"rgb": {
"r": 168,
"g": 150,
"b": 242
},
"hsl": {
"h": 251.739,
"s": 77.966,
"l": 76.863
},
"oklch": {
"l": 0.72541,
"c": 0.13196,
"h": 291.8
},
"luminance": 0.36548
}Semantic roles & 50–950 ramp
primary
#A896F2
secondary
#EEF3D8
accent
#DA0BB2
background
#FCFBFF
surface
#F8F6FE
border
#D1D0D6
text
#131117
muted
#828085