#B56BDC#B56BDC

#B56BDC is a light, vivid violet. Relative luminance 0.255; OKLCH L 65.5% C 0.176 H 312.7°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#B56BDC
RGBrgb(181, 107, 220)
HSLhsl(279, 62%, 64%)
HSVhsv(279, 51%, 86%)
CMYKcmyk(17.7%, 51.4%, 0%, 13.7%)
CIE-LABlab(57.57, 48.74, -46.31)
CIE-LCHlch(57.57, 67.24, 316.46°)
OKLaboklab(65.45% 0.1195 -0.1293)
OKLCHoklch(65.45% 0.176 312.7)
XYZxyz(37.2298, 25.5073, 70.6585)
Luminance0.2551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56BDC #92DC6B
analogous
#7D6BDC #B56BDC #DC6BCB
triadic
#B56BDC #DCB56B #6BDCB5
tetradic
#B56BDC #DC7D6B #92DC6B #6BCBDC
square
#B56BDC #DC7D6B #92DC6B #6BCBDC
split-complementary
#B56BDC #CBDC6B #6BDC7D
monochromatic
#7A27A5 #9C3AD0 #B56BDC #CE9CE8 #E6CEF3

Accessibility & contrast

On white

3.44
#B56BDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#B56BDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56BDC
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56BDC#FFFFFF#000000##000000
##B56BDC1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F86E0
Deuteranopia (green-blind)
#668CD9
Tritanopia (blue-blind)
#B17D9A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b56bdc;
/* rgb */ color: rgb(181, 107, 220);
/* oklch */ color: oklch(65.5% 0.176 312.7);
Tailwind
colors: {
  custom: {
    50: '#cd98e7',
    500: '#b56bdc',
    950: '#000000',
  },
}
SCSS
$custom: #b56bdc;
$custom-light: #cd98e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b56bdc",
  "rgb": {
    "r": 181,
    "g": 107,
    "b": 220
  },
  "hsl": {
    "h": 279.292,
    "s": 61.749,
    "l": 64.118
  },
  "oklch": {
    "l": 0.65454,
    "c": 0.17603,
    "h": 312.7
  },
  "luminance": 0.25506
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B56BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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