#DF7DFC#DF7DFC

#DF7DFC is a light, vivid purple. Relative luminance 0.374; OKLCH L 74.4% C 0.199 H 318.1°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#DF7DFC
RGBrgb(223, 125, 252)
HSLhsl(286, 95%, 74%)
HSVhsv(286, 50%, 99%)
CMYKcmyk(11.5%, 50.4%, 0%, 1.2%)
CIE-LABlab(67.57, 57.30, -47.95)
CIE-LCHlch(67.57, 74.72, 320.08°)
OKLaboklab(74.43% 0.1483 -0.1331)
OKLCHoklch(74.43% 0.199 318.1)
XYZxyz(55.3333, 37.3854, 96.3779)
Luminance0.3738 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7DFC #9AFC7D
analogous
#A07DFC #DF7DFC #FC7DDA
triadic
#DF7DFC #FCDF7D #7DFCDF
tetradic
#DF7DFC #FCA07D #9AFC7D #7DDAFC
square
#DF7DFC #FCA07D #9AFC7D #7DDAFC
split-complementary
#DF7DFC #DAFC7D #7DFCA0
monochromatic
#C106F9 #D041FB #DF7DFC #EEB9FD #F8E1FE

Accessibility & contrast

On white

2.48
#DF7DFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#DF7DFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7DFC
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7DFC#FFFFFF#000000##000000
##DF7DFC1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#659EFF
Deuteranopia (green-blind)
#83A8F9
Tritanopia (blue-blind)
#DF8FB1
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #df7dfc;
/* rgb */ color: rgb(223, 125, 252);
/* oklch */ color: oklch(74.4% 0.199 318.1);
Tailwind
colors: {
  custom: {
    50: '#eba6fe',
    500: '#df7dfc',
    950: '#000000',
  },
}
SCSS
$custom: #df7dfc;
$custom-light: #eba6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#df7dfc",
  "rgb": {
    "r": 223,
    "g": 125,
    "b": 252
  },
  "hsl": {
    "h": 286.299,
    "s": 95.489,
    "l": 73.922
  },
  "oklch": {
    "l": 0.74427,
    "c": 0.1993,
    "h": 318.1
  },
  "luminance": 0.37383
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DF7DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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