#B56BFD#B56BFD

#B56BFD is a light, highly saturated violet. Relative luminance 0.274; OKLCH L 67.4% C 0.212 H 304.7°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#B56BFD
RGBrgb(181, 107, 253)
HSLhsl(270, 97%, 71%)
HSVhsv(270, 58%, 99%)
CMYKcmyk(28.5%, 57.7%, 0%, 0.8%)
CIE-LABlab(59.37, 56.08, -61.82)
CIE-LCHlch(59.37, 83.47, 312.21°)
OKLaboklab(67.36% 0.121 -0.1746)
OKLCHoklch(67.36% 0.212 304.7)
XYZxyz(42.0395, 27.4312, 95.9895)
Luminance0.2743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56BFD #B3FD6B
analogous
#6C6BFD #B56BFD #FD6BFC
triadic
#B56BFD #FDB56B #6BFDB5
tetradic
#B56BFD #FD6C6B #B3FD6B #6BFCFD
square
#B56BFD #FD6C6B #B3FD6B #6BFCFD
split-complementary
#B56BFD #FCFD6B #6BFD6C
monochromatic
#7803EA #972FFC #B56BFD #D3A7FE #F0E1FF

Accessibility & contrast

On white

3.24
#B56BFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#B56BFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56BFD
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56BFD#FFFFFF#000000##000000
##B56BFD1.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B8DFF
Deuteranopia (green-blind)
#4C8FFA
Tritanopia (blue-blind)
#A888AA
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b56bfd;
/* rgb */ color: rgb(181, 107, 253);
/* oklch */ color: oklch(67.4% 0.212 304.7);
Tailwind
colors: {
  custom: {
    50: '#cf98ff',
    500: '#b56bfd',
    950: '#000000',
  },
}
SCSS
$custom: #b56bfd;
$custom-light: #cf98ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b56bfd",
  "rgb": {
    "r": 181,
    "g": 107,
    "b": 253
  },
  "hsl": {
    "h": 270.411,
    "s": 97.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.67364,
    "c": 0.21243,
    "h": 304.7
  },
  "luminance": 0.27431
}

Semantic roles & 50–950 ramp

primary
#B56BFD
secondary
#E2F6CE
accent
#E60071
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B56BFD

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

Preview Lab → · Contrast checker → · Palette generator →

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