#B56BE7#B56BE7

#B56BE7 is a light, vivid violet. Relative luminance 0.261; OKLCH L 66.1% C 0.188 H 309.8°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#B56BE7
RGBrgb(181, 107, 231)
HSLhsl(276, 72%, 66%)
HSVhsv(276, 54%, 91%)
CMYKcmyk(21.6%, 53.7%, 0%, 9.4%)
CIE-LABlab(58.14, 51.13, -51.57)
CIE-LCHlch(58.14, 72.62, 314.75°)
OKLaboklab(66.06% 0.1203 -0.1446)
OKLCHoklch(66.06% 0.188 309.8)
XYZxyz(38.7348, 26.1093, 78.5849)
Luminance0.2611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56BE7 #9DE76B
analogous
#776BE7 #B56BE7 #E76BDB
triadic
#B56BE7 #E7B56B #6BE7B5
tetradic
#B56BE7 #E7776B #9DE76B #6BDBE7
square
#B56BE7 #E7776B #9DE76B #6BDBE7
split-complementary
#B56BE7 #DBE76B #6BE777
monochromatic
#7B1EBA #9B36DE #B56BE7 #CFA0F0 #EAD4F8

Accessibility & contrast

On white

3.38
#B56BE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#B56BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56BE7
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56BE7#FFFFFF#000000##000000
##B56BE71.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4688EB
Deuteranopia (green-blind)
#5F8DE4
Tritanopia (blue-blind)
#AF819F
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b56be7;
/* rgb */ color: rgb(181, 107, 231);
/* oklch */ color: oklch(66.1% 0.188 309.8);
Tailwind
colors: {
  custom: {
    50: '#ce98ef',
    500: '#b56be7',
    950: '#000000',
  },
}
SCSS
$custom: #b56be7;
$custom-light: #ce98ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b56be7",
  "rgb": {
    "r": 181,
    "g": 107,
    "b": 231
  },
  "hsl": {
    "h": 275.806,
    "s": 72.093,
    "l": 66.275
  },
  "oklch": {
    "l": 0.66064,
    "c": 0.18812,
    "h": 309.8
  },
  "luminance": 0.26109
}

Semantic roles & 50–950 ramp

primary
#B56BE7
secondary
#D3EBC3
accent
#D41160
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B56BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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