#B56CDA#B56CDA

#B56CDA is a light, vivid violet. Relative luminance 0.256; OKLCH L 65.5% C 0.172 H 313.2°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#B56CDA
RGBrgb(181, 108, 218)
HSLhsl(280, 60%, 64%)
HSVhsv(280, 50%, 85%)
CMYKcmyk(17%, 50.5%, 0%, 14.5%)
CIE-LABlab(57.67, 47.79, -45.03)
CIE-LCHlch(57.67, 65.66, 316.70°)
OKLaboklab(65.5% 0.1179 -0.1256)
OKLCHoklch(65.5% 0.172 313.2)
XYZxyz(37.0714, 25.6117, 69.3068)
Luminance0.2561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56CDA #91DA6C
analogous
#7E6CDA #B56CDA #DA6CC8
triadic
#B56CDA #DAB56C #6CDAB5
tetradic
#B56CDA #DA7E6C #91DA6C #6CC8DA
square
#B56CDA #DA7E6C #91DA6C #6CC8DA
split-complementary
#B56CDA #C8DA6C #6CDA7E
monochromatic
#7A29A3 #9C3BCE #B56CDA #CE9DE6 #E6CEF3

Accessibility & contrast

On white

3.43
#B56CDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#B56CDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56CDA
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56CDA#FFFFFF#000000##000000
##B56CDA1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5287DE
Deuteranopia (green-blind)
#688CD7
Tritanopia (blue-blind)
#B27D99
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b56cda;
/* rgb */ color: rgb(181, 108, 218);
/* oklch */ color: oklch(65.5% 0.172 313.2);
Tailwind
colors: {
  custom: {
    50: '#cd98e6',
    500: '#b56cda',
    950: '#000000',
  },
}
SCSS
$custom: #b56cda;
$custom-light: #cd98e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b56cda",
  "rgb": {
    "r": 181,
    "g": 108,
    "b": 218
  },
  "hsl": {
    "h": 279.818,
    "s": 59.783,
    "l": 63.922
  },
  "oklch": {
    "l": 0.65495,
    "c": 0.17224,
    "h": 313.2
  },
  "luminance": 0.25611
}

Semantic roles & 50–950 ramp

primary
#B56CDA
secondary
#CBE4BE
accent
#C71E57
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B56CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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