#DC74F8#DC74F8

#DC74F8 is a light, highly saturated purple. Relative luminance 0.345; OKLCH L 72.7% C 0.208 H 318.7°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#DC74F8
RGBrgb(220, 116, 248)
HSLhsl(287, 90%, 71%)
HSVhsv(287, 53%, 97%)
CMYKcmyk(11.3%, 53.2%, 0%, 2.7%)
CIE-LABlab(65.35, 60.14, -49.28)
CIE-LCHlch(65.35, 77.75, 320.67°)
OKLaboklab(72.65% 0.1562 -0.137)
OKLCHoklch(72.65% 0.208 318.7)
XYZxyz(52.7016, 34.4858, 92.6691)
Luminance0.3448 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC74F8 #90F874
analogous
#9A74F8 #DC74F8 #F874D2
triadic
#DC74F8 #F8DC74 #74F8DC
tetradic
#DC74F8 #F89A74 #90F874 #74D2F8
square
#DC74F8 #F89A74 #90F874 #74D2F8
split-complementary
#DC74F8 #D2F874 #74F89A
monochromatic
#B80CE6 #CD3AF5 #DC74F8 #EBAEFB #F8E2FE

Accessibility & contrast

On white

2.66
#DC74F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#DC74F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC74F8
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC74F8#FFFFFF#000000##000000
##DC74F81.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5998FC
Deuteranopia (green-blind)
#7BA2F4
Tritanopia (blue-blind)
#DC88AB
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #dc74f8;
/* rgb */ color: rgb(220, 116, 248);
/* oklch */ color: oklch(72.7% 0.208 318.7);
Tailwind
colors: {
  custom: {
    50: '#e9a0fb',
    500: '#dc74f8',
    950: '#000000',
  },
}
SCSS
$custom: #dc74f8;
$custom-light: #e9a0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#dc74f8",
  "rgb": {
    "r": 220,
    "g": 116,
    "b": 248
  },
  "hsl": {
    "h": 287.273,
    "s": 90.411,
    "l": 71.373
  },
  "oklch": {
    "l": 0.72652,
    "c": 0.20776,
    "h": 318.7
  },
  "luminance": 0.34484
}

Semantic roles & 50–950 ramp

primary
#DC74F8
secondary
#DAF5D3
accent
#E60031
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DC74F8

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

Preview Lab → · Contrast checker → · Palette generator →

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