#B56EFE#B56EFE

#B56EFE is a light, highly saturated violet. Relative luminance 0.281; OKLCH L 67.8% C 0.209 H 304.1°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#B56EFE
RGBrgb(181, 110, 254)
HSLhsl(270, 99%, 71%)
HSVhsv(270, 57%, 100%)
CMYKcmyk(28.7%, 56.7%, 0%, 0.4%)
CIE-LABlab(60.01, 54.78, -61.35)
CIE-LCHlch(60.01, 82.25, 311.76°)
OKLaboklab(67.85% 0.1174 -0.1733)
OKLCHoklch(67.85% 0.209 304.1)
XYZxyz(42.5174, 28.1315, 96.9367)
Luminance0.2813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56EFE #B7FE6E
analogous
#6E6FFE #B56EFE #FD6EFE
triadic
#B56EFE #FEB56E #6EFEB5
tetradic
#B56EFE #FE6E6F #B7FE6E #6EFEFD
square
#B56EFE #FE6E6F #B7FE6E #6EFEFD
split-complementary
#B56EFE #FEFD6E #6FFE6E
monochromatic
#7702F0 #9631FE #B56EFE #D4ABFE #EFE1FF

Accessibility & contrast

On white

3.17
#B56EFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#B56EFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56EFE
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56EFE#FFFFFF#000000##000000
##B56EFE1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#328FFF
Deuteranopia (green-blind)
#4F91FB
Tritanopia (blue-blind)
#A88AAC
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b56efe;
/* rgb */ color: rgb(181, 110, 254);
/* oklch */ color: oklch(67.8% 0.209 304.1);
Tailwind
colors: {
  custom: {
    50: '#cf9aff',
    500: '#b56efe',
    950: '#000000',
  },
}
SCSS
$custom: #b56efe;
$custom-light: #cf9aff;
$custom-dark: #000000;
JSON
{
  "hex": "#b56efe",
  "rgb": {
    "r": 181,
    "g": 110,
    "b": 254
  },
  "hsl": {
    "h": 269.583,
    "s": 98.63,
    "l": 71.373
  },
  "oklch": {
    "l": 0.67848,
    "c": 0.20927,
    "h": 304.1
  },
  "luminance": 0.28131
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B56EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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