#B56CDD#B56CDD

#B56CDD is a light, vivid violet. Relative luminance 0.258; OKLCH L 65.7% C 0.176 H 312.3°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#B56CDD
RGBrgb(181, 108, 221)
HSLhsl(279, 62%, 65%)
HSVhsv(279, 51%, 87%)
CMYKcmyk(18.1%, 51.1%, 0%, 13.3%)
CIE-LABlab(57.82, 48.43, -46.48)
CIE-LCHlch(57.82, 67.13, 316.18°)
OKLaboklab(65.66% 0.1182 -0.1298)
OKLCHoklch(65.66% 0.176 312.3)
XYZxyz(37.4675, 25.7702, 71.3930)
Luminance0.2577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56CDD #94DD6C
analogous
#7D6CDD #B56CDD #DD6CCD
triadic
#B56CDD #DDB56C #6CDDB5
tetradic
#B56CDD #DD7D6C #94DD6C #6CCDDD
square
#B56CDD #DD7D6C #94DD6C #6CCDDD
split-complementary
#B56CDD #CDDD6C #6CDD7D
monochromatic
#7A27A8 #9C3AD2 #B56CDD #CE9EE8 #E7CFF4

Accessibility & contrast

On white

3.41
#B56CDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#B56CDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56CDD
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56CDD#FFFFFF#000000##000000
##B56CDD1.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5087E1
Deuteranopia (green-blind)
#668DDA
Tritanopia (blue-blind)
#B17E9B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b56cdd;
/* rgb */ color: rgb(181, 108, 221);
/* oklch */ color: oklch(65.7% 0.176 312.3);
Tailwind
colors: {
  custom: {
    50: '#cd98e8',
    500: '#b56cdd',
    950: '#000000',
  },
}
SCSS
$custom: #b56cdd;
$custom-light: #cd98e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b56cdd",
  "rgb": {
    "r": 181,
    "g": 108,
    "b": 221
  },
  "hsl": {
    "h": 278.761,
    "s": 62.431,
    "l": 64.51
  },
  "oklch": {
    "l": 0.65657,
    "c": 0.17554,
    "h": 312.3
  },
  "luminance": 0.25769
}

Semantic roles & 50–950 ramp

primary
#B56CDD
secondary
#CDE6BF
accent
#CA1B59
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B56CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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