#DF7CFC#DF7CFC

#DF7CFC is a light, highly saturated purple. Relative luminance 0.371; OKLCH L 74.3% C 0.201 H 318.2°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#DF7CFC
RGBrgb(223, 124, 252)
HSLhsl(286, 96%, 74%)
HSVhsv(286, 51%, 99%)
CMYKcmyk(11.5%, 50.8%, 0%, 1.2%)
CIE-LABlab(67.38, 57.80, -48.25)
CIE-LCHlch(67.38, 75.29, 320.14°)
OKLaboklab(74.29% 0.1496 -0.134)
OKLCHoklch(74.29% 0.201 318.2)
XYZxyz(55.2074, 37.1335, 96.3360)
Luminance0.3713 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7CFC #99FC7C
analogous
#9F7CFC #DF7CFC #FC7CD9
triadic
#DF7CFC #FCDF7C #7CFCDF
tetradic
#DF7CFC #FC9F7C #99FC7C #7CD9FC
square
#DF7CFC #FC9F7C #99FC7C #7CD9FC
split-complementary
#DF7CFC #D9FC7C #7CFC9F
monochromatic
#C106F8 #D040FB #DF7CFC #EEB8FD #F8E1FE

Accessibility & contrast

On white

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

On black

8.43
#DF7CFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7CFC
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7CFC#FFFFFF#000000##000000
##DF7CFC1.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #df7cfc;
/* rgb */ color: rgb(223, 124, 252);
/* oklch */ color: oklch(74.3% 0.201 318.2);
Tailwind
colors: {
  custom: {
    50: '#eba5fe',
    500: '#df7cfc',
    950: '#000000',
  },
}
SCSS
$custom: #df7cfc;
$custom-light: #eba5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#df7cfc",
  "rgb": {
    "r": 223,
    "g": 124,
    "b": 252
  },
  "hsl": {
    "h": 286.406,
    "s": 95.522,
    "l": 73.725
  },
  "oklch": {
    "l": 0.74288,
    "c": 0.20084,
    "h": 318.2
  },
  "luminance": 0.37132
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DF7CFC

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

Preview Lab → · Contrast checker → · Palette generator →

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