#B56EE9#B56EE9

#B56EE9 is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.6% C 0.186 H 308.9°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#B56EE9
RGBrgb(181, 110, 233)
HSLhsl(275, 74%, 67%)
HSVhsv(275, 53%, 91%)
CMYKcmyk(22.3%, 52.8%, 0%, 8.6%)
CIE-LABlab(58.84, 50.01, -51.57)
CIE-LCHlch(58.84, 71.84, 314.12°)
OKLaboklab(66.62% 0.1166 -0.1446)
OKLCHoklch(66.62% 0.186 308.9)
XYZxyz(39.3371, 26.8594, 80.1871)
Luminance0.2686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56EE9 #A2E96E
analogous
#776EE9 #B56EE9 #E96EE0
triadic
#B56EE9 #E9B56E #6EE9B5
tetradic
#B56EE9 #E9776E #A2E96E #6EE0E9
square
#B56EE9 #E9776E #A2E96E #6EE0E9
split-complementary
#B56EE9 #E0E96E #6EE977
monochromatic
#7B1DC0 #9A39E1 #B56EE9 #D0A3F1 #EBD8F9

Accessibility & contrast

On white

3.30
#B56EE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#B56EE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56EE9
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56EE9#FFFFFF#000000##000000
##B56EE91.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8BED
Deuteranopia (green-blind)
#608FE6
Tritanopia (blue-blind)
#AE84A1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b56ee9;
/* rgb */ color: rgb(181, 110, 233);
/* oklch */ color: oklch(66.6% 0.186 308.9);
Tailwind
colors: {
  custom: {
    50: '#ce9af0',
    500: '#b56ee9',
    950: '#000000',
  },
}
SCSS
$custom: #b56ee9;
$custom-light: #ce9af0;
$custom-dark: #000000;
JSON
{
  "hex": "#b56ee9",
  "rgb": {
    "r": 181,
    "g": 110,
    "b": 233
  },
  "hsl": {
    "h": 274.634,
    "s": 73.653,
    "l": 67.255
  },
  "oklch": {
    "l": 0.66617,
    "c": 0.18575,
    "h": 308.9
  },
  "luminance": 0.26859
}

Semantic roles & 50–950 ramp

primary
#B56EE9
secondary
#D6EDC6
accent
#D61063
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B56EE9

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

Preview Lab → · Contrast checker → · Palette generator →

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