#A170BF#A170BF
#A170BF is a light, vivid violet. Relative luminance 0.229; OKLCH L 62.6% C 0.126 H 311.7°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #A170BF |
|---|---|
| RGB | rgb(161, 112, 191) |
| HSL | hsl(277, 38%, 59%) |
| HSV | hsv(277, 41%, 75%) |
| CMYK | cmyk(15.7%, 41.4%, 0%, 25.1%) |
| CIE-LAB | lab(55.00, 34.01, -34.05) |
| CIE-LCH | lch(55.00, 48.13, 314.96°) |
| OKLab | oklab(62.58% 0.084 -0.0943) |
| OKLCH | oklch(62.58% 0.126 311.7) |
| XYZ | xyz(29.8944, 22.9275, 52.1307) |
| Luminance | 0.2293 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 2.52
Soft Purple
#A66FB5
ΔE00 2.85
Wisteria
#A87DC2
ΔE00 4.12
Amethyst
#9B5FC0
ΔE00 5.32
Dark Lilac
#9C6DA5
ΔE00 5.59
Mediumpurple
#9370DB
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A170BF #8EBF70
analogous
#7A70BF #A170BF #BF70B6
triadic
#A170BF #BFA170 #70BFA1
tetradic
#A170BF #BF7A70 #8EBF70 #70B6BF
square
#A170BF #BF7A70 #8EBF70 #70B6BF
split-complementary
#A170BF #B6BF70 #70BF7A
monochromatic
#63387D #844BA7 #A170BF #BD9AD2 #D9C5E5
Accessibility & contrast
On white
3.76
#A170BF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.59
#A170BF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A170BF
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A170BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A170BF | 1.00 | 3.76 | 5.59 | 5.59 |
| #FFFFFF | 3.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6081C2
Deuteranopia (green-blind)
#6D85BD
Tritanopia (blue-blind)
#9E7B8E
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #a170bf; /* rgb */ color: rgb(161, 112, 191); /* oklch */ color: oklch(62.6% 0.126 311.7);
Tailwind
colors: {
custom: {
50: '#be9ad2',
500: '#a170bf',
950: '#000000',
},
}SCSS
$custom: #a170bf; $custom-light: #be9ad2; $custom-dark: #000000;
JSON
{
"hex": "#a170bf",
"rgb": {
"r": 161,
"g": 112,
"b": 191
},
"hsl": {
"h": 277.215,
"s": 38.164,
"l": 59.412
},
"oklch": {
"l": 0.62582,
"c": 0.12627,
"h": 311.7
},
"luminance": 0.22927
}Semantic roles & 50–950 ramp
primary
#A170BF
secondary
#C2D5B6
accent
#CE5A86
background
#FBF9FC
surface
#F7F2F9
border
#D0CCD2
text
#120E14
muted
#817E82