#DC98DF#DC98DF

#DC98DF is a light, vivid purple. Relative luminance 0.430; OKLCH L 76.9% C 0.123 H 325.3°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#DC98DF
RGBrgb(220, 152, 223)
HSLhsl(297, 53%, 74%)
HSVhsv(297, 32%, 87%)
CMYKcmyk(1.3%, 31.8%, 0%, 12.5%)
CIE-LABlab(71.56, 36.88, -25.87)
CIE-LCHlch(71.56, 45.04, 324.95°)
OKLaboklab(76.95% 0.1013 -0.0702)
OKLCHoklch(76.95% 0.123 325.3)
XYZxyz(54.0614, 43.0017, 75.2501)
Luminance0.4300 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC98DF #9BDF98
analogous
#B898DF #DC98DF #DF98BE
triadic
#DC98DF #DFDC98 #98DFDC
tetradic
#DC98DF #DFB898 #9BDF98 #98BEDF
square
#DC98DF #DFB898 #9BDF98 #98BEDF
split-complementary
#DC98DF #BEDF98 #98DFB8
monochromatic
#BB3CC1 #CC69D0 #DC98DF #ECC7EE #F7E8F8

Accessibility & contrast

On white

2.19
#DC98DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.60
#DC98DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC98DF
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC98DF#FFFFFF#000000##000000
##DC98DF1.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#92AAE2
Deuteranopia (green-blind)
#A3B2DD
Tritanopia (blue-blind)
#E09FB2
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #dc98df;
/* rgb */ color: rgb(220, 152, 223);
/* oklch */ color: oklch(76.9% 0.123 325.3);
Tailwind
colors: {
  custom: {
    50: '#e8b7e9',
    500: '#dc98df',
    950: '#000000',
  },
}
SCSS
$custom: #dc98df;
$custom-light: #e8b7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#dc98df",
  "rgb": {
    "r": 220,
    "g": 152,
    "b": 223
  },
  "hsl": {
    "h": 297.465,
    "s": 52.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.76946,
    "c": 0.12323,
    "h": 325.3
  },
  "luminance": 0.43
}

Semantic roles & 50–950 ramp

primary
#DC98DF
secondary
#DDEFDC
accent
#C0252C
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #DC98DF

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

Preview Lab → · Contrast checker → · Palette generator →

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