#B56BEC#B56BEC

#B56BEC is a light, vivid violet. Relative luminance 0.264; OKLCH L 66.3% C 0.194 H 308.5°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#B56BEC
RGBrgb(181, 107, 236)
HSLhsl(274, 77%, 67%)
HSVhsv(274, 55%, 93%)
CMYKcmyk(23.3%, 54.7%, 0%, 7.5%)
CIE-LABlab(58.41, 52.24, -53.93)
CIE-LCHlch(58.41, 75.08, 314.09°)
OKLaboklab(66.35% 0.1206 -0.1515)
OKLCHoklch(66.35% 0.194 308.5)
XYZxyz(39.4511, 26.3958, 82.3572)
Luminance0.2640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56BEC #A2EC6B
analogous
#756BEC #B56BEC #EC6BE2
triadic
#B56BEC #ECB56B #6BECB5
tetradic
#B56BEC #EC756B #A2EC6B #6BE2EC
square
#B56BEC #EC756B #A2EC6B #6BE2EC
split-complementary
#B56BEC #E2EC6B #6BEC75
monochromatic
#7B19C4 #9A35E5 #B56BEC #D0A1F3 #EBD7FA

Accessibility & contrast

On white

3.34
#B56BEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#B56BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56BEC
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56BEC#FFFFFF#000000##000000
##B56BEC1.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4189F0
Deuteranopia (green-blind)
#5B8DE9
Tritanopia (blue-blind)
#AD82A1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b56bec;
/* rgb */ color: rgb(181, 107, 236);
/* oklch */ color: oklch(66.3% 0.194 308.5);
Tailwind
colors: {
  custom: {
    50: '#ce98f3',
    500: '#b56bec',
    950: '#000000',
  },
}
SCSS
$custom: #b56bec;
$custom-light: #ce98f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b56bec",
  "rgb": {
    "r": 181,
    "g": 107,
    "b": 236
  },
  "hsl": {
    "h": 274.419,
    "s": 77.246,
    "l": 67.255
  },
  "oklch": {
    "l": 0.6635,
    "c": 0.19364,
    "h": 308.5
  },
  "luminance": 0.26395
}

Semantic roles & 50–950 ramp

primary
#B56BEC
secondary
#D6EEC5
accent
#D90C64
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B56BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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