#B56FED#B56FED

#B56FED is a light, vivid violet. Relative luminance 0.273; OKLCH L 67.0% C 0.189 H 307.7°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#B56FED
RGBrgb(181, 111, 237)
HSLhsl(273, 78%, 68%)
HSVhsv(273, 53%, 93%)
CMYKcmyk(23.6%, 53.2%, 0%, 7.1%)
CIE-LABlab(59.26, 50.38, -53.14)
CIE-LCHlch(59.26, 73.23, 313.47°)
OKLaboklab(66.99% 0.1155 -0.1492)
OKLCHoklch(66.99% 0.189 307.7)
XYZxyz(40.0235, 27.3076, 83.2668)
Luminance0.2731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56FED #A7ED6F
analogous
#766FED #B56FED #ED6FE6
triadic
#B56FED #EDB56F #6FEDB5
tetradic
#B56FED #ED766F #A7ED6F #6FE6ED
square
#B56FED #ED766F #A7ED6F #6FE6ED
split-complementary
#B56FED #E6ED6F #6FED76
monochromatic
#7B19C9 #9939E6 #B56FED #D1A5F4 #EDDCFB

Accessibility & contrast

On white

3.25
#B56FED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#B56FED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56FED
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56FED#FFFFFF#000000##000000
##B56FED1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#488CF1
Deuteranopia (green-blind)
#5F8FEA
Tritanopia (blue-blind)
#AD86A4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b56fed;
/* rgb */ color: rgb(181, 111, 237);
/* oklch */ color: oklch(67.0% 0.189 307.7);
Tailwind
colors: {
  custom: {
    50: '#ce9bf3',
    500: '#b56fed',
    950: '#000000',
  },
}
SCSS
$custom: #b56fed;
$custom-light: #ce9bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#b56fed",
  "rgb": {
    "r": 181,
    "g": 111,
    "b": 237
  },
  "hsl": {
    "h": 273.333,
    "s": 77.778,
    "l": 68.235
  },
  "oklch": {
    "l": 0.66991,
    "c": 0.1887,
    "h": 307.7
  },
  "luminance": 0.27307
}

Semantic roles & 50–950 ramp

primary
#B56FED
secondary
#DAEFC9
accent
#DA0B67
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B56FED

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

Preview Lab → · Contrast checker → · Palette generator →

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