#A670DC#A670DC
#A670DC is a light, vivid violet. Relative luminance 0.249; OKLCH L 64.6% C 0.163 H 305.4°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #A670DC |
|---|---|
| RGB | rgb(166, 112, 220) |
| HSL | hsl(270, 61%, 65%) |
| HSV | hsv(270, 49%, 86%) |
| CMYK | cmyk(24.5%, 49.1%, 0%, 13.7%) |
| CIE-LAB | lab(56.94, 42.04, -47.41) |
| CIE-LCH | lch(56.94, 63.37, 311.57°) |
| OKLab | oklab(64.62% 0.0944 -0.1329) |
| OKLCH | oklch(64.62% 0.163 305.4) |
| XYZ | xyz(34.4356, 24.8629, 70.6812) |
| Luminance | 0.2486 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.96
Light Urple
#B36FF6
ΔE00 4.12
Light Purple
#BF77F6
ΔE00 5.57
Deep Lilac
#966EBD
ΔE00 5.69
Easter Purple
#C071FE
ΔE00 6.03
Lighter Purple
#A55AF4
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A670DC #A6DC70
analogous
#7070DC #A670DC #DC70DC
triadic
#A670DC #DCA670 #70DCA6
tetradic
#A670DC #DC7070 #A6DC70 #70DCDC
square
#A670DC #DC7070 #A6DC70 #70DCDC
split-complementary
#A670DC #DCDC70 #70DC70
monochromatic
#6929A8 #873FD0 #A670DC #C5A1E8 #E3D2F4
Accessibility & contrast
On white
3.52
#A670DC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.97
#A670DC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A670DC
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A670DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A670DC | 1.00 | 3.52 | 5.97 | 5.97 |
| #FFFFFF | 3.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5187E0
Deuteranopia (green-blind)
#6089D9
Tritanopia (blue-blind)
#9D839C
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #a670dc; /* rgb */ color: rgb(166, 112, 220); /* oklch */ color: oklch(64.6% 0.163 305.4);
Tailwind
colors: {
custom: {
50: '#c39ae7',
500: '#a670dc',
950: '#000000',
},
}SCSS
$custom: #a670dc; $custom-light: #c39ae7; $custom-dark: #000000;
JSON
{
"hex": "#a670dc",
"rgb": {
"r": 166,
"g": 112,
"b": 220
},
"hsl": {
"h": 270,
"s": 60.674,
"l": 65.098
},
"oklch": {
"l": 0.64618,
"c": 0.16303,
"h": 305.4
},
"luminance": 0.24863
}Semantic roles & 50–950 ramp
primary
#A670DC
secondary
#D4E6C2
accent
#C81D73
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84