#B56CFE#B56CFE

#B56CFE is a light, highly saturated violet. Relative luminance 0.277; OKLCH L 67.6% C 0.212 H 304.4°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#B56CFE
RGBrgb(181, 108, 254)
HSLhsl(270, 99%, 71%)
HSVhsv(270, 57%, 100%)
CMYKcmyk(28.7%, 57.5%, 0%, 0.4%)
CIE-LABlab(59.62, 55.80, -61.97)
CIE-LCHlch(59.62, 83.39, 312.00°)
OKLaboklab(67.57% 0.1198 -0.1751)
OKLCHoklch(67.57% 0.212 304.4)
XYZxyz(42.3041, 27.7048, 96.8656)
Luminance0.2771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56CFE #B5FE6C
analogous
#6C6CFE #B56CFE #FE6CFE
triadic
#B56CFE #FEB56C #6CFEB5
tetradic
#B56CFE #FE6C6C #B5FE6C #6CFEFE
square
#B56CFE #FE6C6C #B5FE6C #6CFEFE
split-complementary
#B56CFE #FEFE6C #6CFE6C
monochromatic
#7802EE #962FFE #B56CFE #D4A9FE #F0E1FF

Accessibility & contrast

On white

3.21
#B56CFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#B56CFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56CFE
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56CFE#FFFFFF#000000##000000
##B56CFE1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C8EFF
Deuteranopia (green-blind)
#4C90FB
Tritanopia (blue-blind)
#A889AB
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b56cfe;
/* rgb */ color: rgb(181, 108, 254);
/* oklch */ color: oklch(67.6% 0.212 304.4);
Tailwind
colors: {
  custom: {
    50: '#cf99ff',
    500: '#b56cfe',
    950: '#000000',
  },
}
SCSS
$custom: #b56cfe;
$custom-light: #cf99ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b56cfe",
  "rgb": {
    "r": 181,
    "g": 108,
    "b": 254
  },
  "hsl": {
    "h": 270,
    "s": 98.649,
    "l": 70.98
  },
  "oklch": {
    "l": 0.67565,
    "c": 0.21212,
    "h": 304.4
  },
  "luminance": 0.27705
}

Semantic roles & 50–950 ramp

primary
#B56CFE
secondary
#E3F6CF
accent
#E60073
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B56CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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