#A762BB#A762BB
#A762BB is a mid, vivid purple. Relative luminance 0.205; OKLCH L 60.8% C 0.149 H 318.3°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #A762BB |
|---|---|
| RGB | rgb(167, 98, 187) |
| HSL | hsl(287, 40%, 56%) |
| HSV | hsv(287, 48%, 73%) |
| CMYK | cmyk(10.7%, 47.6%, 0%, 26.7%) |
| CIE-LAB | lab(52.44, 42.65, -35.70) |
| CIE-LCH | lch(52.44, 55.62, 320.06°) |
| OKLab | oklab(60.76% 0.111 -0.0988) |
| OKLCH | oklch(60.76% 0.149 318.3) |
| XYZ | xyz(29.2725, 20.5397, 49.4267) |
| Luminance | 0.2054 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.38
Soft Purple
#A66FB5
ΔE00 4.20
Deep Lilac
#966EBD
ΔE00 5.18
Mediumorchid
#BA55D3
ΔE00 5.24
Deep Lavender
#8D5EB7
ΔE00 5.88
Dark Lilac
#9C6DA5
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A762BB #76BB62
analogous
#7A62BB #A762BB #BB62A2
triadic
#A762BB #BBA762 #62BBA7
tetradic
#A762BB #BB7A62 #76BB62 #62A2BB
square
#A762BB #BB7A62 #76BB62 #62A2BB
split-complementary
#A762BB #A2BB62 #62BB7A
monochromatic
#633171 #88449C #A762BB #BF8DCD #D7B7E0
Accessibility & contrast
On white
4.11
#A762BB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.11
#A762BB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A762BB
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A762BB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A762BB | 1.00 | 4.11 | 5.11 | 5.11 |
| #FFFFFF | 4.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5379BE
Deuteranopia (green-blind)
#667FB8
Tritanopia (blue-blind)
#A76E86
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #a762bb; /* rgb */ color: rgb(167, 98, 187); /* oklch */ color: oklch(60.8% 0.149 318.3);
Tailwind
colors: {
custom: {
50: '#c391d0',
500: '#a762bb',
950: '#000000',
},
}SCSS
$custom: #a762bb; $custom-light: #c391d0; $custom-dark: #000000;
JSON
{
"hex": "#a762bb",
"rgb": {
"r": 167,
"g": 98,
"b": 187
},
"hsl": {
"h": 286.517,
"s": 39.556,
"l": 55.882
},
"oklch": {
"l": 0.60761,
"c": 0.14861,
"h": 318.3
},
"luminance": 0.20539
}Semantic roles & 50–950 ramp
primary
#A762BB
secondary
#B2CFAA
accent
#CF5873
background
#FCF9FC
surface
#F8F1F9
border
#D1CBD2
text
#130D14
muted
#827E82