#B56CDF#B56CDF

#B56CDF is a light, vivid violet. Relative luminance 0.259; OKLCH L 65.8% C 0.178 H 311.8°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#B56CDF
RGBrgb(181, 108, 223)
HSLhsl(278, 64%, 65%)
HSVhsv(278, 52%, 87%)
CMYKcmyk(18.8%, 51.6%, 0%, 12.5%)
CIE-LABlab(57.92, 48.86, -47.44)
CIE-LCHlch(57.92, 68.10, 315.85°)
OKLaboklab(65.77% 0.1184 -0.1326)
OKLCHoklch(65.77% 0.178 311.8)
XYZxyz(37.7355, 25.8774, 72.8047)
Luminance0.2588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56CDF #96DF6C
analogous
#7C6CDF #B56CDF #DF6CD0
triadic
#B56CDF #DFB56C #6CDFB5
tetradic
#B56CDF #DF7C6C #96DF6C #6CD0DF
square
#B56CDF #DF7C6C #96DF6C #6CD0DF
split-complementary
#B56CDF #D0DF6C #6CDF7C
monochromatic
#7A25AB #9C3AD4 #B56CDF #CE9EEA #E8D1F5

Accessibility & contrast

On white

3.40
#B56CDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#B56CDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56CDF
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56CDF#FFFFFF#000000##000000
##B56CDF1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E87E3
Deuteranopia (green-blind)
#658DDC
Tritanopia (blue-blind)
#B07F9C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b56cdf;
/* rgb */ color: rgb(181, 108, 223);
/* oklch */ color: oklch(65.8% 0.178 311.8);
Tailwind
colors: {
  custom: {
    50: '#ce98e9',
    500: '#b56cdf',
    950: '#000000',
  },
}
SCSS
$custom: #b56cdf;
$custom-light: #ce98e9;
$custom-dark: #000000;
JSON
{
  "hex": "#b56cdf",
  "rgb": {
    "r": 181,
    "g": 108,
    "b": 223
  },
  "hsl": {
    "h": 278.087,
    "s": 64.246,
    "l": 64.902
  },
  "oklch": {
    "l": 0.65765,
    "c": 0.17775,
    "h": 311.8
  },
  "luminance": 0.25877
}

Semantic roles & 50–950 ramp

primary
#B56CDF
secondary
#CEE7C0
accent
#CC195B
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B56CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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