#A862BB#A862BB
#A862BB is a mid, vivid purple. Relative luminance 0.206; OKLCH L 60.9% C 0.149 H 318.8°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #A862BB |
|---|---|
| RGB | rgb(168, 98, 187) |
| HSL | hsl(287, 40%, 56%) |
| HSV | hsv(287, 48%, 73%) |
| CMYK | cmyk(10.2%, 47.6%, 0%, 26.7%) |
| CIE-LAB | lab(52.56, 42.94, -35.51) |
| CIE-LCH | lch(52.56, 55.72, 320.41°) |
| OKLab | oklab(60.88% 0.1122 -0.0982) |
| OKLCH | oklch(60.88% 0.149 318.8) |
| XYZ | xyz(29.4846, 20.6491, 49.4366) |
| Luminance | 0.2065 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.59
Soft Purple
#A66FB5
ΔE00 4.16
Mediumorchid
#BA55D3
ΔE00 5.17
Deep Lilac
#966EBD
ΔE00 5.33
Deep Lavender
#8D5EB7
ΔE00 6.10
Dark Lilac
#9C6DA5
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A862BB #75BB62
analogous
#7B62BB #A862BB #BB62A1
triadic
#A862BB #BBA862 #62BBA8
tetradic
#A862BB #BB7B62 #75BB62 #62A1BB
square
#A862BB #BB7B62 #75BB62 #62A1BB
split-complementary
#A862BB #A1BB62 #62BB7B
monochromatic
#643171 #89449C #A862BB #C08DCD #D7B7E0
Accessibility & contrast
On white
4.09
#A862BB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.13
#A862BB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A862BB
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A862BB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A862BB | 1.00 | 4.09 | 5.13 | 5.13 |
| #FFFFFF | 4.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5379BE
Deuteranopia (green-blind)
#6780B8
Tritanopia (blue-blind)
#A86E86
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #a862bb; /* rgb */ color: rgb(168, 98, 187); /* oklch */ color: oklch(60.9% 0.149 318.8);
Tailwind
colors: {
custom: {
50: '#c491d0',
500: '#a862bb',
950: '#000000',
},
}SCSS
$custom: #a862bb; $custom-light: #c491d0; $custom-dark: #000000;
JSON
{
"hex": "#a862bb",
"rgb": {
"r": 168,
"g": 98,
"b": 187
},
"hsl": {
"h": 287.191,
"s": 39.556,
"l": 55.882
},
"oklch": {
"l": 0.60878,
"c": 0.14912,
"h": 318.8
},
"luminance": 0.20648
}Semantic roles & 50–950 ramp
primary
#A862BB
secondary
#B2CFAA
accent
#CF5872
background
#FCF9FC
surface
#F8F1F9
border
#D1CBD2
text
#130D14
muted
#827E82