#B562DE#B562DE

#B562DE is a light, vivid purple. Relative luminance 0.238; OKLCH L 64.3% C 0.192 H 313.2°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#B562DE
RGBrgb(181, 98, 222)
HSLhsl(280, 65%, 63%)
HSVhsv(280, 56%, 87%)
CMYKcmyk(18.5%, 55.9%, 0%, 12.9%)
CIE-LABlab(55.92, 53.78, -50.05)
CIE-LCHlch(55.92, 73.47, 317.06°)
OKLaboklab(64.28% 0.1314 -0.1401)
OKLCHoklch(64.28% 0.192 313.2)
XYZxyz(36.6063, 23.8340, 71.7652)
Luminance0.2383 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B562DE #8BDE62
analogous
#7762DE #B562DE #DE62C9
triadic
#B562DE #DEB562 #62DEB5
tetradic
#B562DE #DE7762 #8BDE62 #62C9DE
square
#B562DE #DE7762 #8BDE62 #62C9DE
split-complementary
#B562DE #C9DE62 #62DE77
monochromatic
#7922A3 #9D2FD3 #B562DE #CD95E9 #E5C7F3

Accessibility & contrast

On white

3.64
#B562DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#B562DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B562DE
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B562DE#FFFFFF#000000##000000
##B562DE1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F82E2
Deuteranopia (green-blind)
#5D88DB
Tritanopia (blue-blind)
#B17797
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b562de;
/* rgb */ color: rgb(181, 98, 222);
/* oklch */ color: oklch(64.3% 0.192 313.2);
Tailwind
colors: {
  custom: {
    50: '#ce92e9',
    500: '#b562de',
    950: '#000000',
  },
}
SCSS
$custom: #b562de;
$custom-light: #ce92e9;
$custom-dark: #000000;
JSON
{
  "hex": "#b562de",
  "rgb": {
    "r": 181,
    "g": 98,
    "b": 222
  },
  "hsl": {
    "h": 280.161,
    "s": 65.263,
    "l": 62.745
  },
  "oklch": {
    "l": 0.64277,
    "c": 0.19212,
    "h": 313.2
  },
  "luminance": 0.23833
}

Semantic roles & 50–950 ramp

primary
#B562DE
secondary
#C6E4B7
accent
#CD1854
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #B562DE

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

Preview Lab → · Contrast checker → · Palette generator →

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