#B56CF7#B56CF7

#B56CF7 is a light, highly saturated violet. Relative luminance 0.273; OKLCH L 67.1% C 0.204 H 305.9°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#B56CF7
RGBrgb(181, 108, 247)
HSLhsl(272, 90%, 70%)
HSVhsv(272, 56%, 97%)
CMYKcmyk(26.7%, 56.3%, 0%, 3.1%)
CIE-LABlab(59.22, 54.20, -58.75)
CIE-LCHlch(59.22, 79.93, 312.69°)
OKLaboklab(67.14% 0.1197 -0.1656)
OKLCHoklch(67.14% 0.204 305.9)
XYZxyz(41.2036, 27.2646, 91.0696)
Luminance0.2726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56CF7 #AEF76C
analogous
#706CF7 #B56CF7 #F76CF3
triadic
#B56CF7 #F7B56C #6CF7B5
tetradic
#B56CF7 #F7706C #AEF76C #6CF3F7
square
#B56CF7 #F7706C #AEF76C #6CF3F7
split-complementary
#B56CF7 #F3F76C #6CF770
monochromatic
#7A0CDD #9832F4 #B56CF7 #D2A6FA #EFE0FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B56CF7#FFFFFF#000000##000000
##B56CF71.003.256.456.45
#FFFFFF3.251.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#378CFC
Deuteranopia (green-blind)
#538FF4
Tritanopia (blue-blind)
#AA87A7
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b56cf7;
/* rgb */ color: rgb(181, 108, 247);
/* oklch */ color: oklch(67.1% 0.204 305.9);
Tailwind
colors: {
  custom: {
    50: '#cf99fa',
    500: '#b56cf7',
    950: '#000000',
  },
}
SCSS
$custom: #b56cf7;
$custom-light: #cf99fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b56cf7",
  "rgb": {
    "r": 181,
    "g": 108,
    "b": 247
  },
  "hsl": {
    "h": 271.511,
    "s": 89.677,
    "l": 69.608
  },
  "oklch": {
    "l": 0.67141,
    "c": 0.20436,
    "h": 305.9
  },
  "luminance": 0.27264
}

Semantic roles & 50–950 ramp

primary
#B56CF7
secondary
#DEF3CC
accent
#E6006D
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B56CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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