#B56FDB#B56FDB

#B56FDB is a light, vivid violet. Relative luminance 0.263; OKLCH L 66.0% C 0.169 H 312.5°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#B56FDB
RGBrgb(181, 111, 219)
HSLhsl(279, 60%, 65%)
HSVhsv(279, 49%, 86%)
CMYKcmyk(17.4%, 49.3%, 0%, 14.1%)
CIE-LABlab(58.33, 46.42, -44.55)
CIE-LCHlch(58.33, 64.34, 316.18°)
OKLaboklab(66% 0.1139 -0.1242)
OKLCHoklch(66% 0.169 312.5)
XYZxyz(37.5245, 26.3079, 70.1053)
Luminance0.2631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56FDB #95DB6F
analogous
#7F6FDB #B56FDB #DB6FCB
triadic
#B56FDB #DBB56F #6FDBB5
tetradic
#B56FDB #DB7F6F #95DB6F #6FCBDB
square
#B56FDB #DB7F6F #95DB6F #6FCBDB
split-complementary
#B56FDB #CBDB6F #6FDB7F
monochromatic
#7A2AA6 #9C3ECF #B56FDB #CEA0E7 #E7D1F3

Accessibility & contrast

On white

3.35
#B56FDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#B56FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56FDB
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56FDB#FFFFFF#000000##000000
##B56FDB1.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5689DF
Deuteranopia (green-blind)
#6A8ED8
Tritanopia (blue-blind)
#B1809B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b56fdb;
/* rgb */ color: rgb(181, 111, 219);
/* oklch */ color: oklch(66.0% 0.169 312.5);
Tailwind
colors: {
  custom: {
    50: '#cd9ae6',
    500: '#b56fdb',
    950: '#000000',
  },
}
SCSS
$custom: #b56fdb;
$custom-light: #cd9ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#b56fdb",
  "rgb": {
    "r": 181,
    "g": 111,
    "b": 219
  },
  "hsl": {
    "h": 278.889,
    "s": 60,
    "l": 64.706
  },
  "oklch": {
    "l": 0.66002,
    "c": 0.16853,
    "h": 312.5
  },
  "luminance": 0.26307
}

Semantic roles & 50–950 ramp

primary
#B56FDB
secondary
#CDE5C0
accent
#C81E5A
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B56FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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