#B56BFB#B56BFB

#B56BFB is a light, highly saturated violet. Relative luminance 0.273; OKLCH L 67.2% C 0.210 H 305.1°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#B56BFB
RGBrgb(181, 107, 251)
HSLhsl(271, 95%, 70%)
HSVhsv(271, 57%, 98%)
CMYKcmyk(27.9%, 57.4%, 0%, 1.6%)
CIE-LABlab(59.26, 55.62, -60.90)
CIE-LCHlch(59.26, 82.48, 312.41°)
OKLaboklab(67.24% 0.121 -0.1719)
OKLCHoklch(67.24% 0.21 305.1)
XYZxyz(41.7226, 27.3044, 94.3204)
Luminance0.2730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56BFB #B1FB6B
analogous
#6D6BFB #B56BFB #FB6BF9
triadic
#B56BFB #FBB56B #6BFBB5
tetradic
#B56BFB #FB6D6B #B1FB6B #6BF9FB
square
#B56BFB #FB6D6B #B1FB6B #6BF9FB
split-complementary
#B56BFB #F9FB6B #6BFB6D
monochromatic
#7906E5 #972FF9 #B56BFB #D3A7FD #F0E1FE

Accessibility & contrast

On white

3.25
#B56BFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#B56BFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56BFB
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56BFB#FFFFFF#000000##000000
##B56BFB1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E8CFF
Deuteranopia (green-blind)
#4E8FF8
Tritanopia (blue-blind)
#A987A9
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b56bfb;
/* rgb */ color: rgb(181, 107, 251);
/* oklch */ color: oklch(67.2% 0.210 305.1);
Tailwind
colors: {
  custom: {
    50: '#cf98fd',
    500: '#b56bfb',
    950: '#000000',
  },
}
SCSS
$custom: #b56bfb;
$custom-light: #cf98fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b56bfb",
  "rgb": {
    "r": 181,
    "g": 107,
    "b": 251
  },
  "hsl": {
    "h": 270.833,
    "s": 94.737,
    "l": 70.196
  },
  "oklch": {
    "l": 0.67241,
    "c": 0.21022,
    "h": 305.1
  },
  "luminance": 0.27304
}

Semantic roles & 50–950 ramp

primary
#B56BFB
secondary
#E0F5CD
accent
#E60070
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B56BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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