#A165BB#A165BB
#A165BB is a mid, vivid purple. Relative luminance 0.205; OKLCH L 60.6% C 0.141 H 315.0°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #A165BB |
|---|---|
| RGB | rgb(161, 101, 187) |
| HSL | hsl(282, 39%, 56%) |
| HSV | hsv(282, 46%, 73%) |
| CMYK | cmyk(13.9%, 46%, 0%, 26.7%) |
| CIE-LAB | lab(52.37, 39.27, -35.87) |
| CIE-LCH | lch(52.37, 53.18, 317.59°) |
| OKLab | oklab(60.55% 0.0993 -0.0995) |
| OKLCH | oklch(60.55% 0.141 315) |
| XYZ | xyz(28.3199, 20.4730, 49.4639) |
| Luminance | 0.2047 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 2.76
Deep Lilac
#966EBD
ΔE00 3.76
Soft Purple
#A66FB5
ΔE00 3.93
Deep Lavender
#8D5EB7
ΔE00 4.96
Dark Lilac
#9C6DA5
ΔE00 5.89
Mediumorchid
#BA55D3
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A165BB #7FBB65
analogous
#7665BB #A165BB #BB65AA
triadic
#A165BB #BBA165 #65BBA1
tetradic
#A165BB #BB7665 #7FBB65 #65AABB
square
#A165BB #BB7665 #7FBB65 #65AABB
split-complementary
#A165BB #AABB65 #65BB76
monochromatic
#5F3373 #83459D #A165BB #BB8FCE #D5BAE0
Accessibility & contrast
On white
4.12
#A165BB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.09
#A165BB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A165BB
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A165BB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A165BB | 1.00 | 4.12 | 5.09 | 5.09 |
| #FFFFFF | 4.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5479BE
Deuteranopia (green-blind)
#657FB9
Tritanopia (blue-blind)
#9F7187
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #a165bb; /* rgb */ color: rgb(161, 101, 187); /* oklch */ color: oklch(60.6% 0.141 315.0);
Tailwind
colors: {
custom: {
50: '#be92d0',
500: '#a165bb',
950: '#000000',
},
}SCSS
$custom: #a165bb; $custom-light: #be92d0; $custom-dark: #000000;
JSON
{
"hex": "#a165bb",
"rgb": {
"r": 161,
"g": 101,
"b": 187
},
"hsl": {
"h": 281.86,
"s": 38.739,
"l": 56.471
},
"oklch": {
"l": 0.6055,
"c": 0.14058,
"h": 315
},
"luminance": 0.20472
}Semantic roles & 50–950 ramp
primary
#A165BB
secondary
#B7D0AC
accent
#CF597D
background
#FBF9FC
surface
#F7F1F9
border
#D0CBD2
text
#120D14
muted
#817E82