#A178CD#A178CD
#A178CD is a light, vivid violet. Relative luminance 0.254; OKLCH L 64.7% C 0.130 H 305.3°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #A178CD |
|---|---|
| RGB | rgb(161, 120, 205) |
| HSL | hsl(269, 46%, 64%) |
| HSV | hsv(269, 41%, 80%) |
| CMYK | cmyk(21.5%, 41.5%, 0%, 19.6%) |
| CIE-LAB | lab(57.48, 32.67, -38.13) |
| CIE-LCH | lch(57.48, 50.21, 310.58°) |
| OKLab | oklab(64.66% 0.0751 -0.1061) |
| OKLCH | oklch(64.66% 0.13 305.3) |
| XYZ | xyz(32.4316, 25.4180, 60.9434) |
| Luminance | 0.2542 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 3.89
Deep Lilac
#966EBD
ΔE00 4.07
Mediumpurple
#9370DB
ΔE00 5.23
Soft Purple
#A66FB5
ΔE00 5.85
Light Urple
#B36FF6
ΔE00 7.26
Amethyst
#9B5FC0
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A178CD #A4CD78
analogous
#7879CD #A178CD #CB78CD
triadic
#A178CD #CDA178 #78CDA1
tetradic
#A178CD #CD7879 #A4CD78 #78CDCB
square
#A178CD #CD7879 #A4CD78 #78CDCB
split-complementary
#A178CD #CDCB78 #79CD78
monochromatic
#643794 #824BBC #A178CD #C0A5DE #DFD1EE
Accessibility & contrast
On white
3.45
#A178CD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.08
#A178CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A178CD
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A178CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A178CD | 1.00 | 3.45 | 6.08 | 6.08 |
| #FFFFFF | 3.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6489D0
Deuteranopia (green-blind)
#6D8ACB
Tritanopia (blue-blind)
#9A8699
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #a178cd; /* rgb */ color: rgb(161, 120, 205); /* oklch */ color: oklch(64.7% 0.130 305.3);
Tailwind
colors: {
custom: {
50: '#be9fdc',
500: '#a178cd',
950: '#000000',
},
}SCSS
$custom: #a178cd; $custom-light: #be9fdc; $custom-dark: #000000;
JSON
{
"hex": "#a178cd",
"rgb": {
"r": 161,
"g": 120,
"b": 205
},
"hsl": {
"h": 268.941,
"s": 45.946,
"l": 63.725
},
"oklch": {
"l": 0.64663,
"c": 0.12996,
"h": 305.3
},
"luminance": 0.25418
}Semantic roles & 50–950 ramp
primary
#A178CD
secondary
#D1DFC1
accent
#B92C75
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83