#DA71F2#DA71F2

#DA71F2 is a light, highly saturated purple. Relative luminance 0.331; OKLCH L 71.7% C 0.206 H 319.9°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#DA71F2
RGBrgb(218, 113, 242)
HSLhsl(289, 83%, 70%)
HSVhsv(289, 53%, 95%)
CMYKcmyk(9.9%, 53.3%, 0%, 5.1%)
CIE-LABlab(64.26, 59.92, -47.70)
CIE-LCHlch(64.26, 76.58, 321.48°)
OKLaboklab(71.71% 0.1572 -0.1325)
OKLCHoklch(71.71% 0.206 319.9)
XYZxyz(50.8436, 33.1286, 87.7034)
Luminance0.3313 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA71F2 #89F271
analogous
#9A71F2 #DA71F2 #F271CA
triadic
#DA71F2 #F2DA71 #71F2DA
tetradic
#DA71F2 #F29A71 #89F271 #71CAF2
square
#DA71F2 #F29A71 #89F271 #71CAF2
split-complementary
#DA71F2 #CAF271 #71F29A
monochromatic
#B114D5 #CB39ED #DA71F2 #E9A9F7 #F7E1FC

Accessibility & contrast

On white

2.75
#DA71F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#DA71F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA71F2
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA71F2#FFFFFF#000000##000000
##DA71F21.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5894F6
Deuteranopia (green-blind)
#7BA0EF
Tritanopia (blue-blind)
#DB84A7
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #da71f2;
/* rgb */ color: rgb(218, 113, 242);
/* oklch */ color: oklch(71.7% 0.206 319.9);
Tailwind
colors: {
  custom: {
    50: '#e89ef7',
    500: '#da71f2',
    950: '#000000',
  },
}
SCSS
$custom: #da71f2;
$custom-light: #e89ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#da71f2",
  "rgb": {
    "r": 218,
    "g": 113,
    "b": 242
  },
  "hsl": {
    "h": 288.837,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71709,
    "c": 0.20557,
    "h": 319.9
  },
  "luminance": 0.33126
}

Semantic roles & 50–950 ramp

primary
#DA71F2
secondary
#D4F2CD
accent
#E0062E
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DA71F2

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

Preview Lab → · Contrast checker → · Palette generator →

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