#B56EF5#B56EF5

#B56EF5 is a light, vivid violet. Relative luminance 0.276; OKLCH L 67.3% C 0.199 H 306.0°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#B56EF5
RGBrgb(181, 110, 245)
HSLhsl(272, 87%, 70%)
HSVhsv(272, 55%, 96%)
CMYKcmyk(26.1%, 55.1%, 0%, 3.9%)
CIE-LABlab(59.50, 52.71, -57.20)
CIE-LCHlch(59.50, 77.78, 312.66°)
OKLaboklab(67.31% 0.1172 -0.1611)
OKLCHoklch(67.31% 0.199 306)
XYZxyz(41.1099, 27.5685, 89.5240)
Luminance0.2757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56EF5 #AEF56E
analogous
#726EF5 #B56EF5 #F56EF1
triadic
#B56EF5 #F5B56E #6EF5B5
tetradic
#B56EF5 #F5726E #AEF56E #6EF1F5
square
#B56EF5 #F5726E #AEF56E #6EF1F5
split-complementary
#B56EF5 #F1F56E #6EF572
monochromatic
#7A0FDA #9835F1 #B56EF5 #D2A7F9 #EFE1FD

Accessibility & contrast

On white

3.22
#B56EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#B56EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56EF5
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56EF5#FFFFFF#000000##000000
##B56EF51.003.226.516.51
#FFFFFF3.221.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8DF9
Deuteranopia (green-blind)
#5790F2
Tritanopia (blue-blind)
#AB87A7
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b56ef5;
/* rgb */ color: rgb(181, 110, 245);
/* oklch */ color: oklch(67.3% 0.199 306.0);
Tailwind
colors: {
  custom: {
    50: '#ce9af9',
    500: '#b56ef5',
    950: '#000000',
  },
}
SCSS
$custom: #b56ef5;
$custom-light: #ce9af9;
$custom-dark: #000000;
JSON
{
  "hex": "#b56ef5",
  "rgb": {
    "r": 181,
    "g": 110,
    "b": 245
  },
  "hsl": {
    "h": 271.556,
    "s": 87.097,
    "l": 69.608
  },
  "oklch": {
    "l": 0.67309,
    "c": 0.19919,
    "h": 306
  },
  "luminance": 0.27568
}

Semantic roles & 50–950 ramp

primary
#B56EF5
secondary
#DEF3CC
accent
#E4026D
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B56EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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