#DC74F2#DC74F2

#DC74F2 is a light, highly saturated purple. Relative luminance 0.341; OKLCH L 72.3% C 0.202 H 320.4°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#DC74F2
RGBrgb(220, 116, 242)
HSLhsl(290, 83%, 70%)
HSVhsv(290, 52%, 95%)
CMYKcmyk(9.1%, 52.1%, 0%, 5.1%)
CIE-LABlab(65.06, 58.99, -46.43)
CIE-LCHlch(65.06, 75.07, 321.79°)
OKLaboklab(72.35% 0.1556 -0.1287)
OKLCHoklch(72.35% 0.202 320.4)
XYZxyz(51.7857, 34.1194, 87.8451)
Luminance0.3412 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC74F2 #8AF274
analogous
#9D74F2 #DC74F2 #F274C9
triadic
#DC74F2 #F2DC74 #74F2DC
tetradic
#DC74F2 #F29D74 #8AF274 #74C9F2
square
#DC74F2 #F29D74 #8AF274 #74C9F2
split-complementary
#DC74F2 #C9F274 #74F29D
monochromatic
#B514D7 #CE3CED #DC74F2 #EAACF7 #F8E3FC

Accessibility & contrast

On white

2.68
#DC74F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#DC74F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC74F2
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC74F2#FFFFFF#000000##000000
##DC74F21.002.687.827.82
#FFFFFF2.681.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E97F6
Deuteranopia (green-blind)
#7FA2EF
Tritanopia (blue-blind)
#DD86A8
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #dc74f2;
/* rgb */ color: rgb(220, 116, 242);
/* oklch */ color: oklch(72.3% 0.202 320.4);
Tailwind
colors: {
  custom: {
    50: '#e9a0f7',
    500: '#dc74f2',
    950: '#000000',
  },
}
SCSS
$custom: #dc74f2;
$custom-light: #e9a0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#dc74f2",
  "rgb": {
    "r": 220,
    "g": 116,
    "b": 242
  },
  "hsl": {
    "h": 289.524,
    "s": 82.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.72345,
    "c": 0.20196,
    "h": 320.4
  },
  "luminance": 0.34117
}

Semantic roles & 50–950 ramp

primary
#DC74F2
secondary
#D6F2CF
accent
#DF062C
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DC74F2

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

Preview Lab → · Contrast checker → · Palette generator →

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