#B562DD#B562DD

#B562DD is a light, vivid purple. Relative luminance 0.238; OKLCH L 64.2% C 0.191 H 313.4°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#B562DD
RGBrgb(181, 98, 221)
HSLhsl(280, 64%, 63%)
HSVhsv(280, 56%, 87%)
CMYKcmyk(18.1%, 55.7%, 0%, 13.3%)
CIE-LABlab(55.87, 53.57, -49.57)
CIE-LCHlch(55.87, 72.99, 317.22°)
OKLaboklab(64.22% 0.1314 -0.1388)
OKLCHoklch(64.22% 0.191 313.4)
XYZxyz(36.4727, 23.7806, 71.0614)
Luminance0.2378 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B562DD #8ADD62
analogous
#7862DD #B562DD #DD62C7
triadic
#B562DD #DDB562 #62DDB5
tetradic
#B562DD #DD7862 #8ADD62 #62C7DD
square
#B562DD #DD7862 #8ADD62 #62C7DD
split-complementary
#B562DD #C7DD62 #62DD78
monochromatic
#7823A2 #9D30D2 #B562DD #CD94E8 #E4C7F3

Accessibility & contrast

On white

3.65
#B562DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#B562DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B562DD
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B562DD#FFFFFF#000000##000000
##B562DD1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4081E1
Deuteranopia (green-blind)
#5D88DA
Tritanopia (blue-blind)
#B17796
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b562dd;
/* rgb */ color: rgb(181, 98, 221);
/* oklch */ color: oklch(64.2% 0.191 313.4);
Tailwind
colors: {
  custom: {
    50: '#ce92e8',
    500: '#b562dd',
    950: '#000000',
  },
}
SCSS
$custom: #b562dd;
$custom-light: #ce92e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b562dd",
  "rgb": {
    "r": 181,
    "g": 98,
    "b": 221
  },
  "hsl": {
    "h": 280.488,
    "s": 64.398,
    "l": 62.549
  },
  "oklch": {
    "l": 0.6422,
    "c": 0.19107,
    "h": 313.4
  },
  "luminance": 0.2378
}

Semantic roles & 50–950 ramp

primary
#B562DD
secondary
#C6E4B7
accent
#CC1953
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B562DD

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

Preview Lab → · Contrast checker → · Palette generator →

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