#B56DDE#B56DDE

#B56DDE is a light, vivid violet. Relative luminance 0.260; OKLCH L 65.9% C 0.175 H 311.9°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#B56DDE
RGBrgb(181, 109, 222)
HSLhsl(278, 63%, 65%)
HSVhsv(278, 51%, 87%)
CMYKcmyk(18.5%, 50.9%, 0%, 12.9%)
CIE-LABlab(58.07, 48.12, -46.64)
CIE-LCHlch(58.07, 67.02, 315.90°)
OKLaboklab(65.86% 0.117 -0.1303)
OKLCHoklch(65.86% 0.175 311.9)
XYZxyz(37.7072, 26.0358, 72.1321)
Luminance0.2604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56DDE #96DE6D
analogous
#7D6DDE #B56DDE #DE6DCE
triadic
#B56DDE #DEB56D #6DDEB5
tetradic
#B56DDE #DE7D6D #96DE6D #6DCEDE
square
#B56DDE #DE7D6D #96DE6D #6DCEDE
split-complementary
#B56DDE #CEDE6D #6DDE7D
monochromatic
#7A26AA #9C3BD3 #B56DDE #CE9FE9 #E8D1F5

Accessibility & contrast

On white

3.38
#B56DDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#B56DDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56DDE
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56DDE#FFFFFF#000000##000000
##B56DDE1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5188E2
Deuteranopia (green-blind)
#678DDB
Tritanopia (blue-blind)
#B17F9B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b56dde;
/* rgb */ color: rgb(181, 109, 222);
/* oklch */ color: oklch(65.9% 0.175 311.9);
Tailwind
colors: {
  custom: {
    50: '#cd99e9',
    500: '#b56dde',
    950: '#000000',
  },
}
SCSS
$custom: #b56dde;
$custom-light: #cd99e9;
$custom-dark: #000000;
JSON
{
  "hex": "#b56dde",
  "rgb": {
    "r": 181,
    "g": 109,
    "b": 222
  },
  "hsl": {
    "h": 278.23,
    "s": 63.128,
    "l": 64.902
  },
  "oklch": {
    "l": 0.6586,
    "c": 0.17506,
    "h": 311.9
  },
  "luminance": 0.26035
}

Semantic roles & 50–950 ramp

primary
#B56DDE
secondary
#CEE7C0
accent
#CB1B5B
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B56DDE

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

Preview Lab → · Contrast checker → · Palette generator →

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