#B56BF4#B56BF4

#B56BF4 is a light, highly saturated violet. Relative luminance 0.269; OKLCH L 66.8% C 0.202 H 306.6°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#B56BF4
RGBrgb(181, 107, 244)
HSLhsl(272, 86%, 69%)
HSVhsv(272, 56%, 96%)
CMYKcmyk(25.8%, 56.1%, 0%, 4.3%)
CIE-LABlab(58.85, 54.03, -57.67)
CIE-LCHlch(58.85, 79.03, 313.13°)
OKLaboklab(66.82% 0.1209 -0.1625)
OKLCHoklch(66.82% 0.202 306.6)
XYZxyz(40.6395, 26.8712, 88.6161)
Luminance0.2687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56BF4 #AAF46B
analogous
#716BF4 #B56BF4 #F46BEF
triadic
#B56BF4 #F4B56B #6BF4B5
tetradic
#B56BF4 #F4716B #AAF46B #6BEFF4
square
#B56BF4 #F4716B #AAF46B #6BEFF4
split-complementary
#B56BF4 #EFF46B #6BF471
monochromatic
#7A10D5 #9932F0 #B56BF4 #D1A4F8 #EEDDFC

Accessibility & contrast

On white

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

On black

6.37
#B56BF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56BF4
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56BF4#FFFFFF#000000##000000
##B56BF41.003.296.376.37
#FFFFFF3.291.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#388BF8
Deuteranopia (green-blind)
#558EF1
Tritanopia (blue-blind)
#AB85A5
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b56bf4;
/* rgb */ color: rgb(181, 107, 244);
/* oklch */ color: oklch(66.8% 0.202 306.6);
Tailwind
colors: {
  custom: {
    50: '#cf98f8',
    500: '#b56bf4',
    950: '#000000',
  },
}
SCSS
$custom: #b56bf4;
$custom-light: #cf98f8;
$custom-dark: #000000;
JSON
{
  "hex": "#b56bf4",
  "rgb": {
    "r": 181,
    "g": 107,
    "b": 244
  },
  "hsl": {
    "h": 272.409,
    "s": 86.164,
    "l": 68.824
  },
  "oklch": {
    "l": 0.66819,
    "c": 0.20249,
    "h": 306.6
  },
  "luminance": 0.26871
}

Semantic roles & 50–950 ramp

primary
#B56BF4
secondary
#DCF2C9
accent
#E3036A
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B56BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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