#A178CF#A178CF
#A178CF is a light, vivid violet. Relative luminance 0.255; OKLCH L 64.8% C 0.133 H 304.7°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #A178CF |
|---|---|
| RGB | rgb(161, 120, 207) |
| HSL | hsl(268, 48%, 64%) |
| HSV | hsv(268, 42%, 81%) |
| CMYK | cmyk(22.2%, 42%, 0%, 18.8%) |
| CIE-LAB | lab(57.57, 33.13, -39.12) |
| CIE-LCH | lch(57.57, 51.26, 310.27°) |
| OKLab | oklab(64.76% 0.0754 -0.1089) |
| OKLCH | oklch(64.76% 0.133 304.7) |
| XYZ | xyz(32.6746, 25.5151, 62.2229) |
| Luminance | 0.2551 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 4.23
Deep Lilac
#966EBD
ΔE00 4.26
Mediumpurple
#9370DB
ΔE00 4.93
Soft Purple
#A66FB5
ΔE00 6.19
Light Urple
#B36FF6
ΔE00 6.94
Light Purple
#BF77F6
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A178CF #A6CF78
analogous
#787BCF #A178CF #CD78CF
triadic
#A178CF #CFA178 #78CFA1
tetradic
#A178CF #CF787B #A6CF78 #78CFCD
square
#A178CF #CF787B #A6CF78 #78CFCD
split-complementary
#A178CF #CFCD78 #7BCF78
monochromatic
#643697 #824BBF #A178CF #C0A5DF #E0D2EF
Accessibility & contrast
On white
3.44
#A178CF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.10
#A178CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A178CF
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A178CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A178CF | 1.00 | 3.44 | 6.10 | 6.10 |
| #FFFFFF | 3.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6389D2
Deuteranopia (green-blind)
#6C8ACD
Tritanopia (blue-blind)
#9A869A
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #a178cf; /* rgb */ color: rgb(161, 120, 207); /* oklch */ color: oklch(64.8% 0.133 304.7);
Tailwind
colors: {
custom: {
50: '#be9fde',
500: '#a178cf',
950: '#000000',
},
}SCSS
$custom: #a178cf; $custom-light: #be9fde; $custom-dark: #000000;
JSON
{
"hex": "#a178cf",
"rgb": {
"r": 161,
"g": 120,
"b": 207
},
"hsl": {
"h": 268.276,
"s": 47.541,
"l": 64.118
},
"oklch": {
"l": 0.64764,
"c": 0.1325,
"h": 304.7
},
"luminance": 0.25515
}Semantic roles & 50–950 ramp
primary
#A178CF
secondary
#D2E1C2
accent
#BB2B77
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83