#B56CF4#B56CF4

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

Color values

HEX#B56CF4
RGBrgb(181, 108, 244)
HSLhsl(272, 86%, 69%)
HSVhsv(272, 56%, 96%)
CMYKcmyk(25.8%, 55.7%, 0%, 4.3%)
CIE-LABlab(59.05, 53.52, -57.36)
CIE-LCHlch(59.05, 78.45, 313.01°)
OKLaboklab(66.96% 0.1196 -0.1615)
OKLCHoklch(66.96% 0.201 306.5)
XYZxyz(40.7443, 27.0809, 88.6511)
Luminance0.2708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56CF4 #ABF46C
analogous
#716CF4 #B56CF4 #F46CEF
triadic
#B56CF4 #F4B56C #6CF4B5
tetradic
#B56CF4 #F4716C #ABF46C #6CEFF4
square
#B56CF4 #F4716C #ABF46C #6CEFF4
split-complementary
#B56CF4 #EFF46C #6CF471
monochromatic
#7A10D6 #9833F0 #B56CF4 #D2A5F8 #EEDEFD

Accessibility & contrast

On white

3.27
#B56CF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#B56CF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56CF4
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56CF4#FFFFFF#000000##000000
##B56CF41.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A8CF8
Deuteranopia (green-blind)
#568FF1
Tritanopia (blue-blind)
#AB86A6
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b56cf4;
/* rgb */ color: rgb(181, 108, 244);
/* oklch */ color: oklch(67.0% 0.201 306.5);
Tailwind
colors: {
  custom: {
    50: '#ce99f8',
    500: '#b56cf4',
    950: '#000000',
  },
}
SCSS
$custom: #b56cf4;
$custom-light: #ce99f8;
$custom-dark: #000000;
JSON
{
  "hex": "#b56cf4",
  "rgb": {
    "r": 181,
    "g": 108,
    "b": 244
  },
  "hsl": {
    "h": 272.206,
    "s": 86.076,
    "l": 69.02
  },
  "oklch": {
    "l": 0.66962,
    "c": 0.20102,
    "h": 306.5
  },
  "luminance": 0.27081
}

Semantic roles & 50–950 ramp

primary
#B56CF4
secondary
#DCF2CA
accent
#E3036B
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B56CF4

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

Preview Lab → · Contrast checker → · Palette generator →

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