#B56CF9#B56CF9

#B56CF9 is a light, highly saturated violet. Relative luminance 0.274; OKLCH L 67.3% C 0.207 H 305.4°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#B56CF9
RGBrgb(181, 108, 249)
HSLhsl(271, 92%, 70%)
HSVhsv(271, 57%, 98%)
CMYKcmyk(27.3%, 56.6%, 0%, 2.4%)
CIE-LABlab(59.33, 54.65, -59.67)
CIE-LCHlch(59.33, 80.92, 312.49°)
OKLaboklab(67.26% 0.1197 -0.1683)
OKLCHoklch(67.26% 0.207 305.4)
XYZxyz(41.5138, 27.3887, 92.7037)
Luminance0.2739 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56CF9 #B0F96C
analogous
#6F6CF9 #B56CF9 #F96CF6
triadic
#B56CF9 #F9B56C #6CF9B5
tetradic
#B56CF9 #F96F6C #B0F96C #6CF6F9
square
#B56CF9 #F96F6C #B0F96C #6CF6F9
split-complementary
#B56CF9 #F6F96C #6CF96F
monochromatic
#7909E1 #9731F7 #B56CF9 #D3A7FB #F0E2FE

Accessibility & contrast

On white

3.24
#B56CF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#B56CF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56CF9
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56CF9#FFFFFF#000000##000000
##B56CF91.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#348DFE
Deuteranopia (green-blind)
#518FF6
Tritanopia (blue-blind)
#A987A8
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b56cf9;
/* rgb */ color: rgb(181, 108, 249);
/* oklch */ color: oklch(67.3% 0.207 305.4);
Tailwind
colors: {
  custom: {
    50: '#cf99fc',
    500: '#b56cf9',
    950: '#000000',
  },
}
SCSS
$custom: #b56cf9;
$custom-light: #cf99fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b56cf9",
  "rgb": {
    "r": 181,
    "g": 108,
    "b": 249
  },
  "hsl": {
    "h": 271.064,
    "s": 92.157,
    "l": 70
  },
  "oklch": {
    "l": 0.67261,
    "c": 0.20657,
    "h": 305.4
  },
  "luminance": 0.27388
}

Semantic roles & 50–950 ramp

primary
#B56CF9
secondary
#E0F4CD
accent
#E6006F
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B56CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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