#B56EEE#B56EEE

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

Color values

HEX#B56EEE
RGBrgb(181, 110, 238)
HSLhsl(273, 79%, 68%)
HSVhsv(273, 54%, 93%)
CMYKcmyk(23.9%, 53.8%, 0%, 6.7%)
CIE-LABlab(59.11, 51.13, -53.93)
CIE-LCHlch(59.11, 74.31, 313.47°)
OKLaboklab(66.9% 0.1169 -0.1515)
OKLCHoklch(66.9% 0.191 307.6)
XYZxyz(40.0615, 27.1492, 84.0022)
Luminance0.2715 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56EEE #A7EE6E
analogous
#756EEE #B56EEE #EE6EE7
triadic
#B56EEE #EEB56E #6EEEB5
tetradic
#B56EEE #EE756E #A7EE6E #6EE7EE
square
#B56EEE #EE756E #A7EE6E #6EE7EE
split-complementary
#B56EEE #E7EE6E #6EEE75
monochromatic
#7B18CA #9937E8 #B56EEE #D1A5F4 #EDDCFB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B56EEE#FFFFFF#000000##000000
##B56EEE1.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)
#458CF2
Deuteranopia (green-blind)
#5D8FEB
Tritanopia (blue-blind)
#AD85A4
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b56eee;
/* rgb */ color: rgb(181, 110, 238);
/* oklch */ color: oklch(66.9% 0.191 307.6);
Tailwind
colors: {
  custom: {
    50: '#ce9af4',
    500: '#b56eee',
    950: '#000000',
  },
}
SCSS
$custom: #b56eee;
$custom-light: #ce9af4;
$custom-dark: #000000;
JSON
{
  "hex": "#b56eee",
  "rgb": {
    "r": 181,
    "g": 110,
    "b": 238
  },
  "hsl": {
    "h": 273.281,
    "s": 79.012,
    "l": 68.235
  },
  "oklch": {
    "l": 0.66901,
    "c": 0.19134,
    "h": 307.6
  },
  "luminance": 0.27149
}

Semantic roles & 50–950 ramp

primary
#B56EEE
secondary
#DAEFC8
accent
#DB0A67
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B56EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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