#B56FEF#B56FEF

#B56FEF is a light, vivid violet. Relative luminance 0.274; OKLCH L 67.1% C 0.191 H 307.3°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#B56FEF
RGBrgb(181, 111, 239)
HSLhsl(273, 80%, 69%)
HSVhsv(273, 54%, 94%)
CMYKcmyk(24.3%, 53.6%, 0%, 6.3%)
CIE-LABlab(59.37, 50.83, -54.08)
CIE-LCHlch(59.37, 74.22, 313.23°)
OKLaboklab(67.11% 0.1156 -0.152)
OKLCHoklch(67.11% 0.191 307.3)
XYZxyz(40.3173, 27.4251, 84.8142)
Luminance0.2742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56FEF #A9EF6F
analogous
#756FEF #B56FEF #EF6FE9
triadic
#B56FEF #EFB56F #6FEFB5
tetradic
#B56FEF #EF756F #A9EF6F #6FE9EF
square
#B56FEF #EF756F #A9EF6F #6FE9EF
split-complementary
#B56FEF #E9EF6F #6FEF75
monochromatic
#7A17CD #9938E9 #B56FEF #D1A6F5 #EEDDFB

Accessibility & contrast

On white

3.24
#B56FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#B56FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56FEF
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56FEF#FFFFFF#000000##000000
##B56FEF1.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#468CF3
Deuteranopia (green-blind)
#5D90EC
Tritanopia (blue-blind)
#AC86A5
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b56fef;
/* rgb */ color: rgb(181, 111, 239);
/* oklch */ color: oklch(67.1% 0.191 307.3);
Tailwind
colors: {
  custom: {
    50: '#ce9bf5',
    500: '#b56fef',
    950: '#000000',
  },
}
SCSS
$custom: #b56fef;
$custom-light: #ce9bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#b56fef",
  "rgb": {
    "r": 181,
    "g": 111,
    "b": 239
  },
  "hsl": {
    "h": 272.813,
    "s": 80,
    "l": 68.627
  },
  "oklch": {
    "l": 0.67106,
    "c": 0.19095,
    "h": 307.3
  },
  "luminance": 0.27425
}

Semantic roles & 50–950 ramp

primary
#B56FEF
secondary
#DBF0CA
accent
#DC0969
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140E17
muted
#837E85

Preview Lab

Preview with #B56FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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