#B562CC#B562CC

#B562CC is a light, vivid purple. Relative luminance 0.229; OKLCH L 63.3% C 0.173 H 318.6°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#B562CC
RGBrgb(181, 98, 204)
HSLhsl(287, 51%, 59%)
HSVhsv(287, 52%, 80%)
CMYKcmyk(11.3%, 52%, 0%, 20%)
CIE-LABlab(54.99, 50.06, -41.33)
CIE-LCHlch(54.99, 64.91, 320.46°)
OKLaboklab(63.29% 0.13 -0.1148)
OKLCHoklch(63.29% 0.173 318.6)
XYZxyz(34.3214, 22.9200, 59.7311)
Luminance0.2292 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B562CC #79CC62
analogous
#8062CC #B562CC #CC62AE
triadic
#B562CC #CCB562 #62CCB5
tetradic
#B562CC #CC8062 #79CC62 #62AECC
square
#B562CC #CC8062 #79CC62 #62AECC
split-complementary
#B562CC #AECC62 #62CC80
monochromatic
#742C88 #9B3BB6 #B562CC #CB90DB #E1BEEA

Accessibility & contrast

On white

3.76
#B562CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#B562CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B562CC
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B562CC#FFFFFF#000000##000000
##B562CC1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7ED0
Deuteranopia (green-blind)
#6886C9
Tritanopia (blue-blind)
#B5718E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b562cc;
/* rgb */ color: rgb(181, 98, 204);
/* oklch */ color: oklch(63.3% 0.173 318.6);
Tailwind
colors: {
  custom: {
    50: '#cd92dc',
    500: '#b562cc',
    950: '#000000',
  },
}
SCSS
$custom: #b562cc;
$custom-light: #cd92dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b562cc",
  "rgb": {
    "r": 181,
    "g": 98,
    "b": 204
  },
  "hsl": {
    "h": 286.981,
    "s": 50.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.6329,
    "c": 0.17341,
    "h": 318.6
  },
  "luminance": 0.22919
}

Semantic roles & 50–950 ramp

primary
#B562CC
secondary
#B9DAB0
accent
#DA4D6C
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#140D15
muted
#827E83

Preview Lab

Preview with #B562CC

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

Preview Lab → · Contrast checker → · Palette generator →

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