#B56BED#B56BED

#B56BED is a light, vivid violet. Relative luminance 0.265; OKLCH L 66.4% C 0.195 H 308.3°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#B56BED
RGBrgb(181, 107, 237)
HSLhsl(274, 78%, 67%)
HSVhsv(274, 55%, 93%)
CMYKcmyk(23.6%, 54.9%, 0%, 7.1%)
CIE-LABlab(58.47, 52.46, -54.40)
CIE-LCHlch(58.47, 75.57, 313.96°)
OKLaboklab(66.41% 0.1206 -0.1529)
OKLCHoklch(66.41% 0.195 308.3)
XYZxyz(39.5968, 26.4541, 83.1245)
Luminance0.2645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56BED #A3ED6B
analogous
#746BED #B56BED #ED6BE4
triadic
#B56BED #EDB56B #6BEDB5
tetradic
#B56BED #ED746B #A3ED6B #6BE4ED
square
#B56BED #ED746B #A3ED6B #6BE4ED
split-complementary
#B56BED #E4ED6B #6BED74
monochromatic
#7B18C6 #9A34E6 #B56BED #D0A2F4 #ECD8FA

Accessibility & contrast

On white

3.34
#B56BED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#B56BED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56BED
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56BED#FFFFFF#000000##000000
##B56BED1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#408AF1
Deuteranopia (green-blind)
#5A8EEA
Tritanopia (blue-blind)
#AD83A2
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b56bed;
/* rgb */ color: rgb(181, 107, 237);
/* oklch */ color: oklch(66.4% 0.195 308.3);
Tailwind
colors: {
  custom: {
    50: '#ce98f3',
    500: '#b56bed',
    950: '#000000',
  },
}
SCSS
$custom: #b56bed;
$custom-light: #ce98f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b56bed",
  "rgb": {
    "r": 181,
    "g": 107,
    "b": 237
  },
  "hsl": {
    "h": 274.154,
    "s": 78.313,
    "l": 67.451
  },
  "oklch": {
    "l": 0.66408,
    "c": 0.19475,
    "h": 308.3
  },
  "luminance": 0.26454
}

Semantic roles & 50–950 ramp

primary
#B56BED
secondary
#D7EEC6
accent
#DB0B64
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #B56BED

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

Preview Lab → · Contrast checker → · Palette generator →

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