#B56EFC#B56EFC

#B56EFC is a light, highly saturated violet. Relative luminance 0.280; OKLCH L 67.7% C 0.207 H 304.5°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#B56EFC
RGBrgb(181, 110, 252)
HSLhsl(270, 96%, 71%)
HSVhsv(270, 56%, 99%)
CMYKcmyk(28.2%, 56.3%, 0%, 1.2%)
CIE-LABlab(59.89, 54.32, -60.43)
CIE-LCHlch(59.89, 81.26, 311.95°)
OKLaboklab(67.73% 0.1173 -0.1706)
OKLCHoklch(67.73% 0.207 304.5)
XYZxyz(42.1988, 28.0041, 95.2588)
Luminance0.2800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56EFC #B5FC6E
analogous
#6E6EFC #B56EFC #FC6EFC
triadic
#B56EFC #FCB56E #6EFCB5
tetradic
#B56EFC #FC6E6E #B5FC6E #6EFCFC
square
#B56EFC #FC6E6E #B5FC6E #6EFCFC
split-complementary
#B56EFC #FCFC6E #6EFC6E
monochromatic
#7805EB #9632FB #B56EFC #D4AAFD #F0E1FE

Accessibility & contrast

On white

3.18
#B56EFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#B56EFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56EFC
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56EFC#FFFFFF#000000##000000
##B56EFC1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#358EFF
Deuteranopia (green-blind)
#5190F9
Tritanopia (blue-blind)
#A88AAB
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b56efc;
/* rgb */ color: rgb(181, 110, 252);
/* oklch */ color: oklch(67.7% 0.207 304.5);
Tailwind
colors: {
  custom: {
    50: '#cf9afe',
    500: '#b56efc',
    950: '#000000',
  },
}
SCSS
$custom: #b56efc;
$custom-light: #cf9afe;
$custom-dark: #000000;
JSON
{
  "hex": "#b56efc",
  "rgb": {
    "r": 181,
    "g": 110,
    "b": 252
  },
  "hsl": {
    "h": 270,
    "s": 95.946,
    "l": 70.98
  },
  "oklch": {
    "l": 0.67726,
    "c": 0.20703,
    "h": 304.5
  },
  "luminance": 0.28004
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B56EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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