#DF5EF7#DF5EF7

#DF5EF7 is a light, highly saturated purple. Relative luminance 0.304; OKLCH L 70.3% C 0.239 H 321.1°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#DF5EF7
RGBrgb(223, 94, 247)
HSLhsl(291, 91%, 67%)
HSVhsv(291, 62%, 97%)
CMYKcmyk(9.7%, 61.9%, 0%, 3.1%)
CIE-LABlab(62.01, 70.65, -54.00)
CIE-LCHlch(62.01, 88.92, 322.61°)
OKLaboklab(70.28% 0.1863 -0.1505)
OKLCHoklch(70.28% 0.239 321.1)
XYZxyz(51.2207, 30.4113, 91.1496)
Luminance0.3041 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF5EF7 #76F75E
analogous
#935EF7 #DF5EF7 #F75EC3
triadic
#DF5EF7 #F7DF5E #5EF7DF
tetradic
#DF5EF7 #F7935E #76F75E #5EC3F7
square
#DF5EF7 #F7935E #76F75E #5EC3F7
split-complementary
#DF5EF7 #C3F75E #5EF793
monochromatic
#B10AD0 #D324F4 #DF5EF7 #EB98FA #F6D3FD

Accessibility & contrast

On white

2.97
#DF5EF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#DF5EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF5EF7
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF5EF7#FFFFFF#000000##000000
##DF5EF71.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#388DFC
Deuteranopia (green-blind)
#6E9BF3
Tritanopia (blue-blind)
#E177A2
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #df5ef7;
/* rgb */ color: rgb(223, 94, 247);
/* oklch */ color: oklch(70.3% 0.239 321.1);
Tailwind
colors: {
  custom: {
    50: '#ec93fa',
    500: '#df5ef7',
    950: '#000000',
  },
}
SCSS
$custom: #df5ef7;
$custom-light: #ec93fa;
$custom-dark: #000000;
JSON
{
  "hex": "#df5ef7",
  "rgb": {
    "r": 223,
    "g": 94,
    "b": 247
  },
  "hsl": {
    "h": 290.588,
    "s": 90.533,
    "l": 66.863
  },
  "oklch": {
    "l": 0.7028,
    "c": 0.23946,
    "h": 321.1
  },
  "luminance": 0.30409
}

Semantic roles & 50–950 ramp

primary
#DF5EF7
secondary
#C8F1C0
accent
#E60024
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#170E17
muted
#857E85

Preview Lab

Preview with #DF5EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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