#DF98DF#DF98DF

#DF98DF is a light, vivid purple. Relative luminance 0.435; OKLCH L 77.3% C 0.125 H 326.7°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#DF98DF
RGBrgb(223, 152, 223)
HSLhsl(300, 53%, 74%)
HSVhsv(300, 32%, 87%)
CMYKcmyk(0%, 31.8%, 0%, 12.5%)
CIE-LABlab(71.88, 37.83, -25.35)
CIE-LCHlch(71.88, 45.53, 326.17°)
OKLaboklab(77.26% 0.1047 -0.0687)
OKLCHoklch(77.26% 0.125 326.7)
XYZxyz(54.9777, 43.4742, 75.2931)
Luminance0.4347 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF98DF #98DF98
analogous
#BB98DF #DF98DF #DF98BB
triadic
#DF98DF #DFDF98 #98DFDF
tetradic
#DF98DF #DFBB98 #98DF98 #98BBDF
square
#DF98DF #DFBB98 #98DF98 #98BBDF
split-complementary
#DF98DF #BBDF98 #98DFBB
monochromatic
#C13CC1 #D069D0 #DF98DF #EEC7EE #F8E8F8

Accessibility & contrast

On white

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

On black

9.69
#DF98DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF98DF
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF98DF#FFFFFF#000000##000000
##DF98DF1.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#93AAE2
Deuteranopia (green-blind)
#A4B3DD
Tritanopia (blue-blind)
#E39EB2
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #df98df;
/* rgb */ color: rgb(223, 152, 223);
/* oklch */ color: oklch(77.3% 0.125 326.7);
Tailwind
colors: {
  custom: {
    50: '#eab7e9',
    500: '#df98df',
    950: '#000000',
  },
}
SCSS
$custom: #df98df;
$custom-light: #eab7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#df98df",
  "rgb": {
    "r": 223,
    "g": 152,
    "b": 223
  },
  "hsl": {
    "h": 300,
    "s": 52.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.7726,
    "c": 0.12522,
    "h": 326.7
  },
  "luminance": 0.43472
}

Semantic roles & 50–950 ramp

primary
#DF98DF
secondary
#DCEFDC
accent
#C02525
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #DF98DF

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

Preview Lab → · Contrast checker → · Palette generator →

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