#A892F2#A892F2
#A892F2 is a light, vivid violet. Relative luminance 0.353; OKLCH L 71.8% C 0.138 H 293.1°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).
Color values
| HEX | #A892F2 |
|---|---|
| RGB | rgb(168, 146, 242) |
| HSL | hsl(254, 79%, 76%) |
| HSV | hsv(254, 40%, 95%) |
| CMYK | cmyk(30.6%, 39.7%, 0%, 5.1%) |
| CIE-LAB | lab(65.98, 28.85, -45.35) |
| CIE-LCH | lch(65.98, 53.75, 302.46°) |
| OKLab | oklab(71.81% 0.0542 -0.1269) |
| OKLCH | oklch(71.81% 0.138 293.1) |
| XYZ | xyz(42.4503, 35.2927, 88.5628) |
| Luminance | 0.3529 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 5.09
Liliac
#C48EFD
ΔE00 5.93
Lavender Blue
#8B88F8
ΔE00 6.41
Pastel Purple
#CAA0FF
ΔE00 6.82
Periwinkle (survey)
#8E82FE
ΔE00 6.88
Baby Purple
#CA9BF7
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A892F2 #DCF292
analogous
#92ACF2 #A892F2 #D892F2
triadic
#A892F2 #F2A892 #92F2A8
tetradic
#A892F2 #F292AC #DCF292 #92F2D8
square
#A892F2 #F292AC #DCF292 #92F2D8
split-complementary
#A892F2 #F2D892 #ACF292
monochromatic
#5125E5 #7C5BEB #A892F2 #D4C9F9 #E9E4FC
Accessibility & contrast
On white
2.61
#A892F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.06
#A892F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A892F2
8.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A892F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A892F2 | 1.00 | 2.61 | 8.06 | 8.06 |
| #FFFFFF | 2.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#76A2F6
Deuteranopia (green-blind)
#789FF0
Tritanopia (blue-blind)
#97A3B6
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #a892f2; /* rgb */ color: rgb(168, 146, 242); /* oklch */ color: oklch(71.8% 0.138 293.1);
Tailwind
colors: {
custom: {
50: '#c4b2f7',
500: '#a892f2',
950: '#000000',
},
}SCSS
$custom: #a892f2; $custom-light: #c4b2f7; $custom-dark: #000000;
JSON
{
"hex": "#a892f2",
"rgb": {
"r": 168,
"g": 146,
"b": 242
},
"hsl": {
"h": 253.75,
"s": 78.689,
"l": 76.078
},
"oklch": {
"l": 0.7181,
"c": 0.13803,
"h": 293.1
},
"luminance": 0.35293
}Semantic roles & 50–950 ramp
primary
#A892F2
secondary
#EDF4D7
accent
#DB0BAB
background
#FCFAFF
surface
#F8F5FE
border
#D1CFD6
text
#131117
muted
#828085