#DF98DD#DF98DD

#DF98DD is a light, vivid purple. Relative luminance 0.434; OKLCH L 77.2% C 0.123 H 327.6°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#DF98DD
RGBrgb(223, 152, 221)
HSLhsl(302, 53%, 74%)
HSVhsv(302, 32%, 87%)
CMYKcmyk(0%, 31.8%, 0.9%, 12.5%)
CIE-LABlab(71.80, 37.46, -24.36)
CIE-LCHlch(71.80, 44.68, 326.96°)
OKLaboklab(77.18% 0.1041 -0.066)
OKLCHoklch(77.18% 0.123 327.6)
XYZxyz(54.7097, 43.3670, 73.8814)
Luminance0.4336 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF98DD #98DF9A
analogous
#BD98DF #DF98DD #DF98B9
triadic
#DF98DD #DDDF98 #98DDDF
tetradic
#DF98DD #DFBD98 #98DF9A #98B9DF
square
#DF98DD #DFBD98 #98DF9A #98B9DF
split-complementary
#DF98DD #B9DF98 #98DFBD
monochromatic
#C13CBD #D069CE #DF98DD #EEC7EC #F8E8F7

Accessibility & contrast

On white

2.17
#DF98DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.67
#DF98DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF98DD
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF98DD#FFFFFF#000000##000000
##DF98DD1.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#94AAE0
Deuteranopia (green-blind)
#A5B3DB
Tritanopia (blue-blind)
#E49EB1
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #df98dd;
/* rgb */ color: rgb(223, 152, 221);
/* oklch */ color: oklch(77.2% 0.123 327.6);
Tailwind
colors: {
  custom: {
    50: '#eab7e7',
    500: '#df98dd',
    950: '#000000',
  },
}
SCSS
$custom: #df98dd;
$custom-light: #eab7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#df98dd",
  "rgb": {
    "r": 223,
    "g": 152,
    "b": 221
  },
  "hsl": {
    "h": 301.69,
    "s": 52.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.77181,
    "c": 0.12327,
    "h": 327.6
  },
  "luminance": 0.43365
}

Semantic roles & 50–950 ramp

primary
#DF98DD
secondary
#DCEFDD
accent
#C02A25
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #DF98DD

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

Preview Lab → · Contrast checker → · Palette generator →

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