#A299FB#A299FB
#A299FB is a light, vivid blue. Relative luminance 0.374; OKLCH L 73.1% C 0.140 H 286.6°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).
Color values
| HEX | #A299FB |
|---|---|
| RGB | rgb(162, 153, 251) |
| HSL | hsl(246, 92%, 79%) |
| HSV | hsv(246, 39%, 98%) |
| CMYK | cmyk(35.5%, 39%, 0%, 1.6%) |
| CIE-LAB | lab(67.60, 25.58, -47.76) |
| CIE-LCH | lch(67.60, 54.18, 298.17°) |
| OKLab | oklab(73.06% 0.04 -0.134) |
| OKLCH | oklch(73.06% 0.14 286.6) |
| XYZ | xyz(43.6994, 37.4276, 96.1699) |
| Luminance | 0.3743 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle Blue
#8F99FB
ΔE00 4.20
Perrywinkle
#8F8CE7
ΔE00 4.78
Lavender Blue
#8B88F8
ΔE00 5.70
Periwinkle (survey)
#8E82FE
ΔE00 6.89
Pastel Purple
#CAA0FF
ΔE00 8.29
Liliac
#C48EFD
ΔE00 8.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A299FB #F2FB99
analogous
#99C1FB #A299FB #D399FB
triadic
#A299FB #FBA299 #99FBA2
tetradic
#A299FB #FB99C1 #F2FB99 #99FBD3
square
#A299FB #FB99C1 #F2FB99 #99FBD3
split-complementary
#A299FB #FBD399 #C1FB99
monochromatic
#3723F6 #6C5EF9 #A299FB #D8D4FD #E4E2FE
Accessibility & contrast
On white
2.47
#A299FB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.49
#A299FB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A299FB
8.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A299FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A299FB | 1.00 | 2.47 | 8.49 | 8.49 |
| #FFFFFF | 2.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#79A7FF
Deuteranopia (green-blind)
#78A2F9
Tritanopia (blue-blind)
#8BACBE
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #a299fb; /* rgb */ color: rgb(162, 153, 251); /* oklch */ color: oklch(73.1% 0.140 286.6);
Tailwind
colors: {
custom: {
50: '#c0b7fd',
500: '#a299fb',
950: '#000000',
},
}SCSS
$custom: #a299fb; $custom-light: #c0b7fd; $custom-dark: #000000;
JSON
{
"hex": "#a299fb",
"rgb": {
"r": 162,
"g": 153,
"b": 251
},
"hsl": {
"h": 245.51,
"s": 92.453,
"l": 79.216
},
"oklch": {
"l": 0.73062,
"c": 0.13987,
"h": 286.6
},
"luminance": 0.37429
}Semantic roles & 50–950 ramp
primary
#A299FB
secondary
#F3F6D5
accent
#E600D0
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#121117
muted
#818085