#B56DEB#B56DEB

#B56DEB is a light, vivid violet. Relative luminance 0.268; OKLCH L 66.6% C 0.190 H 308.5°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#B56DEB
RGBrgb(181, 109, 235)
HSLhsl(274, 76%, 67%)
HSVhsv(274, 54%, 92%)
CMYKcmyk(23%, 53.6%, 0%, 7.8%)
CIE-LABlab(58.75, 50.98, -52.83)
CIE-LCHlch(58.75, 73.42, 313.98°)
OKLaboklab(66.58% 0.118 -0.1483)
OKLCHoklch(66.58% 0.19 308.5)
XYZxyz(39.5171, 26.7598, 81.6645)
Luminance0.2676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56DEB #A3EB6D
analogous
#766DEB #B56DEB #EB6DE2
triadic
#B56DEB #EBB56D #6DEBB5
tetradic
#B56DEB #EB766D #A3EB6D #6DE2EB
square
#B56DEB #EB766D #A3EB6D #6DE2EB
split-complementary
#B56DEB #E2EB6D #6DEB76
monochromatic
#7B1BC3 #9A37E4 #B56DEB #D0A3F2 #ECD9FA

Accessibility & contrast

On white

3.31
#B56DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#B56DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56DEB
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56DEB#FFFFFF#000000##000000
##B56DEB1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#468AEF
Deuteranopia (green-blind)
#5E8EE8
Tritanopia (blue-blind)
#AD83A2
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b56deb;
/* rgb */ color: rgb(181, 109, 235);
/* oklch */ color: oklch(66.6% 0.190 308.5);
Tailwind
colors: {
  custom: {
    50: '#ce99f2',
    500: '#b56deb',
    950: '#000000',
  },
}
SCSS
$custom: #b56deb;
$custom-light: #ce99f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b56deb",
  "rgb": {
    "r": 181,
    "g": 109,
    "b": 235
  },
  "hsl": {
    "h": 274.286,
    "s": 75.904,
    "l": 67.451
  },
  "oklch": {
    "l": 0.66583,
    "c": 0.18951,
    "h": 308.5
  },
  "luminance": 0.26759
}

Semantic roles & 50–950 ramp

primary
#B56DEB
secondary
#D7EEC6
accent
#D80D64
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B56DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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