#DC74EC#DC74EC

#DC74EC is a light, vivid purple. Relative luminance 0.338; OKLCH L 72.0% C 0.196 H 322.1°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#DC74EC
RGBrgb(220, 116, 236)
HSLhsl(292, 76%, 69%)
HSVhsv(292, 51%, 93%)
CMYKcmyk(6.8%, 50.8%, 0%, 7.5%)
CIE-LABlab(64.78, 57.86, -43.56)
CIE-LCHlch(64.78, 72.43, 323.03°)
OKLaboklab(72.05% 0.1549 -0.1204)
OKLCHoklch(72.05% 0.196 322.1)
XYZxyz(50.8993, 33.7648, 83.1768)
Luminance0.3376 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC74EC #84EC74
analogous
#A074EC #DC74EC #EC74C0
triadic
#DC74EC #ECDC74 #74ECDC
tetradic
#DC74EC #ECA074 #84EC74 #74C0EC
square
#DC74EC #ECA074 #84EC74 #74C0EC
split-complementary
#DC74EC #C0EC74 #74ECA0
monochromatic
#B31CCA #CE3EE5 #DC74EC #EAAAF3 #F7E0FB

Accessibility & contrast

On white

2.71
#DC74EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#DC74EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC74EC
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC74EC#FFFFFF#000000##000000
##DC74EC1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6295F0
Deuteranopia (green-blind)
#82A1E9
Tritanopia (blue-blind)
#DF84A6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #dc74ec;
/* rgb */ color: rgb(220, 116, 236);
/* oklch */ color: oklch(72.0% 0.196 322.1);
Tailwind
colors: {
  custom: {
    50: '#e9a0f2',
    500: '#dc74ec',
    950: '#000000',
  },
}
SCSS
$custom: #dc74ec;
$custom-light: #e9a0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#dc74ec",
  "rgb": {
    "r": 220,
    "g": 116,
    "b": 236
  },
  "hsl": {
    "h": 292,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.72045,
    "c": 0.19624,
    "h": 322.1
  },
  "luminance": 0.33763
}

Semantic roles & 50–950 ramp

primary
#DC74EC
secondary
#D1EFCC
accent
#D80D28
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #DC74EC

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

Preview Lab → · Contrast checker → · Palette generator →

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