#B56CF5#B56CF5

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

Color values

HEX#B56CF5
RGBrgb(181, 108, 245)
HSLhsl(272, 87%, 69%)
HSVhsv(272, 56%, 96%)
CMYKcmyk(26.1%, 55.9%, 0%, 3.9%)
CIE-LABlab(59.11, 53.74, -57.82)
CIE-LCHlch(59.11, 78.94, 312.91°)
OKLaboklab(67.02% 0.1197 -0.1629)
OKLCHoklch(67.02% 0.202 306.3)
XYZxyz(40.8966, 27.1418, 89.4529)
Luminance0.2714 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56CF5 #ACF56C
analogous
#716CF5 #B56CF5 #F56CF0
triadic
#B56CF5 #F5B56C #6CF5B5
tetradic
#B56CF5 #F5716C #ACF56C #6CF0F5
square
#B56CF5 #F5716C #ACF56C #6CF0F5
split-complementary
#B56CF5 #F0F56C #6CF571
monochromatic
#7A0FD8 #9833F1 #B56CF5 #D2A5F9 #EFDFFD

Accessibility & contrast

On white

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

On black

6.43
#B56CF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56CF5
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56CF5#FFFFFF#000000##000000
##B56CF51.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#398CF9
Deuteranopia (green-blind)
#558FF2
Tritanopia (blue-blind)
#AB86A6
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b56cf5;
/* rgb */ color: rgb(181, 108, 245);
/* oklch */ color: oklch(67.0% 0.202 306.3);
Tailwind
colors: {
  custom: {
    50: '#cf99f9',
    500: '#b56cf5',
    950: '#000000',
  },
}
SCSS
$custom: #b56cf5;
$custom-light: #cf99f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b56cf5",
  "rgb": {
    "r": 181,
    "g": 108,
    "b": 245
  },
  "hsl": {
    "h": 271.971,
    "s": 87.261,
    "l": 69.216
  },
  "oklch": {
    "l": 0.67021,
    "c": 0.20213,
    "h": 306.3
  },
  "luminance": 0.27141
}

Semantic roles & 50–950 ramp

primary
#B56CF5
secondary
#DDF2CA
accent
#E4026B
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B56CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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