#B56FDF#B56FDF

#B56FDF is a light, vivid violet. Relative luminance 0.265; OKLCH L 66.2% C 0.173 H 311.4°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#B56FDF
RGBrgb(181, 111, 223)
HSLhsl(278, 64%, 65%)
HSVhsv(278, 50%, 87%)
CMYKcmyk(18.8%, 50.2%, 0%, 12.5%)
CIE-LABlab(58.53, 47.28, -46.48)
CIE-LCHlch(58.53, 66.30, 315.49°)
OKLaboklab(66.22% 0.1144 -0.1298)
OKLCHoklch(66.22% 0.173 311.4)
XYZxyz(38.0574, 26.5211, 72.9120)
Luminance0.2652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56FDF #99DF6F
analogous
#7D6FDF #B56FDF #DF6FD1
triadic
#B56FDF #DFB56F #6FDFB5
tetradic
#B56FDF #DF7D6F #99DF6F #6FD1DF
square
#B56FDF #DF7D6F #99DF6F #6FD1DF
split-complementary
#B56FDF #D1DF6F #6FDF7D
monochromatic
#7B26AD #9B3DD4 #B56FDF #CFA1EA #E8D3F5

Accessibility & contrast

On white

3.33
#B56FDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#B56FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56FDF
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56FDF#FFFFFF#000000##000000
##B56FDF1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5389E3
Deuteranopia (green-blind)
#688EDC
Tritanopia (blue-blind)
#B0819D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b56fdf;
/* rgb */ color: rgb(181, 111, 223);
/* oklch */ color: oklch(66.2% 0.173 311.4);
Tailwind
colors: {
  custom: {
    50: '#cd9ae9',
    500: '#b56fdf',
    950: '#000000',
  },
}
SCSS
$custom: #b56fdf;
$custom-light: #cd9ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#b56fdf",
  "rgb": {
    "r": 181,
    "g": 111,
    "b": 223
  },
  "hsl": {
    "h": 277.5,
    "s": 63.636,
    "l": 65.49
  },
  "oklch": {
    "l": 0.66215,
    "c": 0.17298,
    "h": 311.4
  },
  "luminance": 0.2652
}

Semantic roles & 50–950 ramp

primary
#B56FDF
secondary
#D0E8C2
accent
#CB1A5D
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B56FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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