#DF98DB#DF98DB

#DF98DB is a light, vivid purple. Relative luminance 0.433; OKLCH L 77.1% C 0.121 H 328.6°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#DF98DB
RGBrgb(223, 152, 219)
HSLhsl(303, 53%, 74%)
HSVhsv(303, 32%, 87%)
CMYKcmyk(0%, 31.8%, 1.8%, 12.5%)
CIE-LABlab(71.73, 37.10, -23.37)
CIE-LCHlch(71.73, 43.84, 327.79°)
OKLaboklab(77.1% 0.1036 -0.0632)
OKLCHoklch(77.1% 0.121 328.6)
XYZxyz(54.4448, 43.2610, 72.4864)
Luminance0.4326 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF98DB #98DF9C
analogous
#BF98DF #DF98DB #DF98B7
triadic
#DF98DB #DBDF98 #98DBDF
tetradic
#DF98DB #DFBF98 #98DF9C #98B7DF
square
#DF98DB #DFBF98 #98DF9C #98B7DF
split-complementary
#DF98DB #B7DF98 #98DFBF
monochromatic
#C13CB9 #D069CB #DF98DB #EEC7EB #F8E8F7

Accessibility & contrast

On white

2.18
#DF98DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.65
#DF98DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF98DB
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF98DB#FFFFFF#000000##000000
##DF98DB1.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#94AADE
Deuteranopia (green-blind)
#A6B3D9
Tritanopia (blue-blind)
#E49DB0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #df98db;
/* rgb */ color: rgb(223, 152, 219);
/* oklch */ color: oklch(77.1% 0.121 328.6);
Tailwind
colors: {
  custom: {
    50: '#eab7e6',
    500: '#df98db',
    950: '#000000',
  },
}
SCSS
$custom: #df98db;
$custom-light: #eab7e6;
$custom-dark: #000000;
JSON
{
  "hex": "#df98db",
  "rgb": {
    "r": 223,
    "g": 152,
    "b": 219
  },
  "hsl": {
    "h": 303.38,
    "s": 52.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.77103,
    "c": 0.12134,
    "h": 328.6
  },
  "luminance": 0.43259
}

Semantic roles & 50–950 ramp

primary
#DF98DB
secondary
#DCEFDD
accent
#C02E25
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #DF98DB

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

Preview Lab → · Contrast checker → · Palette generator →

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