#B56CFB#B56CFB

#B56CFB is a light, highly saturated violet. Relative luminance 0.275; OKLCH L 67.4% C 0.209 H 305.0°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#B56CFB
RGBrgb(181, 108, 251)
HSLhsl(271, 95%, 70%)
HSVhsv(271, 57%, 98%)
CMYKcmyk(27.9%, 57%, 0%, 1.6%)
CIE-LABlab(59.45, 55.11, -60.60)
CIE-LCHlch(59.45, 81.91, 312.29°)
OKLaboklab(67.38% 0.1198 -0.171)
OKLCHoklch(67.38% 0.209 305)
XYZxyz(41.8274, 27.5142, 94.3553)
Luminance0.2751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56CFB #B2FB6C
analogous
#6D6CFB #B56CFB #FB6CFA
triadic
#B56CFB #FBB56C #6CFBB5
tetradic
#B56CFB #FB6D6C #B2FB6C #6CFAFB
square
#B56CFB #FB6D6C #B2FB6C #6CFAFB
split-complementary
#B56CFB #FAFB6C #6CFB6D
monochromatic
#7906E6 #9730F9 #B56CFB #D3A8FD #F0E1FE

Accessibility & contrast

On white

3.23
#B56CFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#B56CFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56CFB
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56CFB#FFFFFF#000000##000000
##B56CFB1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#318DFF
Deuteranopia (green-blind)
#4F8FF8
Tritanopia (blue-blind)
#A988A9
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b56cfb;
/* rgb */ color: rgb(181, 108, 251);
/* oklch */ color: oklch(67.4% 0.209 305.0);
Tailwind
colors: {
  custom: {
    50: '#cf99fd',
    500: '#b56cfb',
    950: '#000000',
  },
}
SCSS
$custom: #b56cfb;
$custom-light: #cf99fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b56cfb",
  "rgb": {
    "r": 181,
    "g": 108,
    "b": 251
  },
  "hsl": {
    "h": 270.629,
    "s": 94.702,
    "l": 70.392
  },
  "oklch": {
    "l": 0.67382,
    "c": 0.20879,
    "h": 305
  },
  "luminance": 0.27514
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B56CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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