#B562BC#B562BC

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

Color values

HEX#B562BC
RGBrgb(181, 98, 188)
HSLhsl(295, 40%, 56%)
HSVhsv(295, 48%, 74%)
CMYKcmyk(3.7%, 47.9%, 0%, 26.3%)
CIE-LABlab(54.23, 46.92, -33.36)
CIE-LCHlch(54.23, 57.57, 324.59°)
OKLaboklab(62.48% 0.1278 -0.0918)
OKLCHoklch(62.48% 0.157 324.3)
XYZxyz(32.5000, 22.1915, 50.1387)
Luminance0.2219 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B562BC #69BC62
analogous
#8862BC #B562BC #BC6296
triadic
#B562BC #BCB562 #62BCB5
tetradic
#B562BC #BC8862 #69BC62 #6296BC
square
#B562BC #BC8862 #69BC62 #6296BC
split-complementary
#B562BC #96BC62 #62BC88
monochromatic
#6E3173 #97439E #B562BC #C98DCE #DDB8E1

Accessibility & contrast

On white

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

On black

5.44
#B562BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B562BC
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B562BC#FFFFFF#000000##000000
##B562BC1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#577BBF
Deuteranopia (green-blind)
#6F85B9
Tritanopia (blue-blind)
#B86D86
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b562bc;
/* rgb */ color: rgb(181, 98, 188);
/* oklch */ color: oklch(62.5% 0.157 324.3);
Tailwind
colors: {
  custom: {
    50: '#cd91d0',
    500: '#b562bc',
    950: '#000000',
  },
}
SCSS
$custom: #b562bc;
$custom-light: #cd91d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b562bc",
  "rgb": {
    "r": 181,
    "g": 98,
    "b": 188
  },
  "hsl": {
    "h": 295.333,
    "s": 40.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62479,
    "c": 0.15737,
    "h": 324.3
  },
  "luminance": 0.2219
}

Semantic roles & 50–950 ramp

primary
#B562BC
secondary
#ADCFAA
accent
#D05861
background
#FCF9FC
surface
#F9F1F9
border
#D2CBD2
text
#140D14
muted
#827E82

Preview Lab

Preview with #B562BC

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

Preview Lab → · Contrast checker → · Palette generator →

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