#DF7CF7#DF7CF7

#DF7CF7 is a light, vivid purple. Relative luminance 0.368; OKLCH L 74.0% C 0.196 H 319.5°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#DF7CF7
RGBrgb(223, 124, 247)
HSLhsl(288, 88%, 73%)
HSVhsv(288, 50%, 97%)
CMYKcmyk(9.7%, 49.8%, 0%, 3.1%)
CIE-LABlab(67.14, 56.83, -45.88)
CIE-LCHlch(67.14, 73.04, 321.09°)
OKLaboklab(74.04% 0.149 -0.1271)
OKLCHoklch(74.04% 0.196 319.5)
XYZxyz(54.4254, 36.8208, 92.2179)
Luminance0.3682 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7CF7 #94F77C
analogous
#A27CF7 #DF7CF7 #F77CD1
triadic
#DF7CF7 #F7DF7C #7CF7DF
tetradic
#DF7CF7 #F7A27C #94F77C #7CD1F7
square
#DF7CF7 #F7A27C #94F77C #7CD1F7
split-complementary
#DF7CF7 #D1F77C #7CF7A2
monochromatic
#BF0EEA #D142F3 #DF7CF7 #EDB6FB #F8E2FD

Accessibility & contrast

On white

2.51
#DF7CF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#DF7CF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7CF7
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7CF7#FFFFFF#000000##000000
##DF7CF71.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#669DFB
Deuteranopia (green-blind)
#84A7F4
Tritanopia (blue-blind)
#E08DAE
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #df7cf7;
/* rgb */ color: rgb(223, 124, 247);
/* oklch */ color: oklch(74.0% 0.196 319.5);
Tailwind
colors: {
  custom: {
    50: '#eba5fa',
    500: '#df7cf7',
    950: '#000000',
  },
}
SCSS
$custom: #df7cf7;
$custom-light: #eba5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#df7cf7",
  "rgb": {
    "r": 223,
    "g": 124,
    "b": 247
  },
  "hsl": {
    "h": 288.293,
    "s": 88.489,
    "l": 72.745
  },
  "oklch": {
    "l": 0.74038,
    "c": 0.1959,
    "h": 319.5
  },
  "luminance": 0.36819
}

Semantic roles & 50–950 ramp

primary
#DF7CF7
secondary
#DCF5D6
accent
#E5002D
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DF7CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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