#B562AA#B562AA

#B562AA is a mid, vivid purple. Relative luminance 0.215; OKLCH L 61.6% C 0.141 H 332.2°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#B562AA
RGBrgb(181, 98, 170)
HSLhsl(308, 36%, 55%)
HSVhsv(308, 46%, 71%)
CMYKcmyk(0%, 45.9%, 6.1%, 29%)
CIE-LABlab(53.45, 43.62, -24.15)
CIE-LCHlch(53.45, 49.85, 331.03°)
OKLaboklab(61.65% 0.1243 -0.0655)
OKLCHoklch(61.65% 0.141 332.2)
XYZxyz(30.6792, 21.4632, 40.5493)
Luminance0.2146 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B562AA #62B56D
analogous
#9762B5 #B562AA #B56280
triadic
#B562AA #AAB562 #62AAB5
tetradic
#B562AA #B59762 #62B56D #6280B5
square
#B562AA #B59762 #62B56D #6280B5
split-complementary
#B562AA #80B562 #62B597
monochromatic
#6A3263 #94468A #B562AA #C98CC1 #DCB5D7

Accessibility & contrast

On white

3.97
#B562AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#B562AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B562AA
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B562AA#FFFFFF#000000##000000
##B562AA1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6078AD
Deuteranopia (green-blind)
#7784A8
Tritanopia (blue-blind)
#BB677E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b562aa;
/* rgb */ color: rgb(181, 98, 170);
/* oklch */ color: oklch(61.6% 0.141 332.2);
Tailwind
colors: {
  custom: {
    50: '#cd91c3',
    500: '#b562aa',
    950: '#000000',
  },
}
SCSS
$custom: #b562aa;
$custom-light: #cd91c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b562aa",
  "rgb": {
    "r": 181,
    "g": 98,
    "b": 170
  },
  "hsl": {
    "h": 307.952,
    "s": 35.931,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61646,
    "c": 0.14055,
    "h": 332.2
  },
  "luminance": 0.21461
}

Semantic roles & 50–950 ramp

primary
#B562AA
secondary
#A8CBAD
accent
#CC6B5C
background
#FCF9FC
surface
#F9F1F8
border
#D2CBD1
text
#140D12
muted
#827E81

Preview Lab

Preview with #B562AA

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

Preview Lab → · Contrast checker → · Palette generator →

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