#B56EEA#B56EEA

#B56EEA is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.7% C 0.187 H 308.6°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#B56EEA
RGBrgb(181, 110, 234)
HSLhsl(274, 75%, 67%)
HSVhsv(274, 53%, 92%)
CMYKcmyk(22.6%, 53%, 0%, 8.2%)
CIE-LABlab(58.90, 50.23, -52.04)
CIE-LCHlch(58.90, 72.33, 313.99°)
OKLaboklab(66.67% 0.1166 -0.146)
OKLCHoklch(66.67% 0.187 308.6)
XYZxyz(39.4804, 26.9167, 80.9416)
Luminance0.2692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56EEA #A3EA6E
analogous
#776EEA #B56EEA #EA6EE1
triadic
#B56EEA #EAB56E #6EEAB5
tetradic
#B56EEA #EA776E #A3EA6E #6EE1EA
square
#B56EEA #EA776E #A3EA6E #6EE1EA
split-complementary
#B56EEA #E1EA6E #6EEA77
monochromatic
#7B1CC2 #9A39E2 #B56EEA #D0A3F2 #ECD9F9

Accessibility & contrast

On white

3.29
#B56EEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#B56EEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56EEA
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56EEA#FFFFFF#000000##000000
##B56EEA1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#498BEE
Deuteranopia (green-blind)
#608FE7
Tritanopia (blue-blind)
#AE84A2
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b56eea;
/* rgb */ color: rgb(181, 110, 234);
/* oklch */ color: oklch(66.7% 0.187 308.6);
Tailwind
colors: {
  custom: {
    50: '#ce9af1',
    500: '#b56eea',
    950: '#000000',
  },
}
SCSS
$custom: #b56eea;
$custom-light: #ce9af1;
$custom-dark: #000000;
JSON
{
  "hex": "#b56eea",
  "rgb": {
    "r": 181,
    "g": 110,
    "b": 234
  },
  "hsl": {
    "h": 274.355,
    "s": 74.699,
    "l": 67.451
  },
  "oklch": {
    "l": 0.66673,
    "c": 0.18686,
    "h": 308.6
  },
  "luminance": 0.26916
}

Semantic roles & 50–950 ramp

primary
#B56EEA
secondary
#D7EDC7
accent
#D70F64
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B56EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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