#B56FF7#B56FF7

#B56FF7 is a light, vivid violet. Relative luminance 0.279; OKLCH L 67.6% C 0.200 H 305.5°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#B56FF7
RGBrgb(181, 111, 247)
HSLhsl(271, 89%, 70%)
HSVhsv(271, 55%, 97%)
CMYKcmyk(26.7%, 55.1%, 0%, 3.1%)
CIE-LABlab(59.81, 52.65, -57.81)
CIE-LCHlch(59.81, 78.19, 312.32°)
OKLaboklab(67.57% 0.116 -0.1629)
OKLCHoklch(67.57% 0.2 305.5)
XYZxyz(41.5254, 27.9083, 91.1769)
Luminance0.2791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56FF7 #B1F76F
analogous
#716FF7 #B56FF7 #F76FF5
triadic
#B56FF7 #F7B56F #6FF7B5
tetradic
#B56FF7 #F7716F #B1F76F #6FF5F7
square
#B56FF7 #F7716F #B1F76F #6FF5F7
split-complementary
#B56FF7 #F5F76F #6FF771
monochromatic
#790CDF #9735F4 #B56FF7 #D3A9FA #F0E2FD

Accessibility & contrast

On white

3.19
#B56FF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#B56FF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56FF7
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56FF7#FFFFFF#000000##000000
##B56FF71.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8EFB
Deuteranopia (green-blind)
#5790F4
Tritanopia (blue-blind)
#AA89A9
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b56ff7;
/* rgb */ color: rgb(181, 111, 247);
/* oklch */ color: oklch(67.6% 0.200 305.5);
Tailwind
colors: {
  custom: {
    50: '#ce9bfa',
    500: '#b56ff7',
    950: '#000000',
  },
}
SCSS
$custom: #b56ff7;
$custom-light: #ce9bfa;
$custom-dark: #000000;
JSON
{
  "hex": "#b56ff7",
  "rgb": {
    "r": 181,
    "g": 111,
    "b": 247
  },
  "hsl": {
    "h": 270.882,
    "s": 89.474,
    "l": 70.196
  },
  "oklch": {
    "l": 0.67572,
    "c": 0.19995,
    "h": 305.5
  },
  "luminance": 0.27908
}

Semantic roles & 50–950 ramp

primary
#B56FF7
secondary
#E0F4CE
accent
#E6006F
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B56FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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