#B56CF8#B56CF8

#B56CF8 is a light, highly saturated violet. Relative luminance 0.273; OKLCH L 67.2% C 0.205 H 305.6°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#B56CF8
RGBrgb(181, 108, 248)
HSLhsl(271, 91%, 70%)
HSVhsv(271, 56%, 97%)
CMYKcmyk(27%, 56.5%, 0%, 2.7%)
CIE-LABlab(59.28, 54.43, -59.21)
CIE-LCHlch(59.28, 80.43, 312.59°)
OKLaboklab(67.2% 0.1197 -0.167)
OKLCHoklch(67.2% 0.205 305.6)
XYZxyz(41.3583, 27.3265, 91.8845)
Luminance0.2733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56CF8 #AFF86C
analogous
#6F6CF8 #B56CF8 #F86CF5
triadic
#B56CF8 #F8B56C #6CF8B5
tetradic
#B56CF8 #F86F6C #AFF86C #6CF5F8
square
#B56CF8 #F86F6C #AFF86C #6CF5F8
split-complementary
#B56CF8 #F5F86C #6CF86F
monochromatic
#790BDF #9832F5 #B56CF8 #D2A6FB #F0E1FE

Accessibility & contrast

On white

3.25
#B56CF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#B56CF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56CF8
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56CF8#FFFFFF#000000##000000
##B56CF81.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#358CFD
Deuteranopia (green-blind)
#528FF5
Tritanopia (blue-blind)
#AA87A8
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b56cf8;
/* rgb */ color: rgb(181, 108, 248);
/* oklch */ color: oklch(67.2% 0.205 305.6);
Tailwind
colors: {
  custom: {
    50: '#cf99fb',
    500: '#b56cf8',
    950: '#000000',
  },
}
SCSS
$custom: #b56cf8;
$custom-light: #cf99fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b56cf8",
  "rgb": {
    "r": 181,
    "g": 108,
    "b": 248
  },
  "hsl": {
    "h": 271.286,
    "s": 90.909,
    "l": 69.804
  },
  "oklch": {
    "l": 0.67201,
    "c": 0.20546,
    "h": 305.6
  },
  "luminance": 0.27326
}

Semantic roles & 50–950 ramp

primary
#B56CF8
secondary
#DFF4CC
accent
#E6006E
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B56CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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