#D47FDB#D47FDB

#D47FDB is a light, vivid purple. Relative luminance 0.343; OKLCH L 71.9% C 0.157 H 324.3°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#D47FDB
RGBrgb(212, 127, 219)
HSLhsl(295, 56%, 68%)
HSVhsv(295, 42%, 86%)
CMYKcmyk(3.2%, 42%, 0%, 14.1%)
CIE-LABlab(65.19, 46.88, -33.54)
CIE-LCHlch(65.19, 57.64, 324.42°)
OKLaboklab(71.9% 0.1279 -0.0919)
OKLCHoklch(71.9% 0.157 324.3)
XYZxyz(47.5257, 34.2923, 71.1198)
Luminance0.3429 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D47FDB #86DB7F
analogous
#A67FDB #D47FDB #DB7FB4
triadic
#D47FDB #DBD47F #7FDBD4
tetradic
#D47FDB #DBA67F #86DB7F #7FB4DB
square
#D47FDB #DBA67F #86DB7F #7FB4DB
split-complementary
#D47FDB #B4DB7F #7FDBA6
monochromatic
#A531AF #C44FCE #D47FDB #E4AFE8 #F4DFF6

Accessibility & contrast

On white

2.67
#D47FDB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#D47FDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D47FDB
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D47FDB#FFFFFF#000000##000000
##D47FDB1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7598DE
Deuteranopia (green-blind)
#8CA2D8
Tritanopia (blue-blind)
#D889A3
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d47fdb;
/* rgb */ color: rgb(212, 127, 219);
/* oklch */ color: oklch(71.9% 0.157 324.3);
Tailwind
colors: {
  custom: {
    50: '#e3a6e6',
    500: '#d47fdb',
    950: '#000000',
  },
}
SCSS
$custom: #d47fdb;
$custom-light: #e3a6e6;
$custom-dark: #000000;
JSON
{
  "hex": "#d47fdb",
  "rgb": {
    "r": 212,
    "g": 127,
    "b": 219
  },
  "hsl": {
    "h": 295.435,
    "s": 56.098,
    "l": 67.843
  },
  "oklch": {
    "l": 0.71904,
    "c": 0.15746,
    "h": 324.3
  },
  "luminance": 0.3429
}

Semantic roles & 50–950 ramp

primary
#D47FDB
secondary
#CFE9CD
accent
#C4222E
background
#FEFAFE
surface
#FCF4FC
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D47FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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