#DF7CFE#DF7CFE

#DF7CFE is a light, highly saturated purple. Relative luminance 0.373; OKLCH L 74.4% C 0.203 H 317.6°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#DF7CFE
RGBrgb(223, 124, 254)
HSLhsl(286, 98%, 74%)
HSVhsv(286, 51%, 100%)
CMYKcmyk(12.2%, 51.2%, 0%, 0.4%)
CIE-LABlab(67.47, 58.19, -49.19)
CIE-LCHlch(67.47, 76.19, 319.79°)
OKLaboklab(74.39% 0.1498 -0.1367)
OKLCHoklch(74.39% 0.203 317.6)
XYZxyz(55.5260, 37.2610, 98.0139)
Luminance0.3726 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7CFE #9BFE7C
analogous
#9E7CFE #DF7CFE #FE7CDC
triadic
#DF7CFE #FEDF7C #7CFEDF
tetradic
#DF7CFE #FE9E7C #9BFE7C #7CDCFE
square
#DF7CFE #FE9E7C #9BFE7C #7CDCFE
split-complementary
#DF7CFE #DCFE7C #7CFE9E
monochromatic
#C103FD #D03FFE #DF7CFE #EEB9FE #F8E1FF

Accessibility & contrast

On white

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

On black

8.45
#DF7CFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7CFE
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7CFE#FFFFFF#000000##000000
##DF7CFE1.002.488.458.45
#FFFFFF2.481.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #df7cfe;
/* rgb */ color: rgb(223, 124, 254);
/* oklch */ color: oklch(74.4% 0.203 317.6);
Tailwind
colors: {
  custom: {
    50: '#eba5ff',
    500: '#df7cfe',
    950: '#000000',
  },
}
SCSS
$custom: #df7cfe;
$custom-light: #eba5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#df7cfe",
  "rgb": {
    "r": 223,
    "g": 124,
    "b": 254
  },
  "hsl": {
    "h": 285.692,
    "s": 98.485,
    "l": 74.118
  },
  "oklch": {
    "l": 0.7439,
    "c": 0.20283,
    "h": 317.6
  },
  "luminance": 0.37259
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DF7CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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