#DF98ED#DF98ED

#DF98ED is a light, vivid purple. Relative luminance 0.443; OKLCH L 77.8% C 0.139 H 320.8°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#DF98ED
RGBrgb(223, 152, 237)
HSLhsl(290, 70%, 76%)
HSVhsv(290, 36%, 93%)
CMYKcmyk(5.9%, 35.9%, 0%, 7.1%)
CIE-LABlab(72.40, 40.46, -32.20)
CIE-LCHlch(72.40, 51.71, 321.48°)
OKLaboklab(77.83% 0.1081 -0.0881)
OKLCHoklch(77.83% 0.139 320.8)
XYZxyz(56.9438, 44.2606, 85.6479)
Luminance0.4426 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF98ED #A6ED98
analogous
#B598ED #DF98ED #ED98D1
triadic
#DF98ED #EDDF98 #98EDDF
tetradic
#DF98ED #EDB598 #A6ED98 #98D1ED
square
#DF98ED #EDB598 #A6ED98 #98D1ED
split-complementary
#DF98ED #D1ED98 #98EDB5
monochromatic
#BF30DB #CF64E4 #DF98ED #EFCCF6 #F7E5FA

Accessibility & contrast

On white

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

On black

9.85
#DF98ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF98ED
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF98ED#FFFFFF#000000##000000
##DF98ED1.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EADF0
Deuteranopia (green-blind)
#9FB4EA
Tritanopia (blue-blind)
#E1A2B8
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #df98ed;
/* rgb */ color: rgb(223, 152, 237);
/* oklch */ color: oklch(77.8% 0.139 320.8);
Tailwind
colors: {
  custom: {
    50: '#eab7f3',
    500: '#df98ed',
    950: '#000000',
  },
}
SCSS
$custom: #df98ed;
$custom-light: #eab7f3;
$custom-dark: #000000;
JSON
{
  "hex": "#df98ed",
  "rgb": {
    "r": 223,
    "g": 152,
    "b": 237
  },
  "hsl": {
    "h": 290.118,
    "s": 70.248,
    "l": 76.275
  },
  "oklch": {
    "l": 0.77832,
    "c": 0.13947,
    "h": 320.8
  },
  "luminance": 0.44259
}

Semantic roles & 50–950 ramp

primary
#DF98ED
secondary
#DDF2D9
accent
#D21333
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DF98ED

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

Preview Lab → · Contrast checker → · Palette generator →

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