#B56EF7#B56EF7

#B56EF7 is a light, highly saturated violet. Relative luminance 0.277; OKLCH L 67.4% C 0.201 H 305.6°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#B56EF7
RGBrgb(181, 110, 247)
HSLhsl(271, 90%, 70%)
HSVhsv(271, 55%, 97%)
CMYKcmyk(26.7%, 55.5%, 0%, 3.1%)
CIE-LABlab(59.61, 53.17, -58.13)
CIE-LCHlch(59.61, 78.77, 312.45°)
OKLaboklab(67.43% 0.1172 -0.1638)
OKLCHoklch(67.43% 0.201 305.6)
XYZxyz(41.4169, 27.6913, 91.1407)
Luminance0.2769 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56EF7 #B0F76E
analogous
#716EF7 #B56EF7 #F76EF4
triadic
#B56EF7 #F7B56E #6EF7B5
tetradic
#B56EF7 #F7716E #B0F76E #6EF4F7
square
#B56EF7 #F7716E #B0F76E #6EF4F7
split-complementary
#B56EF7 #F4F76E #6EF771
monochromatic
#790CDE #9734F4 #B56EF7 #D3A8FA #F0E2FD

Accessibility & contrast

On white

3.21
#B56EF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#B56EF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56EF7
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56EF7#FFFFFF#000000##000000
##B56EF71.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8DFC
Deuteranopia (green-blind)
#5590F4
Tritanopia (blue-blind)
#AA88A8
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b56ef7;
/* rgb */ color: rgb(181, 110, 247);
/* oklch */ color: oklch(67.4% 0.201 305.6);
Tailwind
colors: {
  custom: {
    50: '#cf9afa',
    500: '#b56ef7',
    950: '#000000',
  },
}
SCSS
$custom: #b56ef7;
$custom-light: #cf9afa;
$custom-dark: #000000;
JSON
{
  "hex": "#b56ef7",
  "rgb": {
    "r": 181,
    "g": 110,
    "b": 247
  },
  "hsl": {
    "h": 271.095,
    "s": 89.542,
    "l": 70
  },
  "oklch": {
    "l": 0.67427,
    "c": 0.20143,
    "h": 305.6
  },
  "luminance": 0.27691
}

Semantic roles & 50–950 ramp

primary
#B56EF7
secondary
#E0F4CD
accent
#E6006F
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B56EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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