#DC71EB#DC71EB

#DC71EB is a light, vivid purple. Relative luminance 0.330; OKLCH L 71.6% C 0.200 H 322.6°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#DC71EB
RGBrgb(220, 113, 235)
HSLhsl(293, 75%, 68%)
HSVhsv(293, 52%, 92%)
CMYKcmyk(6.4%, 51.9%, 0%, 7.8%)
CIE-LABlab(64.18, 59.13, -43.94)
CIE-LCHlch(64.18, 73.66, 323.38°)
OKLaboklab(71.59% 0.1588 -0.1215)
OKLCHoklch(71.59% 0.2 322.6)
XYZxyz(50.4142, 33.0264, 82.3004)
Luminance0.3302 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC71EB #80EB71
analogous
#9F71EB #DC71EB #EB71BD
triadic
#DC71EB #EBDC71 #71EBDC
tetradic
#DC71EB #EB9F71 #80EB71 #71BDEB
square
#DC71EB #EB9F71 #80EB71 #71BDEB
split-complementary
#DC71EB #BDEB71 #71EB9F
monochromatic
#B11CC6 #CF3BE3 #DC71EB #E9A7F3 #F6DCFA

Accessibility & contrast

On white

2.76
#DC71EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#DC71EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC71EB
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC71EB#FFFFFF#000000##000000
##DC71EB1.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E94EF
Deuteranopia (green-blind)
#80A0E8
Tritanopia (blue-blind)
#DF81A4
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #dc71eb;
/* rgb */ color: rgb(220, 113, 235);
/* oklch */ color: oklch(71.6% 0.200 322.6);
Tailwind
colors: {
  custom: {
    50: '#e99ef2',
    500: '#dc71eb',
    950: '#000000',
  },
}
SCSS
$custom: #dc71eb;
$custom-light: #e99ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#dc71eb",
  "rgb": {
    "r": 220,
    "g": 113,
    "b": 235
  },
  "hsl": {
    "h": 292.623,
    "s": 75.309,
    "l": 68.235
  },
  "oklch": {
    "l": 0.71593,
    "c": 0.19994,
    "h": 322.6
  },
  "luminance": 0.33024
}

Semantic roles & 50–950 ramp

primary
#DC71EB
secondary
#CEEEC9
accent
#D70E27
background
#FEFAFE
surface
#FDF3FD
border
#D5CDD5
text
#160F17
muted
#847F85

Preview Lab

Preview with #DC71EB

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

Preview Lab → · Contrast checker → · Palette generator →

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