#B562CD#B562CD
#B562CD is a light, vivid purple. Relative luminance 0.230; OKLCH L 63.3% C 0.174 H 318.2°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #B562CD |
|---|---|
| RGB | rgb(181, 98, 205) |
| HSL | hsl(287, 52%, 59%) |
| HSV | hsv(287, 52%, 80%) |
| CMYK | cmyk(11.7%, 52.2%, 0%, 19.6%) |
| CIE-LAB | lab(55.04, 50.26, -41.82) |
| CIE-LCH | lch(55.04, 65.38, 320.24°) |
| OKLab | oklab(63.34% 0.1301 -0.1162) |
| OKLCH | oklch(63.34% 0.174 318.2) |
| XYZ | xyz(34.4417, 22.9682, 60.3648) |
| Luminance | 0.2297 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 2.86
Amethyst
#9B5FC0
ΔE00 5.39
Pinky Purple
#C94CBE
ΔE00 6.04
Soft Purple
#A66FB5
ΔE00 6.08
Pinkish Purple
#D648D7
ΔE00 6.11
Bright Lilac
#C95EFB
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B562CD #7ACD62
analogous
#8062CD #B562CD #CD62B0
triadic
#B562CD #CDB562 #62CDB5
tetradic
#B562CD #CD8062 #7ACD62 #62B0CD
square
#B562CD #CD8062 #7ACD62 #62B0CD
split-complementary
#B562CD #B0CD62 #62CD80
monochromatic
#742C89 #9B3AB7 #B562CD #CB90DC #E1BFEB
Accessibility & contrast
On white
3.75
#B562CD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.59
#B562CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B562CD
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B562CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B562CD | 1.00 | 3.75 | 5.59 | 5.59 |
| #FFFFFF | 3.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D7ED1
Deuteranopia (green-blind)
#6787CA
Tritanopia (blue-blind)
#B5728E
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #b562cd; /* rgb */ color: rgb(181, 98, 205); /* oklch */ color: oklch(63.3% 0.174 318.2);
Tailwind
colors: {
custom: {
50: '#cd92dc',
500: '#b562cd',
950: '#000000',
},
}SCSS
$custom: #b562cd; $custom-light: #cd92dc; $custom-dark: #000000;
JSON
{
"hex": "#b562cd",
"rgb": {
"r": 181,
"g": 98,
"b": 205
},
"hsl": {
"h": 286.542,
"s": 51.691,
"l": 59.412
},
"oklch": {
"l": 0.63343,
"c": 0.17445,
"h": 318.2
},
"luminance": 0.22967
}Semantic roles & 50–950 ramp
primary
#B562CD
secondary
#BADAB1
accent
#DB4D6D
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#140D15
muted
#827E83