#A674E4#A674E4
#A674E4 is a light, vivid violet. Relative luminance 0.262; OKLCH L 65.7% C 0.166 H 302.7°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #A674E4 |
|---|---|
| RGB | rgb(166, 116, 228) |
| HSL | hsl(267, 67%, 67%) |
| HSV | hsv(267, 49%, 89%) |
| CMYK | cmyk(27.2%, 49.1%, 0%, 10.6%) |
| CIE-LAB | lab(58.23, 41.73, -49.86) |
| CIE-LCH | lch(58.23, 65.02, 309.93°) |
| OKLab | oklab(65.71% 0.0899 -0.14) |
| OKLCH | oklch(65.71% 0.166 302.7) |
| XYZ | xyz(35.9718, 26.1992, 76.5456) |
| Luminance | 0.2620 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.36
Mediumpurple
#9370DB
ΔE00 3.89
Light Purple
#BF77F6
ΔE00 4.82
Easter Purple
#C071FE
ΔE00 5.31
Lighter Purple
#A55AF4
ΔE00 6.63
Deep Lilac
#966EBD
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A674E4 #B2E474
analogous
#747AE4 #A674E4 #DE74E4
triadic
#A674E4 #E4A674 #74E4A6
tetradic
#A674E4 #E4747A #B2E474 #74E4DE
square
#A674E4 #E4747A #B2E474 #74E4DE
split-complementary
#A674E4 #E4DE74 #7AE474
monochromatic
#6724BA #8541DA #A674E4 #C7A7EE #E8DAF8
Accessibility & contrast
On white
3.37
#A674E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.24
#A674E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A674E4
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A674E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A674E4 | 1.00 | 3.37 | 6.24 | 6.24 |
| #FFFFFF | 3.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#518BE8
Deuteranopia (green-blind)
#5F8CE1
Tritanopia (blue-blind)
#9B88A1
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #a674e4; /* rgb */ color: rgb(166, 116, 228); /* oklch */ color: oklch(65.7% 0.166 302.7);
Tailwind
colors: {
custom: {
50: '#c39ded',
500: '#a674e4',
950: '#000000',
},
}SCSS
$custom: #a674e4; $custom-light: #c39ded; $custom-dark: #000000;
JSON
{
"hex": "#a674e4",
"rgb": {
"r": 166,
"g": 116,
"b": 228
},
"hsl": {
"h": 266.786,
"s": 67.47,
"l": 67.451
},
"oklch": {
"l": 0.65709,
"c": 0.16642,
"h": 302.7
},
"luminance": 0.26199
}Semantic roles & 50–950 ramp
primary
#A674E4
secondary
#DCEBC8
accent
#CF167D
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84