#B56EEB#B56EEB

#B56EEB is a light, vivid violet. Relative luminance 0.270; OKLCH L 66.7% C 0.188 H 308.4°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#B56EEB
RGBrgb(181, 110, 235)
HSLhsl(274, 76%, 68%)
HSVhsv(274, 53%, 92%)
CMYKcmyk(23%, 53.2%, 0%, 7.8%)
CIE-LABlab(58.95, 50.46, -52.52)
CIE-LCHlch(58.95, 72.83, 313.85°)
OKLaboklab(66.73% 0.1167 -0.1474)
OKLCHoklch(66.73% 0.188 308.4)
XYZxyz(39.6244, 26.9743, 81.7003)
Luminance0.2697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56EEB #A4EB6E
analogous
#766EEB #B56EEB #EB6EE3
triadic
#B56EEB #EBB56E #6EEBB5
tetradic
#B56EEB #EB766E #A4EB6E #6EE3EB
square
#B56EEB #EB766E #A4EB6E #6EE3EB
split-complementary
#B56EEB #E3EB6E #6EEB76
monochromatic
#7B1BC4 #9A38E4 #B56EEB #D0A4F2 #ECDAFA

Accessibility & contrast

On white

3.28
#B56EEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#B56EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56EEB
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56EEB#FFFFFF#000000##000000
##B56EEB1.003.286.396.39
#FFFFFF3.281.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#488BEF
Deuteranopia (green-blind)
#5F8FE8
Tritanopia (blue-blind)
#AD84A2
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b56eeb;
/* rgb */ color: rgb(181, 110, 235);
/* oklch */ color: oklch(66.7% 0.188 308.4);
Tailwind
colors: {
  custom: {
    50: '#ce9af2',
    500: '#b56eeb',
    950: '#000000',
  },
}
SCSS
$custom: #b56eeb;
$custom-light: #ce9af2;
$custom-dark: #000000;
JSON
{
  "hex": "#b56eeb",
  "rgb": {
    "r": 181,
    "g": 110,
    "b": 235
  },
  "hsl": {
    "h": 274.08,
    "s": 75.758,
    "l": 67.647
  },
  "oklch": {
    "l": 0.6673,
    "c": 0.18798,
    "h": 308.4
  },
  "luminance": 0.26974
}

Semantic roles & 50–950 ramp

primary
#B56EEB
secondary
#D8EEC7
accent
#D80E65
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B56EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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