#DF98DC#DF98DC

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

Color values

HEX#DF98DC
RGBrgb(223, 152, 220)
HSLhsl(303, 53%, 74%)
HSVhsv(303, 32%, 87%)
CMYKcmyk(0%, 31.8%, 1.3%, 12.5%)
CIE-LABlab(71.77, 37.28, -23.87)
CIE-LCHlch(71.77, 44.26, 327.37°)
OKLaboklab(77.14% 0.1039 -0.0646)
OKLCHoklch(77.14% 0.122 328.1)
XYZxyz(54.5769, 43.3138, 73.1818)
Luminance0.4331 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF98DC #98DF9B
analogous
#BE98DF #DF98DC #DF98B8
triadic
#DF98DC #DCDF98 #98DCDF
tetradic
#DF98DC #DFBE98 #98DF9B #98B8DF
square
#DF98DC #DFBE98 #98DF9B #98B8DF
split-complementary
#DF98DC #B8DF98 #98DFBE
monochromatic
#C13CBB #D069CC #DF98DC #EEC7EC #F8E8F7

Accessibility & contrast

On white

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

On black

9.66
#DF98DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF98DC
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF98DC#FFFFFF#000000##000000
##DF98DC1.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #df98dc;
/* rgb */ color: rgb(223, 152, 220);
/* oklch */ color: oklch(77.1% 0.122 328.1);
Tailwind
colors: {
  custom: {
    50: '#eab7e7',
    500: '#df98dc',
    950: '#000000',
  },
}
SCSS
$custom: #df98dc;
$custom-light: #eab7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#df98dc",
  "rgb": {
    "r": 223,
    "g": 152,
    "b": 220
  },
  "hsl": {
    "h": 302.535,
    "s": 52.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.77142,
    "c": 0.1223,
    "h": 328.1
  },
  "luminance": 0.43312
}

Semantic roles & 50–950 ramp

primary
#DF98DC
secondary
#DCEFDD
accent
#C02C25
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #DF98DC

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

Preview Lab → · Contrast checker → · Palette generator →

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