#DF7CFD#DF7CFD

#DF7CFD is a light, highly saturated purple. Relative luminance 0.372; OKLCH L 74.3% C 0.202 H 317.9°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#DF7CFD
RGBrgb(223, 124, 253)
HSLhsl(286, 97%, 74%)
HSVhsv(286, 51%, 99%)
CMYKcmyk(11.9%, 51%, 0%, 0.8%)
CIE-LABlab(67.42, 57.99, -48.72)
CIE-LCHlch(67.42, 75.74, 319.96°)
OKLaboklab(74.34% 0.1497 -0.1354)
OKLCHoklch(74.34% 0.202 317.9)
XYZxyz(55.3662, 37.1971, 97.1727)
Luminance0.3720 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7CFD #9AFD7C
analogous
#9F7CFD #DF7CFD #FD7CDA
triadic
#DF7CFD #FDDF7C #7CFDDF
tetradic
#DF7CFD #FD9F7C #9AFD7C #7CDAFD
square
#DF7CFD #FD9F7C #9AFD7C #7CDAFD
split-complementary
#DF7CFD #DAFD7C #7CFD9F
monochromatic
#C104FB #D040FC #DF7CFD #EEB8FE #F8E1FF

Accessibility & contrast

On white

2.49
#DF7CFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#DF7CFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7CFD
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7CFD#FFFFFF#000000##000000
##DF7CFD1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#629EFF
Deuteranopia (green-blind)
#81A7F9
Tritanopia (blue-blind)
#DF8FB1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #df7cfd;
/* rgb */ color: rgb(223, 124, 253);
/* oklch */ color: oklch(74.3% 0.202 317.9);
Tailwind
colors: {
  custom: {
    50: '#eba5fe',
    500: '#df7cfd',
    950: '#000000',
  },
}
SCSS
$custom: #df7cfd;
$custom-light: #eba5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#df7cfd",
  "rgb": {
    "r": 223,
    "g": 124,
    "b": 253
  },
  "hsl": {
    "h": 286.047,
    "s": 96.992,
    "l": 73.922
  },
  "oklch": {
    "l": 0.74339,
    "c": 0.20184,
    "h": 317.9
  },
  "luminance": 0.37195
}

Semantic roles & 50–950 ramp

primary
#DF7CFD
secondary
#DCF7D4
accent
#E60035
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #DF7CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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