#B56FE6#B56FE6

#B56FE6 is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.6% C 0.181 H 309.5°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#B56FE6
RGBrgb(181, 111, 230)
HSLhsl(275, 70%, 67%)
HSVhsv(275, 52%, 90%)
CMYKcmyk(21.3%, 51.7%, 0%, 9.8%)
CIE-LABlab(58.89, 48.82, -49.83)
CIE-LCHlch(58.89, 69.76, 314.42°)
OKLaboklab(66.6% 0.115 -0.1395)
OKLCHoklch(66.6% 0.181 309.5)
XYZxyz(39.0207, 26.9064, 77.9854)
Luminance0.2691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56FE6 #A0E66F
analogous
#7A6FE6 #B56FE6 #E66FDC
triadic
#B56FE6 #E6B56F #6FE6B5
tetradic
#B56FE6 #E67A6F #A0E66F #6FDCE6
square
#B56FE6 #E67A6F #A0E66F #6FDCE6
split-complementary
#B56FE6 #DCE66F #6FE67A
monochromatic
#7B20BA #9A3BDD #B56FE6 #D0A3EF #EBD7F8

Accessibility & contrast

On white

3.29
#B56FE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#B56FE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56FE6
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56FE6#FFFFFF#000000##000000
##B56FE61.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8BEA
Deuteranopia (green-blind)
#648FE3
Tritanopia (blue-blind)
#AF83A0
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b56fe6;
/* rgb */ color: rgb(181, 111, 230);
/* oklch */ color: oklch(66.6% 0.181 309.5);
Tailwind
colors: {
  custom: {
    50: '#ce9aee',
    500: '#b56fe6',
    950: '#000000',
  },
}
SCSS
$custom: #b56fe6;
$custom-light: #ce9aee;
$custom-dark: #000000;
JSON
{
  "hex": "#b56fe6",
  "rgb": {
    "r": 181,
    "g": 111,
    "b": 230
  },
  "hsl": {
    "h": 275.294,
    "s": 70.414,
    "l": 66.863
  },
  "oklch": {
    "l": 0.66598,
    "c": 0.18084,
    "h": 309.5
  },
  "luminance": 0.26906
}

Semantic roles & 50–950 ramp

primary
#B56FE6
secondary
#D5EBC5
accent
#D21362
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B56FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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