#B56CFF#B56CFF

#B56CFF is a light, highly saturated violet. Relative luminance 0.278; OKLCH L 67.6% C 0.213 H 304.2°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#B56CFF
RGBrgb(181, 108, 255)
HSLhsl(270, 100%, 71%)
HSVhsv(270, 58%, 100%)
CMYKcmyk(29%, 57.6%, 0%, 0%)
CIE-LABlab(59.68, 56.03, -62.43)
CIE-LCHlch(59.68, 83.89, 311.91°)
OKLaboklab(67.63% 0.1198 -0.1764)
OKLCHoklch(67.63% 0.213 304.2)
XYZxyz(42.4646, 27.7690, 97.7112)
Luminance0.2777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56CFF #B6FF6C
analogous
#6C6CFF #B56CFF #FF6CFF
triadic
#B56CFF #FFB56C #6CFFB5
tetradic
#B56CFF #FF6C6C #B6FF6C #6CFFFF
square
#B56CFF #FF6C6C #B6FF6C #6CFFFF
split-complementary
#B56CFF #FFFF6C #6CFF6C
monochromatic
#7700F1 #962FFF #B56CFF #D4A9FF #F0E0FF

Accessibility & contrast

On white

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

On black

6.55
#B56CFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56CFF
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56CFF#FFFFFF#000000##000000
##B56CFF1.003.206.556.55
#FFFFFF3.201.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A8EFF
Deuteranopia (green-blind)
#4B90FC
Tritanopia (blue-blind)
#A889AB
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b56cff;
/* rgb */ color: rgb(181, 108, 255);
/* oklch */ color: oklch(67.6% 0.213 304.2);
Tailwind
colors: {
  custom: {
    50: '#cf99ff',
    500: '#b56cff',
    950: '#000000',
  },
}
SCSS
$custom: #b56cff;
$custom-light: #cf99ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b56cff",
  "rgb": {
    "r": 181,
    "g": 108,
    "b": 255
  },
  "hsl": {
    "h": 269.796,
    "s": 100,
    "l": 71.176
  },
  "oklch": {
    "l": 0.67626,
    "c": 0.21323,
    "h": 304.2
  },
  "luminance": 0.27769
}

Semantic roles & 50–950 ramp

primary
#B56CFF
secondary
#E4F7D0
accent
#E60074
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B56CFF

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

Preview Lab → · Contrast checker → · Palette generator →

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