#B562DC#B562DC

#B562DC is a light, vivid purple. Relative luminance 0.237; OKLCH L 64.2% C 0.190 H 313.7°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#B562DC
RGBrgb(181, 98, 220)
HSLhsl(281, 64%, 62%)
HSVhsv(281, 55%, 86%)
CMYKcmyk(17.7%, 55.5%, 0%, 13.7%)
CIE-LABlab(55.81, 53.36, -49.09)
CIE-LCHlch(55.81, 72.51, 317.38°)
OKLaboklab(64.16% 0.1313 -0.1373)
OKLCHoklch(64.16% 0.19 313.7)
XYZxyz(36.3398, 23.7274, 70.3618)
Luminance0.2373 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B562DC #89DC62
analogous
#7862DC #B562DC #DC62C6
triadic
#B562DC #DCB562 #62DCB5
tetradic
#B562DC #DC7862 #89DC62 #62C6DC
square
#B562DC #DC7862 #89DC62 #62C6DC
split-complementary
#B562DC #C6DC62 #62DC78
monochromatic
#7824A0 #9D30D1 #B562DC #CD94E7 #E4C6F2

Accessibility & contrast

On white

3.66
#B562DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#B562DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B562DC
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B562DC#FFFFFF#000000##000000
##B562DC1.003.665.755.75
#FFFFFF3.661.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4181E0
Deuteranopia (green-blind)
#5E88D9
Tritanopia (blue-blind)
#B27796
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b562dc;
/* rgb */ color: rgb(181, 98, 220);
/* oklch */ color: oklch(64.2% 0.190 313.7);
Tailwind
colors: {
  custom: {
    50: '#ce92e7',
    500: '#b562dc',
    950: '#000000',
  },
}
SCSS
$custom: #b562dc;
$custom-light: #ce92e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b562dc",
  "rgb": {
    "r": 181,
    "g": 98,
    "b": 220
  },
  "hsl": {
    "h": 280.82,
    "s": 63.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.64163,
    "c": 0.19002,
    "h": 313.7
  },
  "luminance": 0.23726
}

Semantic roles & 50–950 ramp

primary
#B562DC
secondary
#C5E3B7
accent
#CB1A53
background
#FCF9FE
surface
#F9F1FC
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B562DC

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

Preview Lab → · Contrast checker → · Palette generator →

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