#DC74E4#DC74E4

#DC74E4 is a light, vivid purple. Relative luminance 0.333; OKLCH L 71.7% C 0.189 H 324.6°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#DC74E4
RGBrgb(220, 116, 228)
HSLhsl(296, 67%, 67%)
HSVhsv(296, 49%, 89%)
CMYKcmyk(3.5%, 49.1%, 0%, 10.6%)
CIE-LABlab(64.41, 56.39, -39.69)
CIE-LCHlch(64.41, 68.96, 324.86°)
OKLaboklab(71.66% 0.1539 -0.1093)
OKLCHoklch(71.66% 0.189 324.6)
XYZxyz(49.7630, 33.3103, 77.1921)
Luminance0.3331 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC74E4 #7CE474
analogous
#A474E4 #DC74E4 #E474B4
triadic
#DC74E4 #E4DC74 #74E4DC
tetradic
#DC74E4 #E4A474 #7CE474 #74B4E4
square
#DC74E4 #E4A474 #7CE474 #74B4E4
split-complementary
#DC74E4 #B4E474 #74E4A4
monochromatic
#AF24BA #CF41DA #DC74E4 #E9A7EE #F6DAF8

Accessibility & contrast

On white

2.74
#DC74E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#DC74E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC74E4
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC74E4#FFFFFF#000000##000000
##DC74E41.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6694E8
Deuteranopia (green-blind)
#85A1E1
Tritanopia (blue-blind)
#E081A2
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #dc74e4;
/* rgb */ color: rgb(220, 116, 228);
/* oklch */ color: oklch(71.7% 0.189 324.6);
Tailwind
colors: {
  custom: {
    50: '#e9a0ed',
    500: '#dc74e4',
    950: '#000000',
  },
}
SCSS
$custom: #dc74e4;
$custom-light: #e9a0ed;
$custom-dark: #000000;
JSON
{
  "hex": "#dc74e4",
  "rgb": {
    "r": 220,
    "g": 116,
    "b": 228
  },
  "hsl": {
    "h": 295.714,
    "s": 67.47,
    "l": 67.451
  },
  "oklch": {
    "l": 0.71657,
    "c": 0.18873,
    "h": 324.6
  },
  "luminance": 0.33308
}

Semantic roles & 50–950 ramp

primary
#DC74E4
secondary
#CBEBC8
accent
#CF1623
background
#FEFAFE
surface
#FDF3FD
border
#D5CDD5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DC74E4

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

Preview Lab → · Contrast checker → · Palette generator →

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