#DF7FFC#DF7FFC

#DF7FFC is a light, vivid purple. Relative luminance 0.379; OKLCH L 74.7% C 0.196 H 317.9°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#DF7FFC
RGBrgb(223, 127, 252)
HSLhsl(286, 95%, 74%)
HSVhsv(286, 50%, 99%)
CMYKcmyk(11.5%, 49.6%, 0%, 1.2%)
CIE-LABlab(67.94, 56.31, -47.35)
CIE-LCHlch(67.94, 73.57, 319.94°)
OKLaboklab(74.71% 0.1457 -0.1314)
OKLCHoklch(74.71% 0.196 317.9)
XYZxyz(55.5891, 37.8969, 96.4632)
Luminance0.3790 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7FFC #9CFC7F
analogous
#A17FFC #DF7FFC #FC7FDB
triadic
#DF7FFC #FCDF7F #7FFCDF
tetradic
#DF7FFC #FCA17F #9CFC7F #7FDBFC
square
#DF7FFC #FCA17F #9CFC7F #7FDBFC
split-complementary
#DF7FFC #DBFC7F #7FFCA1
monochromatic
#C107F9 #D043FB #DF7FFC #EEBBFD #F8E1FE

Accessibility & contrast

On white

2.45
#DF7FFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#DF7FFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7FFC
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7FFC#FFFFFF#000000##000000
##DF7FFC1.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #df7ffc;
/* rgb */ color: rgb(223, 127, 252);
/* oklch */ color: oklch(74.7% 0.196 317.9);
Tailwind
colors: {
  custom: {
    50: '#eba7fe',
    500: '#df7ffc',
    950: '#000000',
  },
}
SCSS
$custom: #df7ffc;
$custom-light: #eba7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#df7ffc",
  "rgb": {
    "r": 223,
    "g": 127,
    "b": 252
  },
  "hsl": {
    "h": 286.08,
    "s": 95.42,
    "l": 74.314
  },
  "oklch": {
    "l": 0.74708,
    "c": 0.19618,
    "h": 317.9
  },
  "luminance": 0.37895
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DF7FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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