#B56EDA#B56EDA

#B56EDA is a light, vivid violet. Relative luminance 0.260; OKLCH L 65.8% C 0.169 H 313.0°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#B56EDA
RGBrgb(181, 110, 218)
HSLhsl(279, 59%, 64%)
HSVhsv(279, 50%, 85%)
CMYKcmyk(17%, 49.5%, 0%, 14.5%)
CIE-LABlab(58.07, 46.73, -44.39)
CIE-LCHlch(58.07, 64.45, 316.47°)
OKLaboklab(65.8% 0.1152 -0.1237)
OKLCHoklch(65.8% 0.169 313)
XYZxyz(37.2847, 26.0384, 69.3779)
Luminance0.2604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56EDA #93DA6E
analogous
#7F6EDA #B56EDA #DA6EC9
triadic
#B56EDA #DAB56E #6EDAB5
tetradic
#B56EDA #DA7F6E #93DA6E #6EC9DA
square
#B56EDA #DA7F6E #93DA6E #6EC9DA
split-complementary
#B56EDA #C9DA6E #6EDA7F
monochromatic
#7A2AA4 #9C3DCE #B56EDA #CE9FE6 #E7D0F3

Accessibility & contrast

On white

3.38
#B56EDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#B56EDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56EDA
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56EDA#FFFFFF#000000##000000
##B56EDA1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5588DE
Deuteranopia (green-blind)
#6A8DD7
Tritanopia (blue-blind)
#B27F9A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b56eda;
/* rgb */ color: rgb(181, 110, 218);
/* oklch */ color: oklch(65.8% 0.169 313.0);
Tailwind
colors: {
  custom: {
    50: '#cd9ae6',
    500: '#b56eda',
    950: '#000000',
  },
}
SCSS
$custom: #b56eda;
$custom-light: #cd9ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#b56eda",
  "rgb": {
    "r": 181,
    "g": 110,
    "b": 218
  },
  "hsl": {
    "h": 279.444,
    "s": 59.341,
    "l": 64.314
  },
  "oklch": {
    "l": 0.65797,
    "c": 0.16903,
    "h": 313
  },
  "luminance": 0.26038
}

Semantic roles & 50–950 ramp

primary
#B56EDA
secondary
#CCE5BF
accent
#C71F58
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B56EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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