#B56BE3#B56BE3

#B56BE3 is a light, vivid violet. Relative luminance 0.259; OKLCH L 65.8% C 0.184 H 310.8°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#B56BE3
RGBrgb(181, 107, 227)
HSLhsl(277, 68%, 65%)
HSVhsv(277, 53%, 89%)
CMYKcmyk(20.3%, 52.9%, 0%, 11%)
CIE-LABlab(57.93, 50.25, -49.67)
CIE-LCHlch(57.93, 70.66, 315.33°)
OKLaboklab(65.84% 0.12 -0.1391)
OKLCHoklch(65.84% 0.184 310.8)
XYZxyz(38.1763, 25.8859, 75.6435)
Luminance0.2589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56BE3 #99E36B
analogous
#796BE3 #B56BE3 #E36BD5
triadic
#B56BE3 #E3B56B #6BE3B5
tetradic
#B56BE3 #E3796B #99E36B #6BD5E3
square
#B56BE3 #E3796B #99E36B #6BD5E3
split-complementary
#B56BE3 #D5E36B #6BE379
monochromatic
#7B22B2 #9B38D9 #B56BE3 #CF9EED #E8D2F6

Accessibility & contrast

On white

3.40
#B56BE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#B56BE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56BE3
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56BE3#FFFFFF#000000##000000
##B56BE31.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A88E7
Deuteranopia (green-blind)
#628DE0
Tritanopia (blue-blind)
#B07F9D
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b56be3;
/* rgb */ color: rgb(181, 107, 227);
/* oklch */ color: oklch(65.8% 0.184 310.8);
Tailwind
colors: {
  custom: {
    50: '#ce98ec',
    500: '#b56be3',
    950: '#000000',
  },
}
SCSS
$custom: #b56be3;
$custom-light: #ce98ec;
$custom-dark: #000000;
JSON
{
  "hex": "#b56be3",
  "rgb": {
    "r": 181,
    "g": 107,
    "b": 227
  },
  "hsl": {
    "h": 277,
    "s": 68.182,
    "l": 65.49
  },
  "oklch": {
    "l": 0.65839,
    "c": 0.18371,
    "h": 310.8
  },
  "luminance": 0.25885
}

Semantic roles & 50–950 ramp

primary
#B56BE3
secondary
#D0E9C1
accent
#D0155D
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B56BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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