#DC7FDB#DC7FDB

#DC7FDB is a light, vivid purple. Relative luminance 0.355; OKLCH L 72.8% C 0.162 H 327.5°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#DC7FDB
RGBrgb(220, 127, 219)
HSLhsl(301, 57%, 68%)
HSVhsv(301, 42%, 86%)
CMYKcmyk(0%, 42.3%, 0.5%, 13.7%)
CIE-LABlab(66.14, 49.26, -31.99)
CIE-LCHlch(66.14, 58.73, 327.00°)
OKLaboklab(72.82% 0.1369 -0.0874)
OKLCHoklch(72.82% 0.162 327.5)
XYZxyz(49.8899, 35.5113, 71.2306)
Luminance0.3551 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7FDB #7FDC80
analogous
#AE7FDC #DC7FDB #DC7FAC
triadic
#DC7FDB #DBDC7F #7FDBDC
tetradic
#DC7FDB #DCAE7F #7FDC80 #7FACDC
square
#DC7FDB #DCAE7F #7FDC80 #7FACDC
split-complementary
#DC7FDB #ACDC7F #7FDCAE
monochromatic
#B030AF #CF4FCD #DC7FDB #E9AFE9 #F6DFF6

Accessibility & contrast

On white

2.59
#DC7FDB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#DC7FDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7FDB
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7FDB#FFFFFF#000000##000000
##DC7FDB1.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7899DE
Deuteranopia (green-blind)
#91A5D8
Tritanopia (blue-blind)
#E188A3
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #dc7fdb;
/* rgb */ color: rgb(220, 127, 219);
/* oklch */ color: oklch(72.8% 0.162 327.5);
Tailwind
colors: {
  custom: {
    50: '#e8a6e6',
    500: '#dc7fdb',
    950: '#000000',
  },
}
SCSS
$custom: #dc7fdb;
$custom-light: #e8a6e6;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7fdb",
  "rgb": {
    "r": 220,
    "g": 127,
    "b": 219
  },
  "hsl": {
    "h": 300.645,
    "s": 57.055,
    "l": 68.039
  },
  "oklch": {
    "l": 0.7282,
    "c": 0.16244,
    "h": 327.5
  },
  "luminance": 0.35509
}

Semantic roles & 50–950 ramp

primary
#DC7FDB
secondary
#CDEACD
accent
#C52321
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #DC7FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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