#DF7DF2#DF7DF2

#DF7DF2 is a light, vivid purple. Relative luminance 0.368; OKLCH L 73.9% C 0.189 H 320.9°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#DF7DF2
RGBrgb(223, 125, 242)
HSLhsl(290, 82%, 72%)
HSVhsv(290, 48%, 95%)
CMYKcmyk(7.9%, 48.3%, 0%, 5.1%)
CIE-LABlab(67.10, 55.38, -43.19)
CIE-LCHlch(67.10, 70.23, 322.05°)
OKLaboklab(73.93% 0.1471 -0.1194)
OKLCHoklch(73.93% 0.189 320.9)
XYZxyz(53.7902, 36.7682, 88.2507)
Luminance0.3677 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7DF2 #90F27D
analogous
#A47DF2 #DF7DF2 #F27DCB
triadic
#DF7DF2 #F2DF7D #7DF2DF
tetradic
#DF7DF2 #F2A47D #90F27D #7DCBF2
square
#DF7DF2 #F2A47D #90F27D #7DCBF2
split-complementary
#DF7DF2 #CBF27D #7DF2A4
monochromatic
#BE16DE #D145EC #DF7DF2 #EDB5F8 #F8E3FC

Accessibility & contrast

On white

2.51
#DF7DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#DF7DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7DF2
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7DF2#FFFFFF#000000##000000
##DF7DF21.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #df7df2;
/* rgb */ color: rgb(223, 125, 242);
/* oklch */ color: oklch(73.9% 0.189 320.9);
Tailwind
colors: {
  custom: {
    50: '#eba6f7',
    500: '#df7df2',
    950: '#000000',
  },
}
SCSS
$custom: #df7df2;
$custom-light: #eba6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#df7df2",
  "rgb": {
    "r": 223,
    "g": 125,
    "b": 242
  },
  "hsl": {
    "h": 290.256,
    "s": 81.818,
    "l": 71.961
  },
  "oklch": {
    "l": 0.73934,
    "c": 0.18942,
    "h": 320.9
  },
  "luminance": 0.36766
}

Semantic roles & 50–950 ramp

primary
#DF7DF2
secondary
#DCF4D7
accent
#DE072A
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#161017
muted
#847F85

Preview Lab

Preview with #DF7DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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