#DC74FA#DC74FA

#DC74FA is a light, highly saturated purple. Relative luminance 0.346; OKLCH L 72.8% C 0.210 H 318.2°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#DC74FA
RGBrgb(220, 116, 250)
HSLhsl(287, 93%, 72%)
HSVhsv(287, 54%, 98%)
CMYKcmyk(12%, 53.6%, 0%, 2%)
CIE-LABlab(65.44, 60.53, -50.23)
CIE-LCHlch(65.44, 78.65, 320.31°)
OKLaboklab(72.76% 0.1564 -0.1398)
OKLCHoklch(72.76% 0.21 318.2)
XYZxyz(53.0136, 34.6105, 94.3119)
Luminance0.3461 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC74FA #92FA74
analogous
#9974FA #DC74FA #FA74D5
triadic
#DC74FA #FADC74 #74FADC
tetradic
#DC74FA #FA9974 #92FA74 #74D5FA
square
#DC74FA #FA9974 #92FA74 #74D5FA
split-complementary
#DC74FA #D5FA74 #74FA99
monochromatic
#B808EB #CD39F8 #DC74FA #EBAFFC #F8E1FE

Accessibility & contrast

On white

2.65
#DC74FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#DC74FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC74FA
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC74FA#FFFFFF#000000##000000
##DC74FA1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5898FE
Deuteranopia (green-blind)
#7AA2F6
Tritanopia (blue-blind)
#DC88AC
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #dc74fa;
/* rgb */ color: rgb(220, 116, 250);
/* oklch */ color: oklch(72.8% 0.210 318.2);
Tailwind
colors: {
  custom: {
    50: '#e9a0fc',
    500: '#dc74fa',
    950: '#000000',
  },
}
SCSS
$custom: #dc74fa;
$custom-light: #e9a0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#dc74fa",
  "rgb": {
    "r": 220,
    "g": 116,
    "b": 250
  },
  "hsl": {
    "h": 286.567,
    "s": 93.056,
    "l": 71.765
  },
  "oklch": {
    "l": 0.72756,
    "c": 0.2097,
    "h": 318.2
  },
  "luminance": 0.34609
}

Semantic roles & 50–950 ramp

primary
#DC74FA
secondary
#DCF6D4
accent
#E60033
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DC74FA

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

Preview Lab → · Contrast checker → · Palette generator →

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