#B56DFE#B56DFE

#B56DFE is a light, highly saturated violet. Relative luminance 0.279; OKLCH L 67.7% C 0.211 H 304.2°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#B56DFE
RGBrgb(181, 109, 254)
HSLhsl(270, 99%, 71%)
HSVhsv(270, 57%, 100%)
CMYKcmyk(28.7%, 57.1%, 0%, 0.4%)
CIE-LABlab(59.81, 55.29, -61.66)
CIE-LCHlch(59.81, 82.82, 311.88°)
OKLaboklab(67.71% 0.1186 -0.1742)
OKLCHoklch(67.71% 0.211 304.2)
XYZxyz(42.4101, 27.9170, 96.9010)
Luminance0.2792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56DFE #B6FE6D
analogous
#6D6DFE #B56DFE #FD6DFE
triadic
#B56DFE #FEB56D #6DFEB5
tetradic
#B56DFE #FE6D6D #B6FE6D #6DFEFD
square
#B56DFE #FE6D6D #B6FE6D #6DFEFD
split-complementary
#B56DFE #FEFD6D #6DFE6D
monochromatic
#7702EF #9630FE #B56DFE #D4AAFE #F0E1FF

Accessibility & contrast

On white

3.19
#B56DFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#B56DFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56DFE
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56DFE#FFFFFF#000000##000000
##B56DFE1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F8EFF
Deuteranopia (green-blind)
#4E90FB
Tritanopia (blue-blind)
#A88AAB
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b56dfe;
/* rgb */ color: rgb(181, 109, 254);
/* oklch */ color: oklch(67.7% 0.211 304.2);
Tailwind
colors: {
  custom: {
    50: '#cf9aff',
    500: '#b56dfe',
    950: '#000000',
  },
}
SCSS
$custom: #b56dfe;
$custom-light: #cf9aff;
$custom-dark: #000000;
JSON
{
  "hex": "#b56dfe",
  "rgb": {
    "r": 181,
    "g": 109,
    "b": 254
  },
  "hsl": {
    "h": 269.793,
    "s": 98.639,
    "l": 71.176
  },
  "oklch": {
    "l": 0.67706,
    "c": 0.2107,
    "h": 304.2
  },
  "luminance": 0.27917
}

Semantic roles & 50–950 ramp

primary
#B56DFE
secondary
#E4F6D0
accent
#E60074
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B56DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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