#A296EC#A296EC
#A296EC is a light, vivid blue. Relative luminance 0.355; OKLCH L 71.8% C 0.124 H 289.3°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).
Color values
| HEX | #A296EC |
|---|---|
| RGB | rgb(162, 150, 236) |
| HSL | hsl(248, 69%, 76%) |
| HSV | hsv(248, 36%, 93%) |
| CMYK | cmyk(31.4%, 36.4%, 0%, 7.5%) |
| CIE-LAB | lab(66.17, 23.42, -41.78) |
| CIE-LCH | lch(66.17, 47.90, 299.27°) |
| OKLab | oklab(71.75% 0.0409 -0.1167) |
| OKLCH | oklch(71.75% 0.124 289.3) |
| XYZ | xyz(40.9430, 35.5493, 84.0452) |
| Luminance | 0.3555 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 4.28
Periwinkle Blue
#8F99FB
ΔE00 5.79
Lavender Blue
#8B88F8
ΔE00 6.34
Lavender
#B39DDB
ΔE00 6.70
Periwinkle (survey)
#8E82FE
ΔE00 7.45
Pastel Purple
#CAA0FF
ΔE00 7.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A296EC #E0EC96
analogous
#96B5EC #A296EC #CD96EC
triadic
#A296EC #ECA296 #96ECA2
tetradic
#A296EC #EC96B5 #E0EC96 #96ECCD
square
#A296EC #EC96B5 #E0EC96 #96ECCD
split-complementary
#A296EC #ECCD96 #B5EC96
monochromatic
#462ED9 #7462E3 #A296EC #D0CAF5 #E8E5FA
Accessibility & contrast
On white
2.59
#A296EC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.11
#A296EC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A296EC
8.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A296EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A296EC | 1.00 | 2.59 | 8.11 | 8.11 |
| #FFFFFF | 2.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7DA3EF
Deuteranopia (green-blind)
#7D9FEA
Tritanopia (blue-blind)
#90A6B6
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a296ec; /* rgb */ color: rgb(162, 150, 236); /* oklch */ color: oklch(71.8% 0.124 289.3);
Tailwind
colors: {
custom: {
50: '#bfb5f2',
500: '#a296ec',
950: '#000000',
},
}SCSS
$custom: #a296ec; $custom-light: #bfb5f2; $custom-dark: #000000;
JSON
{
"hex": "#a296ec",
"rgb": {
"r": 162,
"g": 150,
"b": 236
},
"hsl": {
"h": 248.372,
"s": 69.355,
"l": 75.686
},
"oklch": {
"l": 0.71751,
"c": 0.12364,
"h": 289.3
},
"luminance": 0.3555
}Semantic roles & 50–950 ramp
primary
#A296EC
secondary
#EEF2D9
accent
#D114B7
background
#FBFBFE
surface
#F7F6FD
border
#D0D0D5
text
#121117
muted
#818085