#B56FDA#B56FDA

#B56FDA is a light, vivid violet. Relative luminance 0.263; OKLCH L 65.9% C 0.167 H 312.8°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#B56FDA
RGBrgb(181, 111, 218)
HSLhsl(279, 59%, 65%)
HSVhsv(279, 49%, 85%)
CMYKcmyk(17%, 49.1%, 0%, 14.5%)
CIE-LABlab(58.28, 46.20, -44.06)
CIE-LCHlch(58.28, 63.85, 316.36°)
OKLaboklab(65.95% 0.1138 -0.1228)
OKLCHoklch(65.95% 0.167 312.8)
XYZxyz(37.3932, 26.2554, 69.4141)
Luminance0.2626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B56FDA #94DA6F
analogous
#806FDA #B56FDA #DA6FCA
triadic
#B56FDA #DAB56F #6FDAB5
tetradic
#B56FDA #DA806F #94DA6F #6FCADA
square
#B56FDA #DA806F #94DA6F #6FCADA
split-complementary
#B56FDA #CADA6F #6FDA80
monochromatic
#7A2AA4 #9C3ECD #B56FDA #CEA0E7 #E7D0F3

Accessibility & contrast

On white

3.36
#B56FDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#B56FDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B56FDA
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B56FDA#FFFFFF#000000##000000
##B56FDA1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5688DE
Deuteranopia (green-blind)
#6B8ED7
Tritanopia (blue-blind)
#B2809A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b56fda;
/* rgb */ color: rgb(181, 111, 218);
/* oklch */ color: oklch(65.9% 0.167 312.8);
Tailwind
colors: {
  custom: {
    50: '#cd9ae6',
    500: '#b56fda',
    950: '#000000',
  },
}
SCSS
$custom: #b56fda;
$custom-light: #cd9ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#b56fda",
  "rgb": {
    "r": 181,
    "g": 111,
    "b": 218
  },
  "hsl": {
    "h": 279.252,
    "s": 59.116,
    "l": 64.51
  },
  "oklch": {
    "l": 0.65949,
    "c": 0.16741,
    "h": 312.8
  },
  "luminance": 0.26255
}

Semantic roles & 50–950 ramp

primary
#B56FDA
secondary
#CDE5C0
accent
#C71F59
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B56FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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