#B562B2#B562B2

#B562B2 is a light, vivid purple. Relative luminance 0.218; OKLCH L 62.0% C 0.148 H 328.5°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#B562B2
RGBrgb(181, 98, 178)
HSLhsl(302, 36%, 55%)
HSVhsv(302, 46%, 71%)
CMYKcmyk(0%, 45.9%, 1.7%, 29%)
CIE-LABlab(53.79, 45.06, -28.27)
CIE-LCHlch(53.79, 53.19, 327.89°)
OKLaboklab(62.01% 0.126 -0.0772)
OKLCHoklch(62.01% 0.148 328.5)
XYZxyz(31.4592, 21.7751, 44.6568)
Luminance0.2177 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B562B2 #62B565
analogous
#8F62B5 #B562B2 #B56288
triadic
#B562B2 #B2B562 #62B2B5
tetradic
#B562B2 #B58F62 #62B565 #6288B5
square
#B562B2 #B58F62 #62B565 #6288B5
split-complementary
#B562B2 #88B562 #62B58F
monochromatic
#6A3268 #944691 #B562B2 #C98CC6 #DCB5DB

Accessibility & contrast

On white

3.92
#B562B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#B562B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B562B2
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B562B2#FFFFFF#000000##000000
##B562B21.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7AB5
Deuteranopia (green-blind)
#7485AF
Tritanopia (blue-blind)
#BA6A82
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b562b2;
/* rgb */ color: rgb(181, 98, 178);
/* oklch */ color: oklch(62.0% 0.148 328.5);
Tailwind
colors: {
  custom: {
    50: '#cd91c9',
    500: '#b562b2',
    950: '#000000',
  },
}
SCSS
$custom: #b562b2;
$custom-light: #cd91c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b562b2",
  "rgb": {
    "r": 181,
    "g": 98,
    "b": 178
  },
  "hsl": {
    "h": 302.169,
    "s": 35.931,
    "l": 54.706
  },
  "oklch": {
    "l": 0.62006,
    "c": 0.14782,
    "h": 328.5
  },
  "luminance": 0.21773
}

Semantic roles & 50–950 ramp

primary
#B562B2
secondary
#A8CBA9
accent
#CC605C
background
#FCF9FC
surface
#F9F1F8
border
#D2CBD1
text
#140D13
muted
#827E82

Preview Lab

Preview with #B562B2

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

Preview Lab → · Contrast checker → · Palette generator →

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