#B562CB#B562CB

#B562CB is a light, vivid purple. Relative luminance 0.229; OKLCH L 63.2% C 0.172 H 318.9°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#B562CB
RGBrgb(181, 98, 203)
HSLhsl(287, 50%, 59%)
HSVhsv(287, 52%, 80%)
CMYKcmyk(10.8%, 51.7%, 0%, 20.4%)
CIE-LABlab(54.94, 49.86, -40.83)
CIE-LCHlch(54.94, 64.45, 320.68°)
OKLaboklab(63.24% 0.1299 -0.1133)
OKLCHoklch(63.24% 0.172 318.9)
XYZxyz(34.2018, 22.8722, 59.1015)
Luminance0.2287 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B562CB #78CB62
analogous
#8162CB #B562CB #CB62AC
triadic
#B562CB #CBB562 #62CBB5
tetradic
#B562CB #CB8162 #78CB62 #62ACCB
square
#B562CB #CB8162 #78CB62 #62ACCB
split-complementary
#B562CB #ACCB62 #62CB81
monochromatic
#732C86 #9B3CB4 #B562CB #CB90DA #E0BEE9

Accessibility & contrast

On white

3.77
#B562CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#B562CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B562CB
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B562CB#FFFFFF#000000##000000
##B562CB1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7ECF
Deuteranopia (green-blind)
#6886C8
Tritanopia (blue-blind)
#B5718D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b562cb;
/* rgb */ color: rgb(181, 98, 203);
/* oklch */ color: oklch(63.2% 0.172 318.9);
Tailwind
colors: {
  custom: {
    50: '#cd92db',
    500: '#b562cb',
    950: '#000000',
  },
}
SCSS
$custom: #b562cb;
$custom-light: #cd92db;
$custom-dark: #000000;
JSON
{
  "hex": "#b562cb",
  "rgb": {
    "r": 181,
    "g": 98,
    "b": 203
  },
  "hsl": {
    "h": 287.429,
    "s": 50.239,
    "l": 59.02
  },
  "oklch": {
    "l": 0.63237,
    "c": 0.17239,
    "h": 318.9
  },
  "luminance": 0.22871
}

Semantic roles & 50–950 ramp

primary
#B562CB
secondary
#B8D9B0
accent
#DA4E6B
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#140D15
muted
#827E83

Preview Lab

Preview with #B562CB

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

Preview Lab → · Contrast checker → · Palette generator →

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