#DB7FCD#DB7FCD

#DB7FCD is a light, vivid purple. Relative luminance 0.346; OKLCH L 72.1% C 0.149 H 332.8°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#DB7FCD
RGBrgb(219, 127, 205)
HSLhsl(309, 56%, 68%)
HSVhsv(309, 42%, 86%)
CMYKcmyk(0%, 42%, 6.4%, 14.1%)
CIE-LABlab(65.47, 46.50, -25.22)
CIE-LCHlch(65.47, 52.90, 331.52°)
OKLaboklab(72.11% 0.1327 -0.0682)
OKLCHoklch(72.11% 0.149 332.8)
XYZxyz(47.8219, 34.6492, 61.9148)
Luminance0.3465 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7FCD #7FDB8D
analogous
#BB7FDB #DB7FCD #DB7F9F
triadic
#DB7FCD #CDDB7F #7FCDDB
tetradic
#DB7FCD #DBBB7F #7FDB8D #7F9FDB
square
#DB7FCD #DBBB7F #7FDB8D #7F9FDB
split-complementary
#DB7FCD #9FDB7F #7FDBBB
monochromatic
#AF319B #CE4FBA #DB7FCD #E8AFE0 #F6DFF2

Accessibility & contrast

On white

2.65
#DB7FCD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#DB7FCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7FCD
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7FCD#FFFFFF#000000##000000
##DB7FCD1.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D97D0
Deuteranopia (green-blind)
#96A4CA
Tritanopia (blue-blind)
#E2849D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #db7fcd;
/* rgb */ color: rgb(219, 127, 205);
/* oklch */ color: oklch(72.1% 0.149 332.8);
Tailwind
colors: {
  custom: {
    50: '#e8a6dc',
    500: '#db7fcd',
    950: '#000000',
  },
}
SCSS
$custom: #db7fcd;
$custom-light: #e8a6dc;
$custom-dark: #000000;
JSON
{
  "hex": "#db7fcd",
  "rgb": {
    "r": 219,
    "g": 127,
    "b": 205
  },
  "hsl": {
    "h": 309.13,
    "s": 56.098,
    "l": 67.843
  },
  "oklch": {
    "l": 0.72112,
    "c": 0.14922,
    "h": 332.8
  },
  "luminance": 0.34647
}

Semantic roles & 50–950 ramp

primary
#DB7FCD
secondary
#CDE9D1
accent
#C43A22
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#161015
muted
#847F83

Preview Lab

Preview with #DB7FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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