#A670EF#A670EF
#A670EF is a light, vivid violet. Relative luminance 0.259; OKLCH L 65.7% C 0.186 H 301.1°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #A670EF |
|---|---|
| RGB | rgb(166, 112, 239) |
| HSL | hsl(266, 80%, 69%) |
| HSV | hsv(266, 53%, 94%) |
| CMYK | cmyk(30.5%, 53.1%, 0%, 6.3%) |
| CIE-LAB | lab(57.97, 46.57, -56.40) |
| CIE-LCH | lch(57.97, 73.15, 309.55°) |
| OKLab | oklab(65.71% 0.0959 -0.1592) |
| OKLCH | oklch(65.71% 0.186 301.1) |
| XYZ | xyz(37.0964, 25.9272, 84.6947) |
| Luminance | 0.2593 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.38
Mediumpurple
#9370DB
ΔE00 4.26
Easter Purple
#C071FE
ΔE00 4.71
Light Purple
#BF77F6
ΔE00 4.92
Lighter Purple
#A55AF4
ΔE00 5.19
Bright Lavender
#C760FF
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A670EF #B9EF70
analogous
#707AEF #A670EF #E670EF
triadic
#A670EF #EFA670 #70EFA6
tetradic
#A670EF #EF707A #B9EF70 #70EFE6
square
#A670EF #EF707A #B9EF70 #70EFE6
split-complementary
#A670EF #EFE670 #7AEF70
monochromatic
#6517CE #8439E9 #A670EF #C8A7F5 #EBDEFB
Accessibility & contrast
On white
3.40
#A670EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.19
#A670EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A670EF
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A670EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A670EF | 1.00 | 3.40 | 6.19 | 6.19 |
| #FFFFFF | 3.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#408BF3
Deuteranopia (green-blind)
#518BEC
Tritanopia (blue-blind)
#9889A5
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #a670ef; /* rgb */ color: rgb(166, 112, 239); /* oklch */ color: oklch(65.7% 0.186 301.1);
Tailwind
colors: {
custom: {
50: '#c49bf5',
500: '#a670ef',
950: '#000000',
},
}SCSS
$custom: #a670ef; $custom-light: #c49bf5; $custom-dark: #000000;
JSON
{
"hex": "#a670ef",
"rgb": {
"r": 166,
"g": 112,
"b": 239
},
"hsl": {
"h": 265.512,
"s": 79.874,
"l": 68.824
},
"oklch": {
"l": 0.65712,
"c": 0.18583,
"h": 301.1
},
"luminance": 0.25927
}Semantic roles & 50–950 ramp
primary
#A670EF
secondary
#E0F0CB
accent
#DC0983
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85