#A291F6#A291F6
#A291F6 is a light, vivid violet. Relative luminance 0.346; OKLCH L 71.3% C 0.145 H 290.0°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #A291F6 |
|---|---|
| RGB | rgb(162, 145, 246) |
| HSL | hsl(250, 85%, 77%) |
| HSV | hsv(250, 41%, 96%) |
| CMYK | cmyk(34.1%, 41.1%, 0%, 3.5%) |
| CIE-LAB | lab(65.42, 28.83, -48.45) |
| CIE-LCH | lch(65.42, 56.38, 300.75°) |
| OKLab | oklab(71.33% 0.0494 -0.1361) |
| OKLCH | oklch(71.33% 0.145 290) |
| XYZ | xyz(41.6558, 34.5850, 91.6518) |
| Luminance | 0.3459 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 3.99
Lavender Blue
#8B88F8
ΔE00 4.89
Periwinkle (survey)
#8E82FE
ΔE00 5.53
Periwinkle Blue
#8F99FB
ΔE00 5.71
Liliac
#C48EFD
ΔE00 7.11
Pastel Purple
#CAA0FF
ΔE00 8.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A291F6 #E5F691
analogous
#91B3F6 #A291F6 #D591F6
triadic
#A291F6 #F6A291 #91F6A2
tetradic
#A291F6 #F691B3 #E5F691 #91F6D5
square
#A291F6 #F691B3 #E5F691 #91F6D5
split-complementary
#A291F6 #F6D591 #B3F691
monochromatic
#4220ED #7258F1 #A291F6 #D2CAFB #E7E3FD
Accessibility & contrast
On white
2.65
#A291F6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.92
#A291F6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A291F6
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A291F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A291F6 | 1.00 | 2.65 | 7.92 | 7.92 |
| #FFFFFF | 2.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#71A1FA
Deuteranopia (green-blind)
#719DF4
Tritanopia (blue-blind)
#8DA4B8
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #a291f6; /* rgb */ color: rgb(162, 145, 246); /* oklch */ color: oklch(71.3% 0.145 290.0);
Tailwind
colors: {
custom: {
50: '#c0b1f9',
500: '#a291f6',
950: '#000000',
},
}SCSS
$custom: #a291f6; $custom-light: #c0b1f9; $custom-dark: #000000;
JSON
{
"hex": "#a291f6",
"rgb": {
"r": 162,
"g": 145,
"b": 246
},
"hsl": {
"h": 250.099,
"s": 84.874,
"l": 76.667
},
"oklch": {
"l": 0.71331,
"c": 0.14475,
"h": 290
},
"luminance": 0.34586
}Semantic roles & 50–950 ramp
primary
#A291F6
secondary
#F0F5D6
accent
#E104BC
background
#FCFAFF
surface
#F8F5FF
border
#D1CFD7
text
#121017
muted
#817F85