#DC74FC#DC74FC

#DC74FC is a light, highly saturated purple. Relative luminance 0.347; OKLCH L 72.9% C 0.212 H 317.7°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#DC74FC
RGBrgb(220, 116, 252)
HSLhsl(286, 96%, 72%)
HSVhsv(286, 54%, 99%)
CMYKcmyk(12.7%, 54%, 0%, 1.2%)
CIE-LABlab(65.54, 60.91, -51.17)
CIE-LCHlch(65.54, 79.55, 319.97°)
OKLaboklab(72.86% 0.1565 -0.1425)
OKLCHoklch(72.86% 0.212 317.7)
XYZxyz(53.3288, 34.7367, 95.9723)
Luminance0.3473 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC74FC #94FC74
analogous
#9874FC #DC74FC #FC74D8
triadic
#DC74FC #FCDC74 #74FCDC
tetradic
#DC74FC #FC9874 #94FC74 #74D8FC
square
#DC74FC #FC9874 #94FC74 #74D8FC
split-complementary
#DC74FC #D8FC74 #74FC98
monochromatic
#B905F0 #CD38FB #DC74FC #EBB0FD #F7E1FE

Accessibility & contrast

On white

2.64
#DC74FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#DC74FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC74FC
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC74FC#FFFFFF#000000##000000
##DC74FC1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5698FF
Deuteranopia (green-blind)
#79A3F8
Tritanopia (blue-blind)
#DB89AD
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #dc74fc;
/* rgb */ color: rgb(220, 116, 252);
/* oklch */ color: oklch(72.9% 0.212 317.7);
Tailwind
colors: {
  custom: {
    50: '#eaa0fe',
    500: '#dc74fc',
    950: '#000000',
  },
}
SCSS
$custom: #dc74fc;
$custom-light: #eaa0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#dc74fc",
  "rgb": {
    "r": 220,
    "g": 116,
    "b": 252
  },
  "hsl": {
    "h": 285.882,
    "s": 95.775,
    "l": 72.157
  },
  "oklch": {
    "l": 0.7286,
    "c": 0.21166,
    "h": 317.7
  },
  "luminance": 0.34735
}

Semantic roles & 50–950 ramp

primary
#DC74FC
secondary
#DCF7D4
accent
#E60036
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #DC74FC

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

Preview Lab → · Contrast checker → · Palette generator →

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