#D56BFB#D56BFB

#D56BFB is a light, highly saturated purple. Relative luminance 0.316; OKLCH L 70.8% C 0.221 H 316.2°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#D56BFB
RGBrgb(213, 107, 251)
HSLhsl(284, 95%, 70%)
HSVhsv(284, 57%, 98%)
CMYKcmyk(15.1%, 57.4%, 0%, 1.6%)
CIE-LABlab(63.03, 63.25, -54.65)
CIE-LCHlch(63.03, 83.59, 319.17°)
OKLaboklab(70.82% 0.1596 -0.1527)
OKLCHoklch(70.82% 0.221 316.2)
XYZxyz(50.1082, 31.6283, 94.7134)
Luminance0.3163 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D56BFB #91FB6B
analogous
#8D6BFB #D56BFB #FB6BD9
triadic
#D56BFB #FBD56B #6BFBD5
tetradic
#D56BFB #FB8D6B #91FB6B #6BD9FB
square
#D56BFB #FB8D6B #91FB6B #6BD9FB
split-complementary
#D56BFB #D9FB6B #6BFB8D
monochromatic
#AB06E5 #C42FF9 #D56BFB #E6A7FD #F7E1FE

Accessibility & contrast

On white

2.87
#D56BFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#D56BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D56BFB
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D56BFB#FFFFFF#000000##000000
##D56BFB1.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4492FF
Deuteranopia (green-blind)
#6C9CF7
Tritanopia (blue-blind)
#D383A9
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d56bfb;
/* rgb */ color: rgb(213, 107, 251);
/* oklch */ color: oklch(70.8% 0.221 316.2);
Tailwind
colors: {
  custom: {
    50: '#e59afd',
    500: '#d56bfb',
    950: '#000000',
  },
}
SCSS
$custom: #d56bfb;
$custom-light: #e59afd;
$custom-dark: #000000;
JSON
{
  "hex": "#d56bfb",
  "rgb": {
    "r": 213,
    "g": 107,
    "b": 251
  },
  "hsl": {
    "h": 284.167,
    "s": 94.737,
    "l": 70.196
  },
  "oklch": {
    "l": 0.70823,
    "c": 0.22088,
    "h": 316.2
  },
  "luminance": 0.31627
}

Semantic roles & 50–950 ramp

primary
#D56BFB
secondary
#D7F5CD
accent
#E6003D
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D56BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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