#DC7FEF#DC7FEF

#DC7FEF is a light, vivid purple. Relative luminance 0.366; OKLCH L 73.7% C 0.182 H 320.6°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#DC7FEF
RGBrgb(220, 127, 239)
HSLhsl(290, 78%, 72%)
HSVhsv(290, 47%, 94%)
CMYKcmyk(7.9%, 46.9%, 0%, 6.3%)
CIE-LABlab(67.00, 52.97, -41.73)
CIE-LCHlch(67.00, 67.44, 321.77°)
OKLaboklab(73.74% 0.1405 -0.1152)
OKLCHoklch(73.74% 0.182 320.6)
XYZxyz(52.6827, 36.6284, 85.9395)
Luminance0.3663 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7FEF #92EF7F
analogous
#A47FEF #DC7FEF #EF7FCA
triadic
#DC7FEF #EFDC7F #7FEFDC
tetradic
#DC7FEF #EFA47F #92EF7F #7FCAEF
square
#DC7FEF #EFA47F #92EF7F #7FCAEF
split-complementary
#DC7FEF #CAEF7F #7FEFA4
monochromatic
#B81BD9 #CD49E8 #DC7FEF #EBB5F6 #F8E4FC

Accessibility & contrast

On white

2.52
#DC7FEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#DC7FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7FEF
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7FEF#FFFFFF#000000##000000
##DC7FEF1.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9CF3
Deuteranopia (green-blind)
#89A7EC
Tritanopia (blue-blind)
#DE8EAC
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #dc7fef;
/* rgb */ color: rgb(220, 127, 239);
/* oklch */ color: oklch(73.7% 0.182 320.6);
Tailwind
colors: {
  custom: {
    50: '#e9a7f4',
    500: '#dc7fef',
    950: '#000000',
  },
}
SCSS
$custom: #dc7fef;
$custom-light: #e9a7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7fef",
  "rgb": {
    "r": 220,
    "g": 127,
    "b": 239
  },
  "hsl": {
    "h": 289.821,
    "s": 77.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.73735,
    "c": 0.18171,
    "h": 320.6
  },
  "luminance": 0.36626
}

Semantic roles & 50–950 ramp

primary
#DC7FEF
secondary
#DCF3D7
accent
#DA0B2F
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #DC7FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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