#DF7CF5#DF7CF5

#DF7CF5 is a light, vivid purple. Relative luminance 0.367; OKLCH L 73.9% C 0.194 H 320.1°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#DF7CF5
RGBrgb(223, 124, 245)
HSLhsl(289, 86%, 72%)
HSVhsv(289, 49%, 96%)
CMYKcmyk(9%, 49.4%, 0%, 3.9%)
CIE-LABlab(67.05, 56.45, -44.92)
CIE-LCHlch(67.05, 72.14, 321.48°)
OKLaboklab(73.94% 0.1488 -0.1244)
OKLCHoklch(73.94% 0.194 320.1)
XYZxyz(54.1185, 36.6980, 90.6012)
Luminance0.3670 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7CF5 #92F57C
analogous
#A37CF5 #DF7CF5 #F57CCF
triadic
#DF7CF5 #F5DF7C #7CF5DF
tetradic
#DF7CF5 #F5A37C #92F57C #7CCFF5
square
#DF7CF5 #F5A37C #92F57C #7CCFF5
split-complementary
#DF7CF5 #CFF57C #7CF5A3
monochromatic
#BF11E5 #D143F1 #DF7CF5 #EDB5F9 #F8E3FD

Accessibility & contrast

On white

2.52
#DF7CF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#DF7CF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7CF5
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7CF5#FFFFFF#000000##000000
##DF7CF51.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#689CF9
Deuteranopia (green-blind)
#85A7F2
Tritanopia (blue-blind)
#E08DAD
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #df7cf5;
/* rgb */ color: rgb(223, 124, 245);
/* oklch */ color: oklch(73.9% 0.194 320.1);
Tailwind
colors: {
  custom: {
    50: '#eba5f9',
    500: '#df7cf5',
    950: '#000000',
  },
}
SCSS
$custom: #df7cf5;
$custom-light: #eba5f9;
$custom-dark: #000000;
JSON
{
  "hex": "#df7cf5",
  "rgb": {
    "r": 223,
    "g": 124,
    "b": 245
  },
  "hsl": {
    "h": 289.091,
    "s": 85.816,
    "l": 72.353
  },
  "oklch": {
    "l": 0.7394,
    "c": 0.19393,
    "h": 320.1
  },
  "luminance": 0.36696
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DF7CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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