#DC74EB#DC74EB

#DC74EB is a light, vivid purple. Relative luminance 0.337; OKLCH L 72.0% C 0.195 H 322.4°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#DC74EB
RGBrgb(220, 116, 235)
HSLhsl(292, 75%, 69%)
HSVhsv(292, 51%, 92%)
CMYKcmyk(6.4%, 50.6%, 0%, 7.8%)
CIE-LABlab(64.73, 57.68, -43.08)
CIE-LCHlch(64.73, 71.99, 323.24°)
OKLaboklab(72% 0.1548 -0.1191)
OKLCHoklch(72% 0.195 322.4)
XYZxyz(50.7544, 33.7069, 82.4138)
Luminance0.3371 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC74EB #83EB74
analogous
#A174EB #DC74EB #EB74BF
triadic
#DC74EB #EBDC74 #74EBDC
tetradic
#DC74EB #EBA174 #83EB74 #74BFEB
square
#DC74EB #EBA174 #83EB74 #74BFEB
split-complementary
#DC74EB #BFEB74 #74EBA1
monochromatic
#B21DC8 #CF3EE3 #DC74EB #E9AAF3 #F7DFFA

Accessibility & contrast

On white

2.71
#DC74EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#DC74EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC74EB
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC74EB#FFFFFF#000000##000000
##DC74EB1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6295EF
Deuteranopia (green-blind)
#82A1E8
Tritanopia (blue-blind)
#DF84A5
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #dc74eb;
/* rgb */ color: rgb(220, 116, 235);
/* oklch */ color: oklch(72.0% 0.195 322.4);
Tailwind
colors: {
  custom: {
    50: '#e9a0f2',
    500: '#dc74eb',
    950: '#000000',
  },
}
SCSS
$custom: #dc74eb;
$custom-light: #e9a0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#dc74eb",
  "rgb": {
    "r": 220,
    "g": 116,
    "b": 235
  },
  "hsl": {
    "h": 292.437,
    "s": 74.843,
    "l": 68.824
  },
  "oklch": {
    "l": 0.71996,
    "c": 0.19529,
    "h": 322.4
  },
  "luminance": 0.33705
}

Semantic roles & 50–950 ramp

primary
#DC74EB
secondary
#D0EFCC
accent
#D70F28
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #DC74EB

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

Preview Lab → · Contrast checker → · Palette generator →

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