#A674F7#A674F7
#A674F7 is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.8% C 0.190 H 298.8°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #A674F7 |
|---|---|
| RGB | rgb(166, 116, 247) |
| HSL | hsl(263, 89%, 71%) |
| HSV | hsv(263, 53%, 97%) |
| CMYK | cmyk(32.8%, 53%, 0%, 3.1%) |
| CIE-LAB | lab(59.26, 46.36, -58.77) |
| CIE-LCH | lch(59.26, 74.85, 308.27°) |
| OKLab | oklab(66.82% 0.0913 -0.1661) |
| OKLCH | oklch(66.82% 0.19 298.8) |
| XYZ | xyz(38.7557, 27.3128, 91.2077) |
| Luminance | 0.2731 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.74
Easter Purple
#C071FE
ΔE00 4.62
Light Purple
#BF77F6
ΔE00 4.86
Mediumpurple
#9370DB
ΔE00 5.04
Lighter Purple
#A55AF4
ΔE00 6.21
Periwinkle (survey)
#8E82FE
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A674F7 #C5F774
analogous
#7483F7 #A674F7 #E874F7
triadic
#A674F7 #F7A674 #74F7A6
tetradic
#A674F7 #F77483 #C5F774 #74F7E8
square
#A674F7 #F77483 #C5F774 #74F7E8
split-complementary
#A674F7 #F7E874 #83F774
monochromatic
#5F0DE4 #813AF4 #A674F7 #CBAEFA #ECE2FD
Accessibility & contrast
On white
3.25
#A674F7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.46
#A674F7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A674F7
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A674F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A674F7 | 1.00 | 3.25 | 6.46 | 6.46 |
| #FFFFFF | 3.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#408FFB
Deuteranopia (green-blind)
#4F8DF4
Tritanopia (blue-blind)
#958EAB
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #a674f7; /* rgb */ color: rgb(166, 116, 247); /* oklch */ color: oklch(66.8% 0.190 298.8);
Tailwind
colors: {
custom: {
50: '#c49dfa',
500: '#a674f7',
950: '#000000',
},
}SCSS
$custom: #a674f7; $custom-light: #c49dfa; $custom-dark: #000000;
JSON
{
"hex": "#a674f7",
"rgb": {
"r": 166,
"g": 116,
"b": 247
},
"hsl": {
"h": 262.901,
"s": 89.116,
"l": 71.176
},
"oklch": {
"l": 0.66815,
"c": 0.18954,
"h": 298.8
},
"luminance": 0.27313
}Semantic roles & 50–950 ramp
primary
#A674F7
secondary
#E7F5D2
accent
#E6008E
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85