#B56CF1#B56CF1

#B56CF1 is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.8% C 0.198 H 307.2°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#B56CF1
RGBrgb(181, 108, 241)
HSLhsl(273, 83%, 68%)
HSVhsv(273, 55%, 95%)
CMYKcmyk(24.9%, 55.2%, 0%, 5.5%)
CIE-LABlab(58.88, 52.84, -55.96)
CIE-LCHlch(58.88, 76.97, 313.36°)
OKLaboklab(66.79% 0.1195 -0.1575)
OKLCHoklch(66.79% 0.198 307.2)
XYZxyz(40.2926, 26.9002, 86.2717)
Luminance0.2690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56CF1 #A8F16C
analogous
#726CF1 #B56CF1 #F16CEB
triadic
#B56CF1 #F1B56C #6CF1B5
tetradic
#B56CF1 #F1726C #A8F16C #6CEBF1
square
#B56CF1 #F1726C #A8F16C #6CEBF1
split-complementary
#B56CF1 #EBF16C #6CF172
monochromatic
#7A14CF #9934EC #B56CF1 #D1A4F6 #EDDCFC

Accessibility & contrast

On white

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

On black

6.38
#B56CF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56CF1
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56CF1#FFFFFF#000000##000000
##B56CF11.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8BF5
Deuteranopia (green-blind)
#588EEE
Tritanopia (blue-blind)
#AC85A4
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b56cf1;
/* rgb */ color: rgb(181, 108, 241);
/* oklch */ color: oklch(66.8% 0.198 307.2);
Tailwind
colors: {
  custom: {
    50: '#ce99f6',
    500: '#b56cf1',
    950: '#000000',
  },
}
SCSS
$custom: #b56cf1;
$custom-light: #ce99f6;
$custom-dark: #000000;
JSON
{
  "hex": "#b56cf1",
  "rgb": {
    "r": 181,
    "g": 108,
    "b": 241
  },
  "hsl": {
    "h": 272.932,
    "s": 82.609,
    "l": 68.431
  },
  "oklch": {
    "l": 0.66785,
    "c": 0.19769,
    "h": 307.2
  },
  "luminance": 0.269
}

Semantic roles & 50–950 ramp

primary
#B56CF1
secondary
#DAF0C8
accent
#DF0668
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B56CF1

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

Preview Lab → · Contrast checker → · Palette generator →

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