#B56BFA#B56BFA

#B56BFA is a light, highly saturated violet. Relative luminance 0.272; OKLCH L 67.2% C 0.209 H 305.3°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#B56BFA
RGBrgb(181, 107, 250)
HSLhsl(271, 93%, 70%)
HSVhsv(271, 57%, 98%)
CMYKcmyk(27.6%, 57.2%, 0%, 2%)
CIE-LABlab(59.20, 55.39, -60.44)
CIE-LCHlch(59.20, 81.99, 312.50°)
OKLaboklab(67.18% 0.121 -0.1706)
OKLCHoklch(67.18% 0.209 305.3)
XYZxyz(41.5653, 27.2416, 93.4924)
Luminance0.2724 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56BFA #B0FA6B
analogous
#6E6BFA #B56BFA #FA6BF7
triadic
#B56BFA #FAB56B #6BFAB5
tetradic
#B56BFA #FA6E6B #B0FA6B #6BF7FA
square
#B56BFA #FA6E6B #B0FA6B #6BF7FA
split-complementary
#B56BFA #F7FA6B #6BFA6E
monochromatic
#7908E3 #9730F8 #B56BFA #D3A6FC #F0E1FE

Accessibility & contrast

On white

3.26
#B56BFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#B56BFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56BFA
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56BFA#FFFFFF#000000##000000
##B56BFA1.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#308CFF
Deuteranopia (green-blind)
#4F8FF7
Tritanopia (blue-blind)
#A987A9
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b56bfa;
/* rgb */ color: rgb(181, 107, 250);
/* oklch */ color: oklch(67.2% 0.209 305.3);
Tailwind
colors: {
  custom: {
    50: '#cf98fd',
    500: '#b56bfa',
    950: '#000000',
  },
}
SCSS
$custom: #b56bfa;
$custom-light: #cf98fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b56bfa",
  "rgb": {
    "r": 181,
    "g": 107,
    "b": 250
  },
  "hsl": {
    "h": 271.049,
    "s": 93.464,
    "l": 70
  },
  "oklch": {
    "l": 0.6718,
    "c": 0.20911,
    "h": 305.3
  },
  "luminance": 0.27241
}

Semantic roles & 50–950 ramp

primary
#B56BFA
secondary
#E0F4CC
accent
#E6006F
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B56BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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