#DC74FE#DC74FE

#DC74FE is a light, highly saturated purple. Relative luminance 0.349; OKLCH L 73.0% C 0.214 H 317.2°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#DC74FE
RGBrgb(220, 116, 254)
HSLhsl(285, 99%, 73%)
HSVhsv(285, 54%, 100%)
CMYKcmyk(13.4%, 54.3%, 0%, 0.4%)
CIE-LABlab(65.64, 61.30, -52.11)
CIE-LCHlch(65.64, 80.46, 319.64°)
OKLaboklab(72.97% 0.1567 -0.1452)
OKLCHoklch(72.97% 0.214 317.2)
XYZxyz(53.6474, 34.8641, 97.6502)
Luminance0.3486 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC74FE #96FE74
analogous
#9774FE #DC74FE #FE74DB
triadic
#DC74FE #FEDC74 #74FEDC
tetradic
#DC74FE #FE9774 #96FE74 #74DBFE
square
#DC74FE #FE9774 #96FE74 #74DBFE
split-complementary
#DC74FE #DBFE74 #74FE97
monochromatic
#BA02F6 #CD37FE #DC74FE #EBB1FE #F7E1FF

Accessibility & contrast

On white

2.63
#DC74FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#DC74FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC74FE
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC74FE#FFFFFF#000000##000000
##DC74FE1.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5599FF
Deuteranopia (green-blind)
#78A3FA
Tritanopia (blue-blind)
#DB8AAE
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #dc74fe;
/* rgb */ color: rgb(220, 116, 254);
/* oklch */ color: oklch(73.0% 0.214 317.2);
Tailwind
colors: {
  custom: {
    50: '#eaa0ff',
    500: '#dc74fe',
    950: '#000000',
  },
}
SCSS
$custom: #dc74fe;
$custom-light: #eaa0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#dc74fe",
  "rgb": {
    "r": 220,
    "g": 116,
    "b": 254
  },
  "hsl": {
    "h": 285.217,
    "s": 98.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.72966,
    "c": 0.21361,
    "h": 317.2
  },
  "luminance": 0.34862
}

Semantic roles & 50–950 ramp

primary
#DC74FE
secondary
#DDF7D4
accent
#E60039
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #DC74FE

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

Preview Lab → · Contrast checker → · Palette generator →

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