#B562BD#B562BD

#B562BD is a light, vivid purple. Relative luminance 0.222; OKLCH L 62.5% C 0.158 H 323.9°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#B562BD
RGBrgb(181, 98, 189)
HSLhsl(295, 41%, 56%)
HSVhsv(295, 48%, 74%)
CMYKcmyk(4.2%, 48.1%, 0%, 25.9%)
CIE-LABlab(54.28, 47.11, -33.86)
CIE-LCHlch(54.28, 58.02, 324.30°)
OKLaboklab(62.53% 0.128 -0.0932)
OKLCHoklch(62.53% 0.158 323.9)
XYZxyz(32.6082, 22.2348, 50.7084)
Luminance0.2223 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B562BD #6ABD62
analogous
#8862BD #B562BD #BD6298
triadic
#B562BD #BDB562 #62BDB5
tetradic
#B562BD #BD8862 #6ABD62 #6298BD
square
#B562BD #BD8862 #6ABD62 #6298BD
split-complementary
#B562BD #98BD62 #62BD88
monochromatic
#6E3174 #97439F #B562BD #C98DCF #DEB8E1

Accessibility & contrast

On white

3.86
#B562BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#B562BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B562BD
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B562BD#FFFFFF#000000##000000
##B562BD1.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#577BC0
Deuteranopia (green-blind)
#6F85BA
Tritanopia (blue-blind)
#B86D87
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b562bd;
/* rgb */ color: rgb(181, 98, 189);
/* oklch */ color: oklch(62.5% 0.158 323.9);
Tailwind
colors: {
  custom: {
    50: '#cd91d1',
    500: '#b562bd',
    950: '#000000',
  },
}
SCSS
$custom: #b562bd;
$custom-light: #cd91d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b562bd",
  "rgb": {
    "r": 181,
    "g": 98,
    "b": 189
  },
  "hsl": {
    "h": 294.725,
    "s": 40.807,
    "l": 56.275
  },
  "oklch": {
    "l": 0.62528,
    "c": 0.15835,
    "h": 323.9
  },
  "luminance": 0.22233
}

Semantic roles & 50–950 ramp

primary
#B562BD
secondary
#AED0AB
accent
#D15762
background
#FCF9FC
surface
#F9F1F9
border
#D2CBD2
text
#140D14
muted
#827E82

Preview Lab

Preview with #B562BD

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

Preview Lab → · Contrast checker → · Palette generator →

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