#B56CDB#B56CDB

#B56CDB is a light, vivid violet. Relative luminance 0.257; OKLCH L 65.5% C 0.173 H 312.9°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#B56CDB
RGBrgb(181, 108, 219)
HSLhsl(279, 61%, 64%)
HSVhsv(279, 51%, 86%)
CMYKcmyk(17.4%, 50.7%, 0%, 14.1%)
CIE-LABlab(57.72, 48.00, -45.51)
CIE-LCHlch(57.72, 66.15, 316.52°)
OKLaboklab(65.55% 0.118 -0.127)
OKLCHoklch(65.55% 0.173 312.9)
XYZxyz(37.2026, 25.6642, 69.9980)
Luminance0.2566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56CDB #92DB6C
analogous
#7E6CDB #B56CDB #DB6CCA
triadic
#B56CDB #DBB56C #6CDBB5
tetradic
#B56CDB #DB7E6C #92DB6C #6CCADB
square
#B56CDB #DB7E6C #92DB6C #6CCADB
split-complementary
#B56CDB #CADB6C #6CDB7E
monochromatic
#7A28A4 #9C3BCF #B56CDB #CE9DE7 #E6CEF3

Accessibility & contrast

On white

3.42
#B56CDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#B56CDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56CDB
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56CDB#FFFFFF#000000##000000
##B56CDB1.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5187DF
Deuteranopia (green-blind)
#688CD8
Tritanopia (blue-blind)
#B17E9A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b56cdb;
/* rgb */ color: rgb(181, 108, 219);
/* oklch */ color: oklch(65.5% 0.173 312.9);
Tailwind
colors: {
  custom: {
    50: '#cd98e6',
    500: '#b56cdb',
    950: '#000000',
  },
}
SCSS
$custom: #b56cdb;
$custom-light: #cd98e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b56cdb",
  "rgb": {
    "r": 181,
    "g": 108,
    "b": 219
  },
  "hsl": {
    "h": 279.459,
    "s": 60.656,
    "l": 64.118
  },
  "oklch": {
    "l": 0.65549,
    "c": 0.17335,
    "h": 312.9
  },
  "luminance": 0.25663
}

Semantic roles & 50–950 ramp

primary
#B56CDB
secondary
#CBE5BE
accent
#C81D58
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B56CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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