#B562CE#B562CE
#B562CE is a light, vivid purple. Relative luminance 0.230; OKLCH L 63.4% C 0.175 H 317.9°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #B562CE |
|---|---|
| RGB | rgb(181, 98, 206) |
| HSL | hsl(286, 52%, 60%) |
| HSV | hsv(286, 52%, 81%) |
| CMYK | cmyk(12.1%, 52.4%, 0%, 19.2%) |
| CIE-LAB | lab(55.09, 50.46, -42.31) |
| CIE-LCH | lch(55.09, 65.85, 320.02°) |
| OKLab | oklab(63.4% 0.1302 -0.1176) |
| OKLCH | oklch(63.4% 0.175 317.9) |
| XYZ | xyz(34.5628, 23.0166, 61.0026) |
| Luminance | 0.2301 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 2.81
Amethyst
#9B5FC0
ΔE00 5.40
Pinkish Purple
#D648D7
ΔE00 6.12
Pinky Purple
#C94CBE
ΔE00 6.14
Soft Purple
#A66FB5
ΔE00 6.20
Bright Lilac
#C95EFB
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B562CE #7BCE62
analogous
#7F62CE #B562CE #CE62B1
triadic
#B562CE #CEB562 #62CEB5
tetradic
#B562CE #CE7F62 #7BCE62 #62B1CE
square
#B562CE #CE7F62 #7BCE62 #62B1CE
split-complementary
#B562CE #B1CE62 #62CE7F
monochromatic
#742B8A #9C3AB9 #B562CE #CB91DD #E1BFEB
Accessibility & contrast
On white
3.75
#B562CE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.60
#B562CE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B562CE
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B562CE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B562CE | 1.00 | 3.75 | 5.60 | 5.60 |
| #FFFFFF | 3.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C7ED2
Deuteranopia (green-blind)
#6687CB
Tritanopia (blue-blind)
#B5728F
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #b562ce; /* rgb */ color: rgb(181, 98, 206); /* oklch */ color: oklch(63.4% 0.175 317.9);
Tailwind
colors: {
custom: {
50: '#cd92dd',
500: '#b562ce',
950: '#000000',
},
}SCSS
$custom: #b562ce; $custom-light: #cd92dd; $custom-dark: #000000;
JSON
{
"hex": "#b562ce",
"rgb": {
"r": 181,
"g": 98,
"b": 206
},
"hsl": {
"h": 286.111,
"s": 52.427,
"l": 59.608
},
"oklch": {
"l": 0.63396,
"c": 0.17547,
"h": 317.9
},
"luminance": 0.23015
}Semantic roles & 50–950 ramp
primary
#B562CE
secondary
#BBDBB1
accent
#DC4C6D
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#140D15
muted
#827E83