#B56BF7#B56BF7

#B56BF7 is a light, highly saturated violet. Relative luminance 0.271; OKLCH L 67.0% C 0.206 H 306.0°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#B56BF7
RGBrgb(181, 107, 247)
HSLhsl(272, 90%, 69%)
HSVhsv(272, 57%, 97%)
CMYKcmyk(26.7%, 56.7%, 0%, 3.1%)
CIE-LABlab(59.03, 54.71, -59.06)
CIE-LCHlch(59.03, 80.51, 312.81°)
OKLaboklab(67% 0.1209 -0.1665)
OKLCHoklch(67% 0.206 306)
XYZxyz(41.0987, 27.0549, 91.0346)
Luminance0.2706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56BF7 #ADF76B
analogous
#6F6BF7 #B56BF7 #F76BF3
triadic
#B56BF7 #F7B56B #6BF7B5
tetradic
#B56BF7 #F76F6B #ADF76B #6BF3F7
square
#B56BF7 #F76F6B #ADF76B #6BF3F7
split-complementary
#B56BF7 #F3F76B #6BF76F
monochromatic
#7A0CDC #9831F4 #B56BF7 #D2A5FA #EFDFFD

Accessibility & contrast

On white

3.28
#B56BF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#B56BF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56BF7
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56BF7#FFFFFF#000000##000000
##B56BF71.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#348CFC
Deuteranopia (green-blind)
#528EF4
Tritanopia (blue-blind)
#AA86A7
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b56bf7;
/* rgb */ color: rgb(181, 107, 247);
/* oklch */ color: oklch(67.0% 0.206 306.0);
Tailwind
colors: {
  custom: {
    50: '#cf98fa',
    500: '#b56bf7',
    950: '#000000',
  },
}
SCSS
$custom: #b56bf7;
$custom-light: #cf98fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b56bf7",
  "rgb": {
    "r": 181,
    "g": 107,
    "b": 247
  },
  "hsl": {
    "h": 271.714,
    "s": 89.744,
    "l": 69.412
  },
  "oklch": {
    "l": 0.66999,
    "c": 0.2058,
    "h": 306
  },
  "luminance": 0.27055
}

Semantic roles & 50–950 ramp

primary
#B56BF7
secondary
#DEF3CB
accent
#E6006C
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B56BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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