#B56DF7#B56DF7

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

Color values

HEX#B56DF7
RGBrgb(181, 109, 247)
HSLhsl(271, 90%, 70%)
HSVhsv(271, 56%, 97%)
CMYKcmyk(26.7%, 55.9%, 0%, 3.1%)
CIE-LABlab(59.41, 53.68, -58.44)
CIE-LCHlch(59.41, 79.35, 312.57°)
OKLaboklab(67.28% 0.1185 -0.1647)
OKLCHoklch(67.28% 0.203 305.7)
XYZxyz(41.3096, 27.4767, 91.1049)
Luminance0.2748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56DF7 #AFF76D
analogous
#706DF7 #B56DF7 #F76DF4
triadic
#B56DF7 #F7B56D #6DF7B5
tetradic
#B56DF7 #F7706D #AFF76D #6DF4F7
square
#B56DF7 #F7706D #AFF76D #6DF4F7
split-complementary
#B56DF7 #F4F76D #6DF770
monochromatic
#790CDD #9833F4 #B56DF7 #D2A7FA #F0E1FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B56DF7#FFFFFF#000000##000000
##B56DF71.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)
#398DFC
Deuteranopia (green-blind)
#548FF4
Tritanopia (blue-blind)
#AA87A8
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b56df7;
/* rgb */ color: rgb(181, 109, 247);
/* oklch */ color: oklch(67.3% 0.203 305.7);
Tailwind
colors: {
  custom: {
    50: '#cf99fa',
    500: '#b56df7',
    950: '#000000',
  },
}
SCSS
$custom: #b56df7;
$custom-light: #cf99fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b56df7",
  "rgb": {
    "r": 181,
    "g": 109,
    "b": 247
  },
  "hsl": {
    "h": 271.304,
    "s": 89.61,
    "l": 69.804
  },
  "oklch": {
    "l": 0.67283,
    "c": 0.20289,
    "h": 305.7
  },
  "luminance": 0.27476
}

Semantic roles & 50–950 ramp

primary
#B56DF7
secondary
#DFF3CC
accent
#E6006E
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B56DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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