#B562AE#B562AE
#B562AE is a mid, vivid purple. Relative luminance 0.216; OKLCH L 61.8% C 0.144 H 330.3°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #B562AE |
|---|---|
| RGB | rgb(181, 98, 174) |
| HSL | hsl(305, 36%, 55%) |
| HSV | hsv(305, 46%, 71%) |
| CMYK | cmyk(0%, 45.9%, 3.9%, 29%) |
| CIE-LAB | lab(53.62, 44.33, -26.22) |
| CIE-LCH | lch(53.62, 51.50, 329.40°) |
| OKLab | oklab(61.82% 0.1252 -0.0714) |
| OKLCH | oklch(61.82% 0.144 330.3) |
| XYZ | xyz(31.0634, 21.6168, 42.5725) |
| Luminance | 0.2162 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 4.95
Soft Purple
#A66FB5
ΔE00 4.96
Pinky Purple
#C94CBE
ΔE00 5.56
Dark Lilac
#9C6DA5
ΔE00 6.10
Orchid (survey)
#C875C4
ΔE00 6.59
Purpley Pink
#C83CB9
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B562AE #62B569
analogous
#9262B5 #B562AE #B56285
triadic
#B562AE #AEB562 #62AEB5
tetradic
#B562AE #B59262 #62B569 #6285B5
square
#B562AE #B59262 #62B569 #6285B5
split-complementary
#B562AE #85B562 #62B592
monochromatic
#6A3266 #94468D #B562AE #C98CC3 #DCB5D9
Accessibility & contrast
On white
3.95
#B562AE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.32
#B562AE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B562AE
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B562AE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B562AE | 1.00 | 3.95 | 5.32 | 5.32 |
| #FFFFFF | 3.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E79B1
Deuteranopia (green-blind)
#7584AB
Tritanopia (blue-blind)
#BB6980
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #b562ae; /* rgb */ color: rgb(181, 98, 174); /* oklch */ color: oklch(61.8% 0.144 330.3);
Tailwind
colors: {
custom: {
50: '#cd91c6',
500: '#b562ae',
950: '#000000',
},
}SCSS
$custom: #b562ae; $custom-light: #cd91c6; $custom-dark: #000000;
JSON
{
"hex": "#b562ae",
"rgb": {
"r": 181,
"g": 98,
"b": 174
},
"hsl": {
"h": 305.06,
"s": 35.931,
"l": 54.706
},
"oklch": {
"l": 0.61824,
"c": 0.14414,
"h": 330.3
},
"luminance": 0.21615
}Semantic roles & 50–950 ramp
primary
#B562AE
secondary
#A8CBAB
accent
#CC655C
background
#FCF9FC
surface
#F9F1F8
border
#D2CBD1
text
#140D13
muted
#827E82