#B56EFA#B56EFA

#B56EFA is a light, highly saturated violet. Relative luminance 0.279; OKLCH L 67.6% C 0.205 H 304.9°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#B56EFA
RGBrgb(181, 110, 250)
HSLhsl(270, 93%, 71%)
HSVhsv(270, 56%, 98%)
CMYKcmyk(27.6%, 56%, 0%, 2%)
CIE-LABlab(59.78, 53.85, -59.51)
CIE-LCHlch(59.78, 80.26, 312.14°)
OKLaboklab(67.61% 0.1173 -0.1679)
OKLCHoklch(67.61% 0.205 304.9)
XYZxyz(41.8836, 27.8780, 93.5984)
Luminance0.2788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56EFA #B3FA6E
analogous
#6F6EFA #B56EFA #FA6EF9
triadic
#B56EFA #FAB56E #6EFAB5
tetradic
#B56EFA #FA6F6E #B3FA6E #6EF9FA
square
#B56EFA #FA6F6E #B3FA6E #6EF9FA
split-complementary
#B56EFA #F9FA6E #6EFA6F
monochromatic
#7808E6 #9733F8 #B56EFA #D3A9FC #F0E1FE

Accessibility & contrast

On white

3.19
#B56EFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#B56EFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56EFA
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56EFA#FFFFFF#000000##000000
##B56EFA1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#378EFF
Deuteranopia (green-blind)
#5390F7
Tritanopia (blue-blind)
#A989AA
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b56efa;
/* rgb */ color: rgb(181, 110, 250);
/* oklch */ color: oklch(67.6% 0.205 304.9);
Tailwind
colors: {
  custom: {
    50: '#cf9afd',
    500: '#b56efa',
    950: '#000000',
  },
}
SCSS
$custom: #b56efa;
$custom-light: #cf9afd;
$custom-dark: #000000;
JSON
{
  "hex": "#b56efa",
  "rgb": {
    "r": 181,
    "g": 110,
    "b": 250
  },
  "hsl": {
    "h": 270.429,
    "s": 93.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.67606,
    "c": 0.20479,
    "h": 304.9
  },
  "luminance": 0.27878
}

Semantic roles & 50–950 ramp

primary
#B56EFA
secondary
#E2F5CF
accent
#E60071
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B56EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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