#A670F4#A670F4
#A670F4 is a light, vivid violet. Relative luminance 0.262; OKLCH L 66.0% C 0.192 H 300.1°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #A670F4 |
|---|---|
| RGB | rgb(166, 112, 244) |
| HSL | hsl(265, 86%, 70%) |
| HSV | hsv(265, 54%, 96%) |
| CMYK | cmyk(32%, 54.1%, 0%, 4.3%) |
| CIE-LAB | lab(58.25, 47.79, -58.73) |
| CIE-LCH | lch(58.25, 75.72, 309.14°) |
| OKLab | oklab(66.01% 0.0961 -0.166) |
| OKLCH | oklch(66.01% 0.192 300.1) |
| XYZ | xyz(37.8453, 26.2267, 88.6388) |
| Luminance | 0.2623 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.37
Easter Purple
#C071FE
ΔE00 4.62
Mediumpurple
#9370DB
ΔE00 4.67
Light Purple
#BF77F6
ΔE00 5.01
Lighter Purple
#A55AF4
ΔE00 5.17
Bright Lavender
#C760FF
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A670F4 #BEF470
analogous
#707CF4 #A670F4 #E870F4
triadic
#A670F4 #F4A670 #70F4A6
tetradic
#A670F4 #F4707C #BEF470 #70F4E8
square
#A670F4 #F4707C #BEF470 #70F4E8
split-complementary
#A670F4 #F4E870 #7CF470
monochromatic
#6311D9 #8337F0 #A670F4 #C9A9F8 #EDE2FD
Accessibility & contrast
On white
3.36
#A670F4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.25
#A670F4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A670F4
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A670F4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A670F4 | 1.00 | 3.36 | 6.25 | 6.25 |
| #FFFFFF | 3.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B8CF8
Deuteranopia (green-blind)
#4D8BF1
Tritanopia (blue-blind)
#968AA7
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #a670f4; /* rgb */ color: rgb(166, 112, 244); /* oklch */ color: oklch(66.0% 0.192 300.1);
Tailwind
colors: {
custom: {
50: '#c49bf8',
500: '#a670f4',
950: '#000000',
},
}SCSS
$custom: #a670f4; $custom-light: #c49bf8; $custom-dark: #000000;
JSON
{
"hex": "#a670f4",
"rgb": {
"r": 166,
"g": 112,
"b": 244
},
"hsl": {
"h": 264.545,
"s": 85.714,
"l": 69.804
},
"oklch": {
"l": 0.66013,
"c": 0.1918,
"h": 300.1
},
"luminance": 0.26227
}Semantic roles & 50–950 ramp
primary
#A670F4
secondary
#E3F3CD
accent
#E20387
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85