#A170CD#A170CD
#A170CD is a light, vivid violet. Relative luminance 0.236; OKLCH L 63.3% C 0.143 H 307.1°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #A170CD |
|---|---|
| RGB | rgb(161, 112, 205) |
| HSL | hsl(272, 48%, 62%) |
| HSV | hsv(272, 45%, 80%) |
| CMYK | cmyk(21.5%, 45.4%, 0%, 19.6%) |
| CIE-LAB | lab(55.66, 37.18, -41.00) |
| CIE-LCH | lch(55.66, 55.34, 312.20°) |
| OKLab | oklab(63.29% 0.0864 -0.1144) |
| OKLCH | oklch(63.29% 0.143 307.1) |
| XYZ | xyz(31.5094, 23.5735, 60.6360) |
| Luminance | 0.2357 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 3.27
Mediumpurple
#9370DB
ΔE00 4.53
Amethyst
#9B5FC0
ΔE00 5.28
Wisteria
#A87DC2
ΔE00 5.45
Soft Purple
#A66FB5
ΔE00 5.54
Light Urple
#B36FF6
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A170CD #9CCD70
analogous
#7370CD #A170CD #CD70CB
triadic
#A170CD #CDA170 #70CDA1
tetradic
#A170CD #CD7370 #9CCD70 #70CBCD
square
#A170CD #CD7370 #9CCD70 #70CBCD
split-complementary
#A170CD #CBCD70 #70CD73
monochromatic
#643290 #8343BD #A170CD #BF9DDD #DDCBED
Accessibility & contrast
On white
3.67
#A170CD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.71
#A170CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A170CD
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A170CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A170CD | 1.00 | 3.67 | 5.71 | 5.71 |
| #FFFFFF | 3.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5983D0
Deuteranopia (green-blind)
#6586CB
Tritanopia (blue-blind)
#9B7F95
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #a170cd; /* rgb */ color: rgb(161, 112, 205); /* oklch */ color: oklch(63.3% 0.143 307.1);
Tailwind
colors: {
custom: {
50: '#bf9adc',
500: '#a170cd',
950: '#000000',
},
}SCSS
$custom: #a170cd; $custom-light: #bf9adc; $custom-dark: #000000;
JSON
{
"hex": "#a170cd",
"rgb": {
"r": 161,
"g": 112,
"b": 205
},
"hsl": {
"h": 271.613,
"s": 48.187,
"l": 62.157
},
"oklch": {
"l": 0.63294,
"c": 0.14333,
"h": 307.1
},
"luminance": 0.23573
}Semantic roles & 50–950 ramp
primary
#A170CD
secondary
#CBDDBB
accent
#BB2A6F
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83