#B562C8#B562C8

#B562C8 is a light, vivid purple. Relative luminance 0.227; OKLCH L 63.1% C 0.169 H 319.9°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#B562C8
RGBrgb(181, 98, 200)
HSLhsl(289, 48%, 58%)
HSVhsv(289, 51%, 78%)
CMYKcmyk(9.5%, 51%, 0%, 21.6%)
CIE-LABlab(54.79, 49.26, -39.35)
CIE-LCHlch(54.79, 63.05, 321.38°)
OKLaboklab(63.08% 0.1296 -0.109)
OKLCHoklch(63.08% 0.169 319.9)
XYZxyz(33.8478, 22.7306, 57.2369)
Luminance0.2273 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B562C8 #75C862
analogous
#8262C8 #B562C8 #C862A8
triadic
#B562C8 #C8B562 #62C8B5
tetradic
#B562C8 #C88262 #75C862 #62A8C8
square
#B562C8 #C88262 #75C862 #62A8C8
split-complementary
#B562C8 #A8C862 #62C882
monochromatic
#722E82 #9A3DAF #B562C8 #CA8FD8 #E0BDE8

Accessibility & contrast

On white

3.79
#B562C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#B562C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B562C8
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B562C8#FFFFFF#000000##000000
##B562C81.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#507DCB
Deuteranopia (green-blind)
#6A86C5
Tritanopia (blue-blind)
#B6708C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b562c8;
/* rgb */ color: rgb(181, 98, 200);
/* oklch */ color: oklch(63.1% 0.169 319.9);
Tailwind
colors: {
  custom: {
    50: '#cd92d9',
    500: '#b562c8',
    950: '#000000',
  },
}
SCSS
$custom: #b562c8;
$custom-light: #cd92d9;
$custom-dark: #000000;
JSON
{
  "hex": "#b562c8",
  "rgb": {
    "r": 181,
    "g": 98,
    "b": 200
  },
  "hsl": {
    "h": 288.824,
    "s": 48.113,
    "l": 58.431
  },
  "oklch": {
    "l": 0.63081,
    "c": 0.16934,
    "h": 319.9
  },
  "luminance": 0.22729
}

Semantic roles & 50–950 ramp

primary
#B562C8
secondary
#B6D7AF
accent
#D85069
background
#FCF9FD
surface
#F9F1FA
border
#D2CBD3
text
#140D14
muted
#827E83

Preview Lab

Preview with #B562C8

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

Preview Lab → · Contrast checker → · Palette generator →

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