#A762BF#A762BF
#A762BF is a mid, vivid purple. Relative luminance 0.207; OKLCH L 61.0% C 0.153 H 316.8°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #A762BF |
|---|---|
| RGB | rgb(167, 98, 191) |
| HSL | hsl(285, 42%, 57%) |
| HSV | hsv(285, 49%, 75%) |
| CMYK | cmyk(12.6%, 48.7%, 0%, 25.1%) |
| CIE-LAB | lab(52.63, 43.48, -37.71) |
| CIE-LCH | lch(52.63, 57.55, 319.07°) |
| OKLab | oklab(60.97% 0.1116 -0.1046) |
| OKLCH | oklch(60.97% 0.153 316.8) |
| XYZ | xyz(29.7066, 20.7134, 51.7133) |
| Luminance | 0.2071 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 2.96
Soft Purple
#A66FB5
ΔE00 4.61
Mediumorchid
#BA55D3
ΔE00 4.77
Deep Lilac
#966EBD
ΔE00 5.01
Deep Lavender
#8D5EB7
ΔE00 5.72
Dark Lilac
#9C6DA5
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A762BF #7ABF62
analogous
#7962BF #A762BF #BF62A9
triadic
#A762BF #BFA762 #62BFA7
tetradic
#A762BF #BF7962 #7ABF62 #62A9BF
square
#A762BF #BF7962 #7ABF62 #62A9BF
split-complementary
#A762BF #A9BF62 #62BF79
monochromatic
#643076 #8942A2 #A762BF #BF8DD1 #D8B9E2
Accessibility & contrast
On white
4.08
#A762BF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.14
#A762BF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A762BF
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A762BF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A762BF | 1.00 | 4.08 | 5.14 | 5.14 |
| #FFFFFF | 4.08 | 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)
#5079C2
Deuteranopia (green-blind)
#6480BC
Tritanopia (blue-blind)
#A66F88
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #a762bf; /* rgb */ color: rgb(167, 98, 191); /* oklch */ color: oklch(61.0% 0.153 316.8);
Tailwind
colors: {
custom: {
50: '#c391d2',
500: '#a762bf',
950: '#000000',
},
}SCSS
$custom: #a762bf; $custom-light: #c391d2; $custom-dark: #000000;
JSON
{
"hex": "#a762bf",
"rgb": {
"r": 167,
"g": 98,
"b": 191
},
"hsl": {
"h": 284.516,
"s": 42.081,
"l": 56.667
},
"oklch": {
"l": 0.60967,
"c": 0.15293,
"h": 316.8
},
"luminance": 0.20712
}Semantic roles & 50–950 ramp
primary
#A762BF
secondary
#B5D1AB
accent
#D25676
background
#FCF9FC
surface
#F8F1F9
border
#D1CBD2
text
#130D14
muted
#827E82