#B56CE5#B56CE5

#B56CE5 is a light, vivid violet. Relative luminance 0.262; OKLCH L 66.1% C 0.184 H 310.1°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#B56CE5
RGBrgb(181, 108, 229)
HSLhsl(276, 70%, 66%)
HSVhsv(276, 53%, 90%)
CMYKcmyk(21%, 52.8%, 0%, 10.2%)
CIE-LABlab(58.23, 50.17, -50.31)
CIE-LCHlch(58.23, 71.05, 314.92°)
OKLaboklab(66.1% 0.1189 -0.1409)
OKLCHoklch(66.1% 0.184 310.1)
XYZxyz(38.5588, 26.2067, 77.1407)
Luminance0.2621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56CE5 #9CE56C
analogous
#786CE5 #B56CE5 #E56CD9
triadic
#B56CE5 #E5B56C #6CE5B5
tetradic
#B56CE5 #E5786C #9CE56C #6CD9E5
square
#B56CE5 #E5786C #9CE56C #6CD9E5
split-complementary
#B56CE5 #D9E56C #6CE578
monochromatic
#7B20B6 #9B38DC #B56CE5 #CFA0EE #E9D4F7

Accessibility & contrast

On white

3.36
#B56CE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#B56CE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56CE5
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56CE5#FFFFFF#000000##000000
##B56CE51.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A89E9
Deuteranopia (green-blind)
#618DE2
Tritanopia (blue-blind)
#AF819E
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b56ce5;
/* rgb */ color: rgb(181, 108, 229);
/* oklch */ color: oklch(66.1% 0.184 310.1);
Tailwind
colors: {
  custom: {
    50: '#ce98ee',
    500: '#b56ce5',
    950: '#000000',
  },
}
SCSS
$custom: #b56ce5;
$custom-light: #ce98ee;
$custom-dark: #000000;
JSON
{
  "hex": "#b56ce5",
  "rgb": {
    "r": 181,
    "g": 108,
    "b": 229
  },
  "hsl": {
    "h": 276.198,
    "s": 69.942,
    "l": 66.078
  },
  "oklch": {
    "l": 0.66097,
    "c": 0.18438,
    "h": 310.1
  },
  "luminance": 0.26206
}

Semantic roles & 50–950 ramp

primary
#B56CE5
secondary
#D2EAC3
accent
#D2145F
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B56CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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