#DC7FCF#DC7FCF

#DC7FCF is a light, vivid purple. Relative luminance 0.349; OKLCH L 72.3% C 0.152 H 332.3°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#DC7FCF
RGBrgb(220, 127, 207)
HSLhsl(308, 57%, 68%)
HSVhsv(308, 42%, 86%)
CMYKcmyk(0%, 42.3%, 5.9%, 13.7%)
CIE-LABlab(65.67, 47.15, -26.03)
CIE-LCHlch(65.67, 53.85, 331.10°)
OKLaboklab(72.31% 0.1343 -0.0705)
OKLCHoklch(72.31% 0.152 332.3)
XYZxyz(48.3667, 34.9020, 63.2085)
Luminance0.3490 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7FCF #7FDC8C
analogous
#BA7FDC #DC7FCF #DC7FA0
triadic
#DC7FCF #CFDC7F #7FCFDC
tetradic
#DC7FCF #DCBA7F #7FDC8C #7FA0DC
square
#DC7FCF #DCBA7F #7FDC8C #7FA0DC
split-complementary
#DC7FCF #A0DC7F #7FDCBA
monochromatic
#B0309E #CF4FBD #DC7FCF #E9AFE1 #F6DFF3

Accessibility & contrast

On white

2.63
#DC7FCF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#DC7FCF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7FCF
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7FCF#FFFFFF#000000##000000
##DC7FCF1.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D97D2
Deuteranopia (green-blind)
#96A4CC
Tritanopia (blue-blind)
#E3859E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #dc7fcf;
/* rgb */ color: rgb(220, 127, 207);
/* oklch */ color: oklch(72.3% 0.152 332.3);
Tailwind
colors: {
  custom: {
    50: '#e8a6de',
    500: '#dc7fcf',
    950: '#000000',
  },
}
SCSS
$custom: #dc7fcf;
$custom-light: #e8a6de;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7fcf",
  "rgb": {
    "r": 220,
    "g": 127,
    "b": 207
  },
  "hsl": {
    "h": 308.387,
    "s": 57.055,
    "l": 68.039
  },
  "oklch": {
    "l": 0.72312,
    "c": 0.15167,
    "h": 332.3
  },
  "luminance": 0.34899
}

Semantic roles & 50–950 ramp

primary
#DC7FCF
secondary
#CDEAD1
accent
#C53821
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#161015
muted
#847F83

Preview Lab

Preview with #DC7FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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