#B562CA#B562CA

#B562CA is a light, vivid purple. Relative luminance 0.228; OKLCH L 63.2% C 0.171 H 319.2°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#B562CA
RGBrgb(181, 98, 202)
HSLhsl(288, 50%, 59%)
HSVhsv(288, 51%, 79%)
CMYKcmyk(10.4%, 51.5%, 0%, 20.8%)
CIE-LABlab(54.89, 49.66, -40.34)
CIE-LCHlch(54.89, 63.98, 320.91°)
OKLaboklab(63.19% 0.1298 -0.1119)
OKLCHoklch(63.19% 0.171 319.2)
XYZxyz(34.0830, 22.8247, 58.4759)
Luminance0.2282 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B562CA #77CA62
analogous
#8162CA #B562CA #CA62AB
triadic
#B562CA #CAB562 #62CAB5
tetradic
#B562CA #CA8162 #77CA62 #62ABCA
square
#B562CA #CA8162 #77CA62 #62ABCA
split-complementary
#B562CA #ABCA62 #62CA81
monochromatic
#732D85 #9B3CB3 #B562CA #CB90D9 #E0BEE9

Accessibility & contrast

On white

3.77
#B562CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#B562CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B562CA
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B562CA#FFFFFF#000000##000000
##B562CA1.003.775.565.56
#FFFFFF3.771.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7ECD
Deuteranopia (green-blind)
#6986C7
Tritanopia (blue-blind)
#B6718D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b562ca;
/* rgb */ color: rgb(181, 98, 202);
/* oklch */ color: oklch(63.2% 0.171 319.2);
Tailwind
colors: {
  custom: {
    50: '#cd92da',
    500: '#b562ca',
    950: '#000000',
  },
}
SCSS
$custom: #b562ca;
$custom-light: #cd92da;
$custom-dark: #000000;
JSON
{
  "hex": "#b562ca",
  "rgb": {
    "r": 181,
    "g": 98,
    "b": 202
  },
  "hsl": {
    "h": 287.885,
    "s": 49.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.63185,
    "c": 0.17137,
    "h": 319.2
  },
  "luminance": 0.22823
}

Semantic roles & 50–950 ramp

primary
#B562CA
secondary
#B8D8AF
accent
#D94F6B
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#140D15
muted
#827E83

Preview Lab

Preview with #B562CA

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

Preview Lab → · Contrast checker → · Palette generator →

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