#DC74E2#DC74E2

#DC74E2 is a light, vivid purple. Relative luminance 0.332; OKLCH L 71.6% C 0.187 H 325.3°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#DC74E2
RGBrgb(220, 116, 226)
HSLhsl(297, 65%, 67%)
HSVhsv(297, 49%, 89%)
CMYKcmyk(2.7%, 48.7%, 0%, 11.4%)
CIE-LABlab(64.32, 56.02, -38.72)
CIE-LCHlch(64.32, 68.10, 325.35°)
OKLaboklab(71.56% 0.1536 -0.1065)
OKLCHoklch(71.56% 0.187 325.3)
XYZxyz(49.4869, 33.1999, 75.7383)
Luminance0.3320 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC74E2 #7AE274
analogous
#A574E2 #DC74E2 #E274B1
triadic
#DC74E2 #E2DC74 #74E2DC
tetradic
#DC74E2 #E2A574 #7AE274 #74B1E2
square
#DC74E2 #E2A574 #7AE274 #74B1E2
split-complementary
#DC74E2 #B1E274 #74E2A5
monochromatic
#AE26B6 #CF41D7 #DC74E2 #E9A7ED #F6D9F7

Accessibility & contrast

On white

2.75
#DC74E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#DC74E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC74E2
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC74E2#FFFFFF#000000##000000
##DC74E21.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6794E6
Deuteranopia (green-blind)
#86A1DF
Tritanopia (blue-blind)
#E181A1
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #dc74e2;
/* rgb */ color: rgb(220, 116, 226);
/* oklch */ color: oklch(71.6% 0.187 325.3);
Tailwind
colors: {
  custom: {
    50: '#e9a0eb',
    500: '#dc74e2',
    950: '#000000',
  },
}
SCSS
$custom: #dc74e2;
$custom-light: #e9a0eb;
$custom-dark: #000000;
JSON
{
  "hex": "#dc74e2",
  "rgb": {
    "r": 220,
    "g": 116,
    "b": 226
  },
  "hsl": {
    "h": 296.727,
    "s": 65.476,
    "l": 67.059
  },
  "oklch": {
    "l": 0.71563,
    "c": 0.18689,
    "h": 325.3
  },
  "luminance": 0.33197
}

Semantic roles & 50–950 ramp

primary
#DC74E2
secondary
#C9EAC7
accent
#CD1822
background
#FEFAFE
surface
#FDF3FD
border
#D5CDD5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DC74E2

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

Preview Lab → · Contrast checker → · Palette generator →

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