#A671F6#A671F6
#A671F6 is a light, vivid violet. Relative luminance 0.266; OKLCH L 66.3% C 0.193 H 299.5°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #A671F6 |
|---|---|
| RGB | rgb(166, 113, 246) |
| HSL | hsl(264, 88%, 70%) |
| HSV | hsv(264, 54%, 96%) |
| CMYK | cmyk(32.5%, 54.1%, 0%, 3.5%) |
| CIE-LAB | lab(58.57, 47.74, -59.32) |
| CIE-LCH | lch(58.57, 76.14, 308.83°) |
| OKLab | oklab(66.29% 0.0949 -0.1677) |
| OKLCH | oklch(66.29% 0.193 299.5) |
| XYZ | xyz(38.2616, 26.5708, 90.2838) |
| Luminance | 0.2657 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.46
Easter Purple
#C071FE
ΔE00 4.59
Mediumpurple
#9370DB
ΔE00 4.86
Light Purple
#BF77F6
ΔE00 4.99
Lighter Purple
#A55AF4
ΔE00 5.44
Bright Lavender
#C760FF
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A671F6 #C1F671
analogous
#717EF6 #A671F6 #E971F6
triadic
#A671F6 #F6A671 #71F6A6
tetradic
#A671F6 #F6717E #C1F671 #71F6E9
square
#A671F6 #F6717E #C1F671 #71F6E9
split-complementary
#A671F6 #F6E971 #7EF671
monochromatic
#610EDE #8237F2 #A671F6 #CAABFA #EDE2FD
Accessibility & contrast
On white
3.33
#A671F6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.31
#A671F6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A671F6
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A671F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A671F6 | 1.00 | 3.33 | 6.31 | 6.31 |
| #FFFFFF | 3.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B8DFA
Deuteranopia (green-blind)
#4C8CF3
Tritanopia (blue-blind)
#958BA9
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #a671f6; /* rgb */ color: rgb(166, 113, 246); /* oklch */ color: oklch(66.3% 0.193 299.5);
Tailwind
colors: {
custom: {
50: '#c49bfa',
500: '#a671f6',
950: '#000000',
},
}SCSS
$custom: #a671f6; $custom-light: #c49bfa; $custom-dark: #000000;
JSON
{
"hex": "#a671f6",
"rgb": {
"r": 166,
"g": 113,
"b": 246
},
"hsl": {
"h": 263.91,
"s": 88.079,
"l": 70.392
},
"oklch": {
"l": 0.66288,
"c": 0.19273,
"h": 299.5
},
"luminance": 0.26571
}Semantic roles & 50–950 ramp
primary
#A671F6
secondary
#E5F4CF
accent
#E5018A
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85