#DA71EC#DA71EC

#DA71EC is a light, vivid purple. Relative luminance 0.328; OKLCH L 71.4% C 0.200 H 321.6°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#DA71EC
RGBrgb(218, 113, 236)
HSLhsl(291, 76%, 68%)
HSVhsv(291, 52%, 93%)
CMYKcmyk(7.6%, 52.1%, 0%, 7.5%)
CIE-LABlab(63.98, 58.78, -44.83)
CIE-LCHlch(63.98, 73.93, 322.67°)
OKLaboklab(71.4% 0.1566 -0.1241)
OKLCHoklch(71.4% 0.2 321.6)
XYZxyz(49.9572, 32.7740, 83.0352)
Luminance0.3277 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA71EC #83EC71
analogous
#9C71EC #DA71EC #EC71C0
triadic
#DA71EC #ECDA71 #71ECDA
tetradic
#DA71EC #EC9C71 #83EC71 #71C0EC
square
#DA71EC #EC9C71 #83EC71 #71C0EC
split-complementary
#DA71EC #C0EC71 #71EC9C
monochromatic
#AF1BC8 #CC3BE5 #DA71EC #E8A7F3 #F6DDFA

Accessibility & contrast

On white

2.78
#DA71EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#DA71EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA71EC
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA71EC#FFFFFF#000000##000000
##DA71EC1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D93F0
Deuteranopia (green-blind)
#7E9FE9
Tritanopia (blue-blind)
#DC82A4
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #da71ec;
/* rgb */ color: rgb(218, 113, 236);
/* oklch */ color: oklch(71.4% 0.200 321.6);
Tailwind
colors: {
  custom: {
    50: '#e89ef2',
    500: '#da71ec',
    950: '#000000',
  },
}
SCSS
$custom: #da71ec;
$custom-light: #e89ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#da71ec",
  "rgb": {
    "r": 218,
    "g": 113,
    "b": 236
  },
  "hsl": {
    "h": 291.22,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.71404,
    "c": 0.19985,
    "h": 321.6
  },
  "luminance": 0.32772
}

Semantic roles & 50–950 ramp

primary
#DA71EC
secondary
#CFEFCA
accent
#D90D2B
background
#FEFAFE
surface
#FDF3FD
border
#D5CDD5
text
#160F17
muted
#847F85

Preview Lab

Preview with #DA71EC

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

Preview Lab → · Contrast checker → · Palette generator →

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