#DF7CEF#DF7CEF

#DF7CEF is a light, vivid purple. Relative luminance 0.363; OKLCH L 73.6% C 0.188 H 321.9°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#DF7CEF
RGBrgb(223, 124, 239)
HSLhsl(292, 78%, 71%)
HSVhsv(292, 48%, 94%)
CMYKcmyk(6.7%, 48.1%, 0%, 6.3%)
CIE-LABlab(66.78, 55.31, -42.05)
CIE-LCHlch(66.78, 69.48, 322.75°)
OKLaboklab(73.65% 0.148 -0.1161)
OKLCHoklch(73.65% 0.188 321.9)
XYZxyz(53.2173, 36.3375, 85.8552)
Luminance0.3634 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7CEF #8CEF7C
analogous
#A57CEF #DF7CEF #EF7CC5
triadic
#DF7CEF #EFDF7C #7CEFDF
tetradic
#DF7CEF #EFA57C #8CEF7C #7CC5EF
square
#DF7CEF #EFA57C #8CEF7C #7CC5EF
split-complementary
#DF7CEF #C5EF7C #7CEFA5
monochromatic
#BC1AD6 #D245E8 #DF7CEF #ECB3F6 #F8E4FC

Accessibility & contrast

On white

2.54
#DF7CEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#DF7CEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7CEF
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7CEF#FFFFFF#000000##000000
##DF7CEF1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9BF3
Deuteranopia (green-blind)
#88A6EC
Tritanopia (blue-blind)
#E18BAB
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #df7cef;
/* rgb */ color: rgb(223, 124, 239);
/* oklch */ color: oklch(73.6% 0.188 321.9);
Tailwind
colors: {
  custom: {
    50: '#eba5f4',
    500: '#df7cef',
    950: '#000000',
  },
}
SCSS
$custom: #df7cef;
$custom-light: #eba5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#df7cef",
  "rgb": {
    "r": 223,
    "g": 124,
    "b": 239
  },
  "hsl": {
    "h": 291.652,
    "s": 78.231,
    "l": 71.176
  },
  "oklch": {
    "l": 0.73648,
    "c": 0.18808,
    "h": 321.9
  },
  "luminance": 0.36335
}

Semantic roles & 50–950 ramp

primary
#DF7CEF
secondary
#D8F3D4
accent
#DA0B28
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #DF7CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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