#B562BF#B562BF

#B562BF is a light, vivid purple. Relative luminance 0.223; OKLCH L 62.6% C 0.160 H 323.2°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#B562BF
RGBrgb(181, 98, 191)
HSLhsl(294, 42%, 57%)
HSVhsv(294, 49%, 75%)
CMYKcmyk(5.2%, 48.7%, 0%, 25.1%)
CIE-LABlab(54.37, 47.50, -34.87)
CIE-LCHlch(54.37, 58.92, 323.72°)
OKLaboklab(62.63% 0.1283 -0.0961)
OKLCHoklch(62.63% 0.16 323.2)
XYZxyz(32.8268, 22.3222, 51.8596)
Luminance0.2232 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B562BF #6CBF62
analogous
#8762BF #B562BF #BF629B
triadic
#B562BF #BFB562 #62BFB5
tetradic
#B562BF #BF8762 #6CBF62 #629BBF
square
#B562BF #BF8762 #6CBF62 #629BBF
split-complementary
#B562BF #9BBF62 #62BF87
monochromatic
#6F3076 #9842A2 #B562BF #C98DD1 #DEB9E2

Accessibility & contrast

On white

3.84
#B562BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#B562BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B562BF
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B562BF#FFFFFF#000000##000000
##B562BF1.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#567CC2
Deuteranopia (green-blind)
#6E85BC
Tritanopia (blue-blind)
#B86D88
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b562bf;
/* rgb */ color: rgb(181, 98, 191);
/* oklch */ color: oklch(62.6% 0.160 323.2);
Tailwind
colors: {
  custom: {
    50: '#cd91d2',
    500: '#b562bf',
    950: '#000000',
  },
}
SCSS
$custom: #b562bf;
$custom-light: #cd91d2;
$custom-dark: #000000;
JSON
{
  "hex": "#b562bf",
  "rgb": {
    "r": 181,
    "g": 98,
    "b": 191
  },
  "hsl": {
    "h": 293.548,
    "s": 42.081,
    "l": 56.667
  },
  "oklch": {
    "l": 0.62626,
    "c": 0.16032,
    "h": 323.2
  },
  "luminance": 0.22321
}

Semantic roles & 50–950 ramp

primary
#B562BF
secondary
#AFD1AB
accent
#D25663
background
#FCF9FC
surface
#F9F1F9
border
#D2CBD2
text
#140D14
muted
#827E82

Preview Lab

Preview with #B562BF

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

Preview Lab → · Contrast checker → · Palette generator →

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