#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
RGBrgb(181, 98, 205)
HSLhsl(287, 52%, 59%)
HSVhsv(287, 52%, 80%)
CMYKcmyk(11.7%, 52.2%, 0%, 19.6%)
CIE-LABlab(55.04, 50.26, -41.82)
CIE-LCHlch(55.04, 65.38, 320.24°)
OKLaboklab(63.34% 0.1301 -0.1162)
OKLCHoklch(63.34% 0.174 318.2)
XYZxyz(34.4417, 22.9682, 60.3648)
Luminance0.2297 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

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
##B562CD1.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.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

Preview Lab

Preview with #B562CD

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#B562CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva