#B56FF9#B56FF9

#B56FF9 is a light, highly saturated violet. Relative luminance 0.280; OKLCH L 67.7% C 0.202 H 305.0°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#B56FF9
RGBrgb(181, 111, 249)
HSLhsl(270, 92%, 71%)
HSVhsv(270, 55%, 98%)
CMYKcmyk(27.3%, 55.4%, 0%, 2.4%)
CIE-LABlab(59.92, 53.11, -58.74)
CIE-LCHlch(59.92, 79.19, 312.12°)
OKLaboklab(67.69% 0.116 -0.1656)
OKLCHoklch(67.69% 0.202 305)
XYZxyz(41.8357, 28.0324, 92.8110)
Luminance0.2803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56FF9 #B3F96F
analogous
#706FF9 #B56FF9 #F96FF8
triadic
#B56FF9 #F9B56F #6FF9B5
tetradic
#B56FF9 #F9706F #B3F96F #6FF8F9
square
#B56FF9 #F9706F #B3F96F #6FF8F9
split-complementary
#B56FF9 #F8F96F #6FF970
monochromatic
#780AE4 #9734F7 #B56FF9 #D3AAFB #F0E2FE

Accessibility & contrast

On white

3.18
#B56FF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#B56FF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56FF9
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56FF9#FFFFFF#000000##000000
##B56FF91.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8EFE
Deuteranopia (green-blind)
#5591F6
Tritanopia (blue-blind)
#A989AA
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b56ff9;
/* rgb */ color: rgb(181, 111, 249);
/* oklch */ color: oklch(67.7% 0.202 305.0);
Tailwind
colors: {
  custom: {
    50: '#cf9bfc',
    500: '#b56ff9',
    950: '#000000',
  },
}
SCSS
$custom: #b56ff9;
$custom-light: #cf9bfc;
$custom-dark: #000000;
JSON
{
  "hex": "#b56ff9",
  "rgb": {
    "r": 181,
    "g": 111,
    "b": 249
  },
  "hsl": {
    "h": 270.435,
    "s": 92,
    "l": 70.588
  },
  "oklch": {
    "l": 0.6769,
    "c": 0.20221,
    "h": 305
  },
  "luminance": 0.28032
}

Semantic roles & 50–950 ramp

primary
#B56FF9
secondary
#E2F5CF
accent
#E60071
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B56FF9

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

Preview Lab → · Contrast checker → · Palette generator →

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