#B56FE7#B56FE7

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

Color values

HEX#B56FE7
RGBrgb(181, 111, 231)
HSLhsl(275, 71%, 67%)
HSVhsv(275, 52%, 91%)
CMYKcmyk(21.6%, 51.9%, 0%, 9.4%)
CIE-LABlab(58.94, 49.04, -50.30)
CIE-LCHlch(58.94, 70.25, 314.27°)
OKLaboklab(66.65% 0.1151 -0.1409)
OKLCHoklch(66.65% 0.182 309.2)
XYZxyz(39.1615, 26.9628, 78.7271)
Luminance0.2696 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56FE7 #A1E76F
analogous
#796FE7 #B56FE7 #E76FDD
triadic
#B56FE7 #E7B56F #6FE7B5
tetradic
#B56FE7 #E7796F #A1E76F #6FDDE7
square
#B56FE7 #E7796F #A1E76F #6FDDE7
split-complementary
#B56FE7 #DDE76F #6FE779
monochromatic
#7B1FBC #9A3BDE #B56FE7 #D0A3F0 #EBD8F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B56FE7#FFFFFF#000000##000000
##B56FE71.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8BEB
Deuteranopia (green-blind)
#638FE4
Tritanopia (blue-blind)
#AE84A1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b56fe7;
/* rgb */ color: rgb(181, 111, 231);
/* oklch */ color: oklch(66.7% 0.182 309.2);
Tailwind
colors: {
  custom: {
    50: '#ce9aef',
    500: '#b56fe7',
    950: '#000000',
  },
}
SCSS
$custom: #b56fe7;
$custom-light: #ce9aef;
$custom-dark: #000000;
JSON
{
  "hex": "#b56fe7",
  "rgb": {
    "r": 181,
    "g": 111,
    "b": 231
  },
  "hsl": {
    "h": 275,
    "s": 71.429,
    "l": 67.059
  },
  "oklch": {
    "l": 0.66653,
    "c": 0.18195,
    "h": 309.2
  },
  "luminance": 0.26962
}

Semantic roles & 50–950 ramp

primary
#B56FE7
secondary
#D6ECC6
accent
#D31263
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B56FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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