#B56EF6#B56EF6

#B56EF6 is a light, highly saturated violet. Relative luminance 0.276; OKLCH L 67.4% C 0.200 H 305.8°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#B56EF6
RGBrgb(181, 110, 246)
HSLhsl(271, 88%, 70%)
HSVhsv(271, 55%, 96%)
CMYKcmyk(26.4%, 55.3%, 0%, 3.5%)
CIE-LABlab(59.55, 52.94, -57.66)
CIE-LCHlch(59.55, 78.28, 312.55°)
OKLaboklab(67.37% 0.1172 -0.1624)
OKLCHoklch(67.37% 0.2 305.8)
XYZxyz(41.2630, 27.6298, 90.3302)
Luminance0.2763 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56EF6 #AFF66E
analogous
#716EF6 #B56EF6 #F66EF3
triadic
#B56EF6 #F6B56E #6EF6B5
tetradic
#B56EF6 #F6716E #AFF66E #6EF3F6
square
#B56EF6 #F6716E #AFF66E #6EF3F6
split-complementary
#B56EF6 #F3F66E #6EF671
monochromatic
#790EDC #9834F2 #B56EF6 #D2A8FA #F0E1FD

Accessibility & contrast

On white

3.22
#B56EF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#B56EF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56EF6
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56EF6#FFFFFF#000000##000000
##B56EF61.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8DFA
Deuteranopia (green-blind)
#5690F3
Tritanopia (blue-blind)
#AA88A8
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b56ef6;
/* rgb */ color: rgb(181, 110, 246);
/* oklch */ color: oklch(67.4% 0.200 305.8);
Tailwind
colors: {
  custom: {
    50: '#ce9afa',
    500: '#b56ef6',
    950: '#000000',
  },
}
SCSS
$custom: #b56ef6;
$custom-light: #ce9afa;
$custom-dark: #000000;
JSON
{
  "hex": "#b56ef6",
  "rgb": {
    "r": 181,
    "g": 110,
    "b": 246
  },
  "hsl": {
    "h": 271.324,
    "s": 88.312,
    "l": 69.804
  },
  "oklch": {
    "l": 0.67368,
    "c": 0.20031,
    "h": 305.8
  },
  "luminance": 0.27629
}

Semantic roles & 50–950 ramp

primary
#B56EF6
secondary
#DFF3CD
accent
#E5016E
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #B56EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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