#B562DB#B562DB

#B562DB is a light, vivid purple. Relative luminance 0.237; OKLCH L 64.1% C 0.189 H 314.0°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#B562DB
RGBrgb(181, 98, 219)
HSLhsl(281, 63%, 62%)
HSVhsv(281, 55%, 86%)
CMYKcmyk(17.4%, 55.3%, 0%, 14.1%)
CIE-LABlab(55.76, 53.15, -48.61)
CIE-LCHlch(55.76, 72.03, 317.55°)
OKLaboklab(64.11% 0.1313 -0.1359)
OKLCHoklch(64.11% 0.189 314)
XYZxyz(36.2078, 23.6746, 69.6664)
Luminance0.2367 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B562DB #88DB62
analogous
#7962DB #B562DB #DB62C5
triadic
#B562DB #DBB562 #62DBB5
tetradic
#B562DB #DB7962 #88DB62 #62C5DB
square
#B562DB #DB7962 #88DB62 #62C5DB
split-complementary
#B562DB #C5DB62 #62DB79
monochromatic
#78249E #9E30D0 #B562DB #CC94E6 #E4C6F2

Accessibility & contrast

On white

3.66
#B562DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#B562DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B562DB
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B562DB#FFFFFF#000000##000000
##B562DB1.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4281DF
Deuteranopia (green-blind)
#5F88D8
Tritanopia (blue-blind)
#B27695
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b562db;
/* rgb */ color: rgb(181, 98, 219);
/* oklch */ color: oklch(64.1% 0.189 314.0);
Tailwind
colors: {
  custom: {
    50: '#ce92e7',
    500: '#b562db',
    950: '#000000',
  },
}
SCSS
$custom: #b562db;
$custom-light: #ce92e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b562db",
  "rgb": {
    "r": 181,
    "g": 98,
    "b": 219
  },
  "hsl": {
    "h": 281.157,
    "s": 62.694,
    "l": 62.157
  },
  "oklch": {
    "l": 0.64107,
    "c": 0.18898,
    "h": 314
  },
  "luminance": 0.23674
}

Semantic roles & 50–950 ramp

primary
#B562DB
secondary
#C4E3B6
accent
#CA1B52
background
#FCF9FE
surface
#F9F1FC
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B562DB

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

Preview Lab → · Contrast checker → · Palette generator →

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