#B562C1#B562C1

#B562C1 is a light, vivid purple. Relative luminance 0.224; OKLCH L 62.7% C 0.162 H 322.4°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#B562C1
RGBrgb(181, 98, 193)
HSLhsl(292, 43%, 57%)
HSVhsv(292, 49%, 76%)
CMYKcmyk(6.2%, 49.2%, 0%, 24.3%)
CIE-LABlab(54.46, 47.89, -35.87)
CIE-LCHlch(54.46, 59.83, 323.16°)
OKLaboklab(62.73% 0.1286 -0.099)
OKLCHoklch(62.73% 0.162 322.4)
XYZxyz(33.0484, 22.4108, 53.0266)
Luminance0.2241 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B562C1 #6EC162
analogous
#8662C1 #B562C1 #C1629E
triadic
#B562C1 #C1B562 #62C1B5
tetradic
#B562C1 #C18662 #6EC162 #629EC1
square
#B562C1 #C18662 #6EC162 #629EC1
split-complementary
#B562C1 #9EC162 #62C186
monochromatic
#703079 #9841A5 #B562C1 #CA8ED2 #DEBAE4

Accessibility & contrast

On white

3.83
#B562C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#B562C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B562C1
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B562C1#FFFFFF#000000##000000
##B562C11.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#547CC4
Deuteranopia (green-blind)
#6D86BE
Tritanopia (blue-blind)
#B76E89
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b562c1;
/* rgb */ color: rgb(181, 98, 193);
/* oklch */ color: oklch(62.7% 0.162 322.4);
Tailwind
colors: {
  custom: {
    50: '#cd91d4',
    500: '#b562c1',
    950: '#000000',
  },
}
SCSS
$custom: #b562c1;
$custom-light: #cd91d4;
$custom-dark: #000000;
JSON
{
  "hex": "#b562c1",
  "rgb": {
    "r": 181,
    "g": 98,
    "b": 193
  },
  "hsl": {
    "h": 292.421,
    "s": 43.379,
    "l": 57.059
  },
  "oklch": {
    "l": 0.62726,
    "c": 0.1623,
    "h": 322.4
  },
  "luminance": 0.22409
}

Semantic roles & 50–950 ramp

primary
#B562C1
secondary
#B1D3AC
accent
#D35565
background
#FCF9FD
surface
#F9F1FA
border
#D2CBD3
text
#140D14
muted
#827E83

Preview Lab

Preview with #B562C1

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

Preview Lab → · Contrast checker → · Palette generator →

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