#B56CF3#B56CF3

#B56CF3 is a light, vivid violet. Relative luminance 0.270; OKLCH L 66.9% C 0.200 H 306.7°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#B56CF3
RGBrgb(181, 108, 243)
HSLhsl(272, 85%, 69%)
HSVhsv(272, 56%, 95%)
CMYKcmyk(25.5%, 55.6%, 0%, 4.7%)
CIE-LABlab(58.99, 53.29, -56.89)
CIE-LCHlch(58.99, 77.95, 313.13°)
OKLaboklab(66.9% 0.1196 -0.1602)
OKLCHoklch(66.9% 0.2 306.7)
XYZxyz(40.5929, 27.0204, 87.8536)
Luminance0.2702 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56CF3 #AAF36C
analogous
#726CF3 #B56CF3 #F36CEE
triadic
#B56CF3 #F3B56C #6CF3B5
tetradic
#B56CF3 #F3726C #AAF36C #6CEEF3
square
#B56CF3 #F3726C #AAF36C #6CEEF3
split-complementary
#B56CF3 #EEF36C #6CF372
monochromatic
#7A11D3 #9933EE #B56CF3 #D1A5F8 #EEDDFC

Accessibility & contrast

On white

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

On black

6.40
#B56CF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56CF3
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56CF3#FFFFFF#000000##000000
##B56CF31.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8BF7
Deuteranopia (green-blind)
#578FF0
Tritanopia (blue-blind)
#AB85A5
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b56cf3;
/* rgb */ color: rgb(181, 108, 243);
/* oklch */ color: oklch(66.9% 0.200 306.7);
Tailwind
colors: {
  custom: {
    50: '#ce99f8',
    500: '#b56cf3',
    950: '#000000',
  },
}
SCSS
$custom: #b56cf3;
$custom-light: #ce99f8;
$custom-dark: #000000;
JSON
{
  "hex": "#b56cf3",
  "rgb": {
    "r": 181,
    "g": 108,
    "b": 243
  },
  "hsl": {
    "h": 272.444,
    "s": 84.906,
    "l": 68.824
  },
  "oklch": {
    "l": 0.66903,
    "c": 0.19991,
    "h": 306.7
  },
  "luminance": 0.2702
}

Semantic roles & 50–950 ramp

primary
#B56CF3
secondary
#DCF1C9
accent
#E1046A
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B56CF3

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

Preview Lab → · Contrast checker → · Palette generator →

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