#DF71F1#DF71F1

#DF71F1 is a light, highly saturated purple. Relative luminance 0.338; OKLCH L 72.3% C 0.207 H 321.8°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#DF71F1
RGBrgb(223, 113, 241)
HSLhsl(292, 82%, 69%)
HSVhsv(292, 53%, 95%)
CMYKcmyk(7.5%, 53.1%, 0%, 5.5%)
CIE-LABlab(64.84, 61.03, -46.19)
CIE-LCHlch(64.84, 76.54, 322.88°)
OKLaboklab(72.25% 0.1628 -0.128)
OKLCHoklch(72.25% 0.207 321.8)
XYZxyz(52.2120, 33.8515, 86.9858)
Luminance0.3385 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF71F1 #83F171
analogous
#9F71F1 #DF71F1 #F171C3
triadic
#DF71F1 #F1DF71 #71F1DF
tetradic
#DF71F1 #F19F71 #83F171 #71C3F1
square
#DF71F1 #F19F71 #83F171 #71C3F1
split-complementary
#DF71F1 #C3F171 #71F19F
monochromatic
#B815D3 #D239EC #DF71F1 #ECA9F6 #F8E0FC

Accessibility & contrast

On white

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

On black

7.77
#DF71F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF71F1
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF71F1#FFFFFF#000000##000000
##DF71F11.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #df71f1;
/* rgb */ color: rgb(223, 113, 241);
/* oklch */ color: oklch(72.3% 0.207 321.8);
Tailwind
colors: {
  custom: {
    50: '#ec9ef6',
    500: '#df71f1',
    950: '#000000',
  },
}
SCSS
$custom: #df71f1;
$custom-light: #ec9ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#df71f1",
  "rgb": {
    "r": 223,
    "g": 113,
    "b": 241
  },
  "hsl": {
    "h": 291.563,
    "s": 82.051,
    "l": 69.412
  },
  "oklch": {
    "l": 0.72252,
    "c": 0.20708,
    "h": 321.8
  },
  "luminance": 0.33849
}

Semantic roles & 50–950 ramp

primary
#DF71F1
secondary
#D2F1CC
accent
#DE0725
background
#FEFAFF
surface
#FDF3FE
border
#D5CDD6
text
#170F17
muted
#857F85

Preview Lab

Preview with #DF71F1

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

Preview Lab → · Contrast checker → · Palette generator →

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