#A261B2#A261B2
#A261B2 is a mid, vivid purple. Relative luminance 0.194; OKLCH L 59.6% C 0.138 H 319.5°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #A261B2 |
|---|---|
| RGB | rgb(162, 97, 178) |
| HSL | hsl(288, 34%, 54%) |
| HSV | hsv(288, 46%, 70%) |
| CMYK | cmyk(9%, 45.5%, 0%, 30.2%) |
| CIE-LAB | lab(51.21, 39.86, -32.47) |
| CIE-LCH | lch(51.21, 51.41, 320.83°) |
| OKLab | oklab(59.57% 0.1049 -0.0896) |
| OKLCH | oklch(59.57% 0.138 319.5) |
| XYZ | xyz(27.2098, 19.4461, 44.4310) |
| Luminance | 0.1945 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.84
Soft Purple
#A66FB5
ΔE00 4.24
Dark Lilac
#9C6DA5
ΔE00 5.22
Deep Lilac
#966EBD
ΔE00 5.41
Deep Lavender
#8D5EB7
ΔE00 5.46
Mediumorchid
#BA55D3
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A261B2 #71B261
analogous
#7A61B2 #A261B2 #B2619A
triadic
#A261B2 #B2A261 #61B2A2
tetradic
#A261B2 #B27A61 #71B261 #619AB2
square
#A261B2 #B27A61 #71B261 #619AB2
split-complementary
#A261B2 #9AB261 #61B27A
monochromatic
#5C3267 #814690 #A261B2 #BA8AC6 #D2B3DA
Accessibility & contrast
On white
4.30
#A261B2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.89
#A261B2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A261B2
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A261B2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A261B2 | 1.00 | 4.30 | 4.89 | 4.89 |
| #FFFFFF | 4.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5476B5
Deuteranopia (green-blind)
#667CB0
Tritanopia (blue-blind)
#A36C81
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #a261b2; /* rgb */ color: rgb(162, 97, 178); /* oklch */ color: oklch(59.6% 0.138 319.5);
Tailwind
colors: {
custom: {
50: '#bf90c9',
500: '#a261b2',
950: '#000000',
},
}SCSS
$custom: #a261b2; $custom-light: #bf90c9; $custom-dark: #000000;
JSON
{
"hex": "#a261b2",
"rgb": {
"r": 162,
"g": 97,
"b": 178
},
"hsl": {
"h": 288.148,
"s": 34.468,
"l": 53.922
},
"oklch": {
"l": 0.5957,
"c": 0.13798,
"h": 319.5
},
"luminance": 0.19445
}Semantic roles & 50–950 ramp
primary
#A261B2
secondary
#ADC9A6
accent
#CB5D73
background
#FBF8FC
surface
#F7F0F8
border
#D0CBD1
text
#120D13
muted
#817D82