#DF98EC#DF98EC

#DF98EC is a light, vivid purple. Relative luminance 0.442; OKLCH L 77.8% C 0.138 H 321.2°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#DF98EC
RGBrgb(223, 152, 236)
HSLhsl(291, 69%, 76%)
HSVhsv(291, 36%, 93%)
CMYKcmyk(5.5%, 35.6%, 0%, 7.5%)
CIE-LABlab(72.36, 40.27, -31.72)
CIE-LCHlch(72.36, 51.26, 321.78°)
OKLaboklab(77.79% 0.1079 -0.0867)
OKLCHoklch(77.79% 0.138 321.2)
XYZxyz(56.7982, 44.2024, 84.8806)
Luminance0.4420 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF98EC #A5EC98
analogous
#B598EC #DF98EC #EC98CF
triadic
#DF98EC #ECDF98 #98ECDF
tetradic
#DF98EC #ECB598 #A5EC98 #98CFEC
square
#DF98EC #ECB598 #A5EC98 #98CFEC
split-complementary
#DF98EC #CFEC98 #98ECB5
monochromatic
#BF31D9 #CF64E2 #DF98EC #EFCCF6 #F7E5FA

Accessibility & contrast

On white

2.13
#DF98EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.84
#DF98EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF98EC
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF98EC#FFFFFF#000000##000000
##DF98EC1.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EACEF
Deuteranopia (green-blind)
#A0B4E9
Tritanopia (blue-blind)
#E1A1B7
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #df98ec;
/* rgb */ color: rgb(223, 152, 236);
/* oklch */ color: oklch(77.8% 0.138 321.2);
Tailwind
colors: {
  custom: {
    50: '#eab7f2',
    500: '#df98ec',
    950: '#000000',
  },
}
SCSS
$custom: #df98ec;
$custom-light: #eab7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#df98ec",
  "rgb": {
    "r": 223,
    "g": 152,
    "b": 236
  },
  "hsl": {
    "h": 290.714,
    "s": 68.852,
    "l": 76.078
  },
  "oklch": {
    "l": 0.7779,
    "c": 0.13842,
    "h": 321.2
  },
  "luminance": 0.44201
}

Semantic roles & 50–950 ramp

primary
#DF98EC
secondary
#DDF2D9
accent
#D11532
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DF98EC

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

Preview Lab → · Contrast checker → · Palette generator →

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