#B56EF4#B56EF4

#B56EF4 is a light, vivid violet. Relative luminance 0.275; OKLCH L 67.3% C 0.198 H 306.3°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#B56EF4
RGBrgb(181, 110, 244)
HSLhsl(272, 86%, 69%)
HSVhsv(272, 55%, 96%)
CMYKcmyk(25.8%, 54.9%, 0%, 4.3%)
CIE-LABlab(59.44, 52.48, -56.73)
CIE-LCHlch(59.44, 77.29, 312.77°)
OKLaboklab(67.25% 0.1171 -0.1597)
OKLCHoklch(67.25% 0.198 306.3)
XYZxyz(40.9577, 27.5076, 88.7222)
Luminance0.2751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56EF4 #ADF46E
analogous
#726EF4 #B56EF4 #F46EF0
triadic
#B56EF4 #F4B56E #6EF4B5
tetradic
#B56EF4 #F4726E #ADF46E #6EF0F4
square
#B56EF4 #F4726E #ADF46E #6EF0F4
split-complementary
#B56EF4 #F0F46E #6EF472
monochromatic
#7A10D7 #9835F0 #B56EF4 #D2A7F8 #EFE0FD

Accessibility & contrast

On white

3.23
#B56EF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#B56EF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56EF4
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56EF4#FFFFFF#000000##000000
##B56EF41.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8DF8
Deuteranopia (green-blind)
#5890F1
Tritanopia (blue-blind)
#AB87A7
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b56ef4;
/* rgb */ color: rgb(181, 110, 244);
/* oklch */ color: oklch(67.3% 0.198 306.3);
Tailwind
colors: {
  custom: {
    50: '#ce9af8',
    500: '#b56ef4',
    950: '#000000',
  },
}
SCSS
$custom: #b56ef4;
$custom-light: #ce9af8;
$custom-dark: #000000;
JSON
{
  "hex": "#b56ef4",
  "rgb": {
    "r": 181,
    "g": 110,
    "b": 244
  },
  "hsl": {
    "h": 271.791,
    "s": 85.897,
    "l": 69.412
  },
  "oklch": {
    "l": 0.6725,
    "c": 0.19807,
    "h": 306.3
  },
  "luminance": 0.27507
}

Semantic roles & 50–950 ramp

primary
#B56EF4
secondary
#DEF2CC
accent
#E2036C
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B56EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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