#A299F3#A299F3
#A299F3 is a light, vivid blue. Relative luminance 0.369; OKLCH L 72.7% C 0.129 H 287.3°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).
Color values
| HEX | #A299F3 |
|---|---|
| RGB | rgb(162, 153, 243) |
| HSL | hsl(246, 79%, 78%) |
| HSV | hsv(246, 37%, 95%) |
| CMYK | cmyk(33.3%, 37%, 0%, 4.7%) |
| CIE-LAB | lab(67.23, 23.50, -43.97) |
| CIE-LCH | lch(67.23, 49.86, 298.12°) |
| OKLab | oklab(72.66% 0.0384 -0.123) |
| OKLCH | oklch(72.66% 0.129 287.3) |
| XYZ | xyz(42.4649, 36.9338, 89.6682) |
| Luminance | 0.3694 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 4.55
Periwinkle Blue
#8F99FB
ΔE00 4.76
Lavender Blue
#8B88F8
ΔE00 6.16
Periwinkle (survey)
#8E82FE
ΔE00 7.42
Lavender
#B39DDB
ΔE00 7.59
Pastel Purple
#CAA0FF
ΔE00 8.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A299F3 #EAF399
analogous
#99BDF3 #A299F3 #CF99F3
triadic
#A299F3 #F3A299 #99F3A2
tetradic
#A299F3 #F399BD #EAF399 #99F3CF
square
#A299F3 #F399BD #EAF399 #99F3CF
split-complementary
#A299F3 #F3CF99 #BDF399
monochromatic
#3E2BE6 #7062ED #A299F3 #D4D0F9 #E6E4FC
Accessibility & contrast
On white
2.50
#A299F3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.39
#A299F3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A299F3
8.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A299F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A299F3 | 1.00 | 2.50 | 8.39 | 8.39 |
| #FFFFFF | 2.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7DA6F7
Deuteranopia (green-blind)
#7CA1F1
Tritanopia (blue-blind)
#8EAABB
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #a299f3; /* rgb */ color: rgb(162, 153, 243); /* oklch */ color: oklch(72.7% 0.129 287.3);
Tailwind
colors: {
custom: {
50: '#c0b7f7',
500: '#a299f3',
950: '#000000',
},
}SCSS
$custom: #a299f3; $custom-light: #c0b7f7; $custom-dark: #000000;
JSON
{
"hex": "#a299f3",
"rgb": {
"r": 162,
"g": 153,
"b": 243
},
"hsl": {
"h": 246,
"s": 78.947,
"l": 77.647
},
"oklch": {
"l": 0.72659,
"c": 0.12888,
"h": 287.3
},
"luminance": 0.36935
}Semantic roles & 50–950 ramp
primary
#A299F3
secondary
#F1F4D7
accent
#DB0AC6
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#121117
muted
#818085