#DF7DFD#DF7DFD

#DF7DFD is a light, highly saturated purple. Relative luminance 0.374; OKLCH L 74.5% C 0.200 H 317.8°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#DF7DFD
RGBrgb(223, 125, 253)
HSLhsl(286, 97%, 74%)
HSVhsv(286, 51%, 99%)
CMYKcmyk(11.9%, 50.6%, 0%, 0.8%)
CIE-LABlab(67.61, 57.50, -48.42)
CIE-LCHlch(67.61, 75.17, 319.90°)
OKLaboklab(74.48% 0.1484 -0.1345)
OKLCHoklch(74.48% 0.2 317.8)
XYZxyz(55.4922, 37.4490, 97.2147)
Luminance0.3745 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7DFD #9BFD7D
analogous
#9F7DFD #DF7DFD #FD7DDB
triadic
#DF7DFD #FDDF7D #7DFDDF
tetradic
#DF7DFD #FD9F7D #9BFD7D #7DDBFD
square
#DF7DFD #FD9F7D #9BFD7D #7DDBFD
split-complementary
#DF7DFD #DBFD7D #7DFD9F
monochromatic
#C104FB #D041FC #DF7DFD #EEB9FE #F8E1FF

Accessibility & contrast

On white

2.47
#DF7DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#DF7DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7DFD
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7DFD#FFFFFF#000000##000000
##DF7DFD1.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#649EFF
Deuteranopia (green-blind)
#82A8FA
Tritanopia (blue-blind)
#DF90B2
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #df7dfd;
/* rgb */ color: rgb(223, 125, 253);
/* oklch */ color: oklch(74.5% 0.200 317.8);
Tailwind
colors: {
  custom: {
    50: '#eba6fe',
    500: '#df7dfd',
    950: '#000000',
  },
}
SCSS
$custom: #df7dfd;
$custom-light: #eba6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#df7dfd",
  "rgb": {
    "r": 223,
    "g": 125,
    "b": 253
  },
  "hsl": {
    "h": 285.938,
    "s": 96.97,
    "l": 74.118
  },
  "oklch": {
    "l": 0.74478,
    "c": 0.2003,
    "h": 317.8
  },
  "luminance": 0.37447
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DF7DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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