#B56BEE#B56BEE

#B56BEE is a light, vivid violet. Relative luminance 0.265; OKLCH L 66.5% C 0.196 H 308.0°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#B56BEE
RGBrgb(181, 107, 238)
HSLhsl(274, 79%, 68%)
HSVhsv(274, 55%, 93%)
CMYKcmyk(23.9%, 55%, 0%, 6.7%)
CIE-LABlab(58.52, 52.68, -54.87)
CIE-LCHlch(58.52, 76.07, 313.83°)
OKLaboklab(66.47% 0.1207 -0.1543)
OKLCHoklch(66.47% 0.196 308)
XYZxyz(39.7433, 26.5127, 83.8961)
Luminance0.2651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56BEE #A4EE6B
analogous
#736BEE #B56BEE #EE6BE6
triadic
#B56BEE #EEB56B #6BEEB5
tetradic
#B56BEE #EE736B #A4EE6B #6BE6EE
square
#B56BEE #EE736B #A4EE6B #6BE6EE
split-complementary
#B56BEE #E6EE6B #6BEE73
monochromatic
#7B17C8 #9A34E8 #B56BEE #D0A2F4 #ECD9FB

Accessibility & contrast

On white

3.33
#B56BEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#B56BEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56BEE
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56BEE#FFFFFF#000000##000000
##B56BEE1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8AF2
Deuteranopia (green-blind)
#5A8EEB
Tritanopia (blue-blind)
#AD83A2
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b56bee;
/* rgb */ color: rgb(181, 107, 238);
/* oklch */ color: oklch(66.5% 0.196 308.0);
Tailwind
colors: {
  custom: {
    50: '#ce98f4',
    500: '#b56bee',
    950: '#000000',
  },
}
SCSS
$custom: #b56bee;
$custom-light: #ce98f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b56bee",
  "rgb": {
    "r": 181,
    "g": 107,
    "b": 238
  },
  "hsl": {
    "h": 273.893,
    "s": 79.394,
    "l": 67.647
  },
  "oklch": {
    "l": 0.66466,
    "c": 0.19585,
    "h": 308
  },
  "luminance": 0.26512
}

Semantic roles & 50–950 ramp

primary
#B56BEE
secondary
#D8EFC6
accent
#DC0A65
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140E17
muted
#837E85

Preview Lab

Preview with #B56BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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