#A671CD#A671CD
#A671CD is a light, vivid violet. Relative luminance 0.243; OKLCH L 64.0% C 0.143 H 309.4°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #A671CD |
|---|---|
| RGB | rgb(166, 113, 205) |
| HSL | hsl(275, 48%, 62%) |
| HSV | hsv(275, 45%, 80%) |
| CMYK | cmyk(19%, 44.9%, 0%, 19.6%) |
| CIE-LAB | lab(56.41, 38.05, -39.77) |
| CIE-LCH | lch(56.41, 55.04, 313.73°) |
| OKLab | oklab(63.98% 0.0911 -0.1107) |
| OKLCH | oklch(63.98% 0.143 309.4) |
| XYZ | xyz(32.6484, 24.3255, 60.7211) |
| Luminance | 0.2432 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 3.89
Wisteria
#A87DC2
ΔE00 4.80
Soft Purple
#A66FB5
ΔE00 5.00
Mediumpurple
#9370DB
ΔE00 5.52
Amethyst
#9B5FC0
ΔE00 5.76
Light Urple
#B36FF6
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A671CD #98CD71
analogous
#7871CD #A671CD #CD71C6
triadic
#A671CD #CDA671 #71CDA6
tetradic
#A671CD #CD7871 #98CD71 #71C6CD
square
#A671CD #CD7871 #98CD71 #71C6CD
split-complementary
#A671CD #C6CD71 #71CD78
monochromatic
#693391 #8A44BD #A671CD #C29EDD #DFCCED
Accessibility & contrast
On white
3.58
#A671CD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.87
#A671CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A671CD
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A671CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A671CD | 1.00 | 3.58 | 5.87 | 5.87 |
| #FFFFFF | 3.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C85D0
Deuteranopia (green-blind)
#6A88CB
Tritanopia (blue-blind)
#A17F95
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #a671cd; /* rgb */ color: rgb(166, 113, 205); /* oklch */ color: oklch(64.0% 0.143 309.4);
Tailwind
colors: {
custom: {
50: '#c29bdc',
500: '#a671cd',
950: '#000000',
},
}SCSS
$custom: #a671cd; $custom-light: #c29bdc; $custom-dark: #000000;
JSON
{
"hex": "#a671cd",
"rgb": {
"r": 166,
"g": 113,
"b": 205
},
"hsl": {
"h": 274.565,
"s": 47.917,
"l": 62.353
},
"oklch": {
"l": 0.63979,
"c": 0.14335,
"h": 309.4
},
"luminance": 0.24325
}Semantic roles & 50–950 ramp
primary
#A671CD
secondary
#CADEBC
accent
#BB2A68
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83