#B56CDC#B56CDC

#B56CDC is a light, vivid violet. Relative luminance 0.257; OKLCH L 65.6% C 0.174 H 312.6°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#B56CDC
RGBrgb(181, 108, 220)
HSLhsl(279, 62%, 64%)
HSVhsv(279, 51%, 86%)
CMYKcmyk(17.7%, 50.9%, 0%, 13.7%)
CIE-LABlab(57.77, 48.22, -46.00)
CIE-LCHlch(57.77, 66.64, 316.35°)
OKLaboklab(65.6% 0.1181 -0.1284)
OKLCHoklch(65.6% 0.174 312.6)
XYZxyz(37.3347, 25.7171, 70.6934)
Luminance0.2572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56CDC #93DC6C
analogous
#7D6CDC #B56CDC #DC6CCB
triadic
#B56CDC #DCB56C #6CDCB5
tetradic
#B56CDC #DC7D6C #93DC6C #6CCBDC
square
#B56CDC #DC7D6C #93DC6C #6CCBDC
split-complementary
#B56CDC #CBDC6C #6CDC7D
monochromatic
#7A28A6 #9C3BD0 #B56CDC #CE9DE8 #E7CFF4

Accessibility & contrast

On white

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

On black

6.14
#B56CDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56CDC
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56CDC#FFFFFF#000000##000000
##B56CDC1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5187E0
Deuteranopia (green-blind)
#678CD9
Tritanopia (blue-blind)
#B17E9A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b56cdc;
/* rgb */ color: rgb(181, 108, 220);
/* oklch */ color: oklch(65.6% 0.174 312.6);
Tailwind
colors: {
  custom: {
    50: '#cd98e7',
    500: '#b56cdc',
    950: '#000000',
  },
}
SCSS
$custom: #b56cdc;
$custom-light: #cd98e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b56cdc",
  "rgb": {
    "r": 181,
    "g": 108,
    "b": 220
  },
  "hsl": {
    "h": 279.107,
    "s": 61.538,
    "l": 64.314
  },
  "oklch": {
    "l": 0.65603,
    "c": 0.17445,
    "h": 312.6
  },
  "luminance": 0.25716
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B56CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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