#B56EE2#B56EE2

#B56EE2 is a light, vivid violet. Relative luminance 0.265; OKLCH L 66.2% C 0.178 H 310.7°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#B56EE2
RGBrgb(181, 110, 226)
HSLhsl(277, 67%, 66%)
HSVhsv(277, 51%, 89%)
CMYKcmyk(19.9%, 51.3%, 0%, 11.4%)
CIE-LABlab(58.48, 48.47, -48.24)
CIE-LCHlch(58.48, 68.38, 315.13°)
OKLaboklab(66.23% 0.116 -0.1349)
OKLCHoklch(66.23% 0.178 310.7)
XYZxyz(38.3569, 26.4673, 75.0248)
Luminance0.2647 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56EE2 #9BE26E
analogous
#7B6EE2 #B56EE2 #E26ED5
triadic
#B56EE2 #E2B56E #6EE2B5
tetradic
#B56EE2 #E27B6E #9BE26E #6ED5E2
square
#B56EE2 #E27B6E #9BE26E #6ED5E2
split-complementary
#B56EE2 #D5E26E #6EE27B
monochromatic
#7B24B2 #9B3BD8 #B56EE2 #CFA1EC #E9D4F6

Accessibility & contrast

On white

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

On black

6.29
#B56EE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56EE2
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56EE2#FFFFFF#000000##000000
##B56EE21.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F89E6
Deuteranopia (green-blind)
#658EDF
Tritanopia (blue-blind)
#B0819E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b56ee2;
/* rgb */ color: rgb(181, 110, 226);
/* oklch */ color: oklch(66.2% 0.178 310.7);
Tailwind
colors: {
  custom: {
    50: '#ce9aeb',
    500: '#b56ee2',
    950: '#000000',
  },
}
SCSS
$custom: #b56ee2;
$custom-light: #ce9aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#b56ee2",
  "rgb": {
    "r": 181,
    "g": 110,
    "b": 226
  },
  "hsl": {
    "h": 276.724,
    "s": 66.667,
    "l": 65.882
  },
  "oklch": {
    "l": 0.66228,
    "c": 0.17792,
    "h": 310.7
  },
  "luminance": 0.26467
}

Semantic roles & 50–950 ramp

primary
#B56EE2
secondary
#D2E9C3
accent
#CF175E
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B56EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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