#DF7DF1#DF7DF1

#DF7DF1 is a light, vivid purple. Relative luminance 0.367; OKLCH L 73.9% C 0.188 H 321.2°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#DF7DF1
RGBrgb(223, 125, 241)
HSLhsl(291, 81%, 72%)
HSVhsv(291, 48%, 95%)
CMYKcmyk(7.5%, 48.1%, 0%, 5.5%)
CIE-LABlab(67.06, 55.19, -42.71)
CIE-LCHlch(67.06, 69.79, 322.26°)
OKLaboklab(73.89% 0.1469 -0.118)
OKLCHoklch(73.89% 0.188 321.2)
XYZxyz(53.6404, 36.7083, 87.4619)
Luminance0.3671 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7DF1 #8FF17D
analogous
#A57DF1 #DF7DF1 #F17DC9
triadic
#DF7DF1 #F1DF7D #7DF1DF
tetradic
#DF7DF1 #F1A57D #8FF17D #7DC9F1
square
#DF7DF1 #F1A57D #8FF17D #7DC9F1
split-complementary
#DF7DF1 #C9F17D #7DF1A5
monochromatic
#BD18DC #D146EB #DF7DF1 #EDB4F7 #F8E3FC

Accessibility & contrast

On white

2.52
#DF7DF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#DF7DF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7DF1
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7DF1#FFFFFF#000000##000000
##DF7DF11.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9CF5
Deuteranopia (green-blind)
#88A7EE
Tritanopia (blue-blind)
#E18CAC
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #df7df1;
/* rgb */ color: rgb(223, 125, 241);
/* oklch */ color: oklch(73.9% 0.188 321.2);
Tailwind
colors: {
  custom: {
    50: '#eba6f6',
    500: '#df7df1',
    950: '#000000',
  },
}
SCSS
$custom: #df7df1;
$custom-light: #eba6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#df7df1",
  "rgb": {
    "r": 223,
    "g": 125,
    "b": 241
  },
  "hsl": {
    "h": 290.69,
    "s": 80.556,
    "l": 71.765
  },
  "oklch": {
    "l": 0.73886,
    "c": 0.18844,
    "h": 321.2
  },
  "luminance": 0.36706
}

Semantic roles & 50–950 ramp

primary
#DF7DF1
secondary
#DBF4D6
accent
#DD092A
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#161017
muted
#847F85

Preview Lab

Preview with #DF7DF1

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

Preview Lab → · Contrast checker → · Palette generator →

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