#B56FF6#B56FF6

#B56FF6 is a light, vivid violet. Relative luminance 0.278; OKLCH L 67.5% C 0.199 H 305.7°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#B56FF6
RGBrgb(181, 111, 246)
HSLhsl(271, 88%, 70%)
HSVhsv(271, 55%, 96%)
CMYKcmyk(26.4%, 54.9%, 0%, 3.5%)
CIE-LABlab(59.75, 52.42, -57.35)
CIE-LCHlch(59.75, 77.70, 312.43°)
OKLaboklab(67.51% 0.116 -0.1615)
OKLCHoklch(67.51% 0.199 305.7)
XYZxyz(41.3715, 27.8468, 90.3664)
Luminance0.2785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56FF6 #B0F66F
analogous
#716FF6 #B56FF6 #F66FF4
triadic
#B56FF6 #F6B56F #6FF6B5
tetradic
#B56FF6 #F6716F #B0F66F #6FF4F6
square
#B56FF6 #F6716F #B0F66F #6FF4F6
split-complementary
#B56FF6 #F4F66F #6FF671
monochromatic
#790EDD #9735F2 #B56FF6 #D3A9FA #F0E2FD

Accessibility & contrast

On white

3.20
#B56FF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#B56FF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56FF6
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56FF6#FFFFFF#000000##000000
##B56FF61.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8EFA
Deuteranopia (green-blind)
#5890F3
Tritanopia (blue-blind)
#AA88A8
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b56ff6;
/* rgb */ color: rgb(181, 111, 246);
/* oklch */ color: oklch(67.5% 0.199 305.7);
Tailwind
colors: {
  custom: {
    50: '#ce9bfa',
    500: '#b56ff6',
    950: '#000000',
  },
}
SCSS
$custom: #b56ff6;
$custom-light: #ce9bfa;
$custom-dark: #000000;
JSON
{
  "hex": "#b56ff6",
  "rgb": {
    "r": 181,
    "g": 111,
    "b": 246
  },
  "hsl": {
    "h": 271.111,
    "s": 88.235,
    "l": 70
  },
  "oklch": {
    "l": 0.67513,
    "c": 0.19884,
    "h": 305.7
  },
  "luminance": 0.27846
}

Semantic roles & 50–950 ramp

primary
#B56FF6
secondary
#E0F3CE
accent
#E5016F
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B56FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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