#DF7FFD#DF7FFD

#DF7FFD is a light, vivid purple. Relative luminance 0.380; OKLCH L 74.8% C 0.197 H 317.7°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#DF7FFD
RGBrgb(223, 127, 253)
HSLhsl(286, 97%, 75%)
HSVhsv(286, 50%, 99%)
CMYKcmyk(11.9%, 49.8%, 0%, 0.8%)
CIE-LABlab(67.99, 56.50, -47.83)
CIE-LCHlch(67.99, 74.03, 319.75°)
OKLaboklab(74.76% 0.1458 -0.1328)
OKLCHoklch(74.76% 0.197 317.7)
XYZxyz(55.7479, 37.9605, 97.3000)
Luminance0.3796 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7FFD #9DFD7F
analogous
#A07FFD #DF7FFD #FD7FDC
triadic
#DF7FFD #FDDF7F #7FFDDF
tetradic
#DF7FFD #FDA07F #9DFD7F #7FDCFD
square
#DF7FFD #FDA07F #9DFD7F #7FDCFD
split-complementary
#DF7FFD #DCFD7F #7FFDA0
monochromatic
#C106FB #D043FC #DF7FFD #EEBBFE #F7E1FF

Accessibility & contrast

On white

2.44
#DF7FFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#DF7FFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7FFD
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7FFD#FFFFFF#000000##000000
##DF7FFD1.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#679FFF
Deuteranopia (green-blind)
#84A9FA
Tritanopia (blue-blind)
#DF91B3
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #df7ffd;
/* rgb */ color: rgb(223, 127, 253);
/* oklch */ color: oklch(74.8% 0.197 317.7);
Tailwind
colors: {
  custom: {
    50: '#eba7fe',
    500: '#df7ffd',
    950: '#000000',
  },
}
SCSS
$custom: #df7ffd;
$custom-light: #eba7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#df7ffd",
  "rgb": {
    "r": 223,
    "g": 127,
    "b": 253
  },
  "hsl": {
    "h": 285.714,
    "s": 96.923,
    "l": 74.51
  },
  "oklch": {
    "l": 0.74758,
    "c": 0.19719,
    "h": 317.7
  },
  "luminance": 0.37959
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DF7FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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