#A299F2#A299F2
#A299F2 is a light, vivid blue. Relative luminance 0.369; OKLCH L 72.6% C 0.128 H 287.4°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).
Color values
| HEX | #A299F2 |
|---|---|
| RGB | rgb(162, 153, 242) |
| HSL | hsl(246, 77%, 77%) |
| HSV | hsv(246, 37%, 95%) |
| CMYK | cmyk(33.1%, 36.8%, 0%, 5.1%) |
| CIE-LAB | lab(67.18, 23.24, -43.49) |
| CIE-LCH | lch(67.18, 49.32, 298.12°) |
| OKLab | oklab(72.61% 0.0382 -0.1217) |
| OKLCH | oklch(72.61% 0.128 287.4) |
| XYZ | xyz(42.3143, 36.8735, 88.8751) |
| Luminance | 0.3688 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 4.55
Periwinkle Blue
#8F99FB
ΔE00 4.85
Lavender Blue
#8B88F8
ΔE00 6.23
Lavender
#B39DDB
ΔE00 7.44
Periwinkle (survey)
#8E82FE
ΔE00 7.50
Pastel Purple
#CAA0FF
ΔE00 8.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A299F2 #E9F299
analogous
#99BDF2 #A299F2 #CE99F2
triadic
#A299F2 #F2A299 #99F2A2
tetradic
#A299F2 #F299BD #E9F299 #99F2CE
square
#A299F2 #F299BD #E9F299 #99F2CE
split-complementary
#A299F2 #F2CE99 #BDF299
monochromatic
#3F2CE4 #7163EB #A299F2 #D3CFF9 #E6E4FC
Accessibility & contrast
On white
2.51
#A299F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.38
#A299F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A299F2
8.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A299F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A299F2 | 1.00 | 2.51 | 8.38 | 8.38 |
| #FFFFFF | 2.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7EA6F6
Deuteranopia (green-blind)
#7DA1F0
Tritanopia (blue-blind)
#8EA9BA
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #a299f2; /* rgb */ color: rgb(162, 153, 242); /* oklch */ color: oklch(72.6% 0.128 287.4);
Tailwind
colors: {
custom: {
50: '#c0b7f6',
500: '#a299f2',
950: '#000000',
},
}SCSS
$custom: #a299f2; $custom-light: #c0b7f6; $custom-dark: #000000;
JSON
{
"hex": "#a299f2",
"rgb": {
"r": 162,
"g": 153,
"b": 242
},
"hsl": {
"h": 246.067,
"s": 77.391,
"l": 77.451
},
"oklch": {
"l": 0.7261,
"c": 0.1275,
"h": 287.4
},
"luminance": 0.36875
}Semantic roles & 50–950 ramp
primary
#A299F2
secondary
#F1F3D8
accent
#DA0CC5
background
#FCFBFF
surface
#F8F6FE
border
#D1D0D6
text
#121117
muted
#818085