#DF7EDB#DF7EDB

#DF7EDB is a light, vivid purple. Relative luminance 0.357; OKLCH L 73.0% C 0.166 H 328.6°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#DF7EDB
RGBrgb(223, 126, 219)
HSLhsl(302, 60%, 68%)
HSVhsv(302, 43%, 87%)
CMYKcmyk(0%, 43.5%, 1.8%, 12.5%)
CIE-LABlab(66.31, 50.66, -31.70)
CIE-LCHlch(66.31, 59.76, 327.96°)
OKLaboklab(73.02% 0.1417 -0.0865)
OKLCHoklch(73.02% 0.166 328.6)
XYZxyz(50.6777, 35.7268, 71.2307)
Luminance0.3572 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7EDB #7EDF82
analogous
#B27EDF #DF7EDB #DF7EAA
triadic
#DF7EDB #DBDF7E #7EDBDF
tetradic
#DF7EDB #DFB27E #7EDF82 #7EAADF
square
#DF7EDB #DFB27E #7EDF82 #7EAADF
split-complementary
#DF7EDB #AADF7E #7EDFB2
monochromatic
#B62DB0 #D34DCD #DF7EDB #EBAFE9 #F7E0F6

Accessibility & contrast

On white

2.58
#DF7EDB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#DF7EDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7EDB
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7EDB#FFFFFF#000000##000000
##DF7EDB1.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7899DE
Deuteranopia (green-blind)
#92A6D8
Tritanopia (blue-blind)
#E587A2
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #df7edb;
/* rgb */ color: rgb(223, 126, 219);
/* oklch */ color: oklch(73.0% 0.166 328.6);
Tailwind
colors: {
  custom: {
    50: '#eba6e6',
    500: '#df7edb',
    950: '#000000',
  },
}
SCSS
$custom: #df7edb;
$custom-light: #eba6e6;
$custom-dark: #000000;
JSON
{
  "hex": "#df7edb",
  "rgb": {
    "r": 223,
    "g": 126,
    "b": 219
  },
  "hsl": {
    "h": 302.474,
    "s": 60.248,
    "l": 68.431
  },
  "oklch": {
    "l": 0.73022,
    "c": 0.16605,
    "h": 328.6
  },
  "luminance": 0.35724
}

Semantic roles & 50–950 ramp

primary
#DF7EDB
secondary
#CEEBCF
accent
#C8251E
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #DF7EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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