#B56FEA#B56FEA

#B56FEA is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.8% C 0.185 H 308.5°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#B56FEA
RGBrgb(181, 111, 234)
HSLhsl(274, 75%, 68%)
HSVhsv(274, 53%, 92%)
CMYKcmyk(22.6%, 52.6%, 0%, 8.2%)
CIE-LABlab(59.10, 49.71, -51.72)
CIE-LCHlch(59.10, 71.74, 313.86°)
OKLaboklab(66.82% 0.1153 -0.1451)
OKLCHoklch(66.82% 0.185 308.5)
XYZxyz(39.5889, 27.1337, 80.9777)
Luminance0.2713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56FEA #A4EA6F
analogous
#776FEA #B56FEA #EA6FE2
triadic
#B56FEA #EAB56F #6FEAB5
tetradic
#B56FEA #EA776F #A4EA6F #6FE2EA
square
#B56FEA #EA776F #A4EA6F #6FE2EA
split-complementary
#B56FEA #E2EA6F #6FEA77
monochromatic
#7B1CC2 #9A3AE2 #B56FEA #D0A4F2 #ECDAFA

Accessibility & contrast

On white

3.27
#B56FEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#B56FEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56FEA
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56FEA#FFFFFF#000000##000000
##B56FEA1.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8BEE
Deuteranopia (green-blind)
#618FE7
Tritanopia (blue-blind)
#AE85A2
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b56fea;
/* rgb */ color: rgb(181, 111, 234);
/* oklch */ color: oklch(66.8% 0.185 308.5);
Tailwind
colors: {
  custom: {
    50: '#ce9af1',
    500: '#b56fea',
    950: '#000000',
  },
}
SCSS
$custom: #b56fea;
$custom-light: #ce9af1;
$custom-dark: #000000;
JSON
{
  "hex": "#b56fea",
  "rgb": {
    "r": 181,
    "g": 111,
    "b": 234
  },
  "hsl": {
    "h": 274.146,
    "s": 74.545,
    "l": 67.647
  },
  "oklch": {
    "l": 0.66821,
    "c": 0.18532,
    "h": 308.5
  },
  "luminance": 0.27133
}

Semantic roles & 50–950 ramp

primary
#B56FEA
secondary
#D8EDC7
accent
#D70F65
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B56FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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