#DF71F2#DF71F2

#DF71F2 is a light, highly saturated purple. Relative luminance 0.339; OKLCH L 72.3% C 0.208 H 321.6°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#DF71F2
RGBrgb(223, 113, 242)
HSLhsl(291, 83%, 70%)
HSVhsv(291, 53%, 95%)
CMYKcmyk(7.9%, 53.3%, 0%, 5.1%)
CIE-LABlab(64.89, 61.21, -46.67)
CIE-LCHlch(64.89, 76.97, 322.68°)
OKLaboklab(72.3% 0.1629 -0.1293)
OKLCHoklch(72.3% 0.208 321.6)
XYZxyz(52.3618, 33.9114, 87.7746)
Luminance0.3391 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF71F2 #84F271
analogous
#9F71F2 #DF71F2 #F271C4
triadic
#DF71F2 #F2DF71 #71F2DF
tetradic
#DF71F2 #F29F71 #84F271 #71C4F2
square
#DF71F2 #F29F71 #84F271 #71C4F2
split-complementary
#DF71F2 #C4F271 #71F29F
monochromatic
#B914D5 #D239ED #DF71F2 #ECA9F7 #F8E1FC

Accessibility & contrast

On white

2.70
#DF71F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#DF71F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF71F2
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF71F2#FFFFFF#000000##000000
##DF71F21.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B95F6
Deuteranopia (green-blind)
#7FA2EE
Tritanopia (blue-blind)
#E183A7
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #df71f2;
/* rgb */ color: rgb(223, 113, 242);
/* oklch */ color: oklch(72.3% 0.208 321.6);
Tailwind
colors: {
  custom: {
    50: '#ec9ef7',
    500: '#df71f2',
    950: '#000000',
  },
}
SCSS
$custom: #df71f2;
$custom-light: #ec9ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#df71f2",
  "rgb": {
    "r": 223,
    "g": 113,
    "b": 242
  },
  "hsl": {
    "h": 291.163,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.72303,
    "c": 0.20801,
    "h": 321.6
  },
  "luminance": 0.33909
}

Semantic roles & 50–950 ramp

primary
#DF71F2
secondary
#D2F2CD
accent
#E00626
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#170F17
muted
#857F85

Preview Lab

Preview with #DF71F2

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

Preview Lab → · Contrast checker → · Palette generator →

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