#A168B2#A168B2
#A168B2 is a mid, vivid purple. Relative luminance 0.207; OKLCH L 60.6% C 0.125 H 318.2°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #A168B2 |
|---|---|
| RGB | rgb(161, 104, 178) |
| HSL | hsl(286, 32%, 55%) |
| HSV | hsv(286, 42%, 70%) |
| CMYK | cmyk(9.6%, 41.6%, 0%, 30.2%) |
| CIE-LAB | lab(52.61, 35.69, -30.29) |
| CIE-LCH | lch(52.61, 46.81, 319.68°) |
| OKLab | oklab(60.6% 0.0933 -0.0834) |
| OKLCH | oklch(60.6% 0.125 318.2) |
| XYZ | xyz(27.6830, 20.6929, 44.6467) |
| Luminance | 0.2069 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Soft Purple
#A66FB5
ΔE00 2.35
Dark Lilac
#9C6DA5
ΔE00 3.70
Deep Lilac
#966EBD
ΔE00 4.33
Amethyst
#9B5FC0
ΔE00 4.82
Deep Lavender
#8D5EB7
ΔE00 6.25
Wisteria
#A87DC2
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A168B2 #79B268
analogous
#7C68B2 #A168B2 #B2689E
triadic
#A168B2 #B2A168 #68B2A1
tetradic
#A168B2 #B27C68 #79B268 #689EB2
square
#A168B2 #B27C68 #79B268 #689EB2
split-complementary
#A168B2 #9EB268 #68B27C
monochromatic
#5E366A #824B92 #A168B2 #BA91C7 #D3B9DB
Accessibility & contrast
On white
4.09
#A168B2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.14
#A168B2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A168B2
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A168B2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A168B2 | 1.00 | 4.09 | 5.14 | 5.14 |
| #FFFFFF | 4.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D7AB5
Deuteranopia (green-blind)
#6C7FB0
Tritanopia (blue-blind)
#A17185
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #a168b2; /* rgb */ color: rgb(161, 104, 178); /* oklch */ color: oklch(60.6% 0.125 318.2);
Tailwind
colors: {
custom: {
50: '#be94c9',
500: '#a168b2',
950: '#000000',
},
}SCSS
$custom: #a168b2; $custom-light: #be94c9; $custom-dark: #000000;
JSON
{
"hex": "#a168b2",
"rgb": {
"r": 161,
"g": 104,
"b": 178
},
"hsl": {
"h": 286.216,
"s": 32.456,
"l": 55.294
},
"oklch": {
"l": 0.60597,
"c": 0.12514,
"h": 318.2
},
"luminance": 0.20692
}Semantic roles & 50–950 ramp
primary
#A168B2
secondary
#B3CAAB
accent
#C95F77
background
#FBF9FC
surface
#F7F1F8
border
#D0CBD1
text
#120D13
muted
#817E82