#DB98DC#DB98DC

#DB98DC is a light, moderate purple. Relative luminance 0.427; OKLCH L 76.7% C 0.120 H 326.2°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#DB98DC
RGBrgb(219, 152, 220)
HSLhsl(299, 49%, 73%)
HSVhsv(299, 31%, 86%)
CMYKcmyk(0.5%, 30.9%, 0%, 13.7%)
CIE-LABlab(71.34, 36.00, -24.56)
CIE-LCHlch(71.34, 43.58, 325.70°)
OKLaboklab(76.72% 0.0993 -0.0666)
OKLCHoklch(76.72% 0.12 326.2)
XYZxyz(53.3587, 42.6857, 73.1247)
Luminance0.4268 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB98DC #99DC98
analogous
#B998DC #DB98DC #DC98BB
triadic
#DB98DC #DCDB98 #98DCDB
tetradic
#DB98DC #DCB998 #99DC98 #98BBDC
square
#DB98DC #DCB998 #99DC98 #98BBDC
split-complementary
#DB98DC #BBDC98 #98DCB9
monochromatic
#B83FBA #CB6ACC #DB98DC #EBC6EC #F7E8F7

Accessibility & contrast

On white

2.20
#DB98DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.54
#DB98DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB98DC
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB98DC#FFFFFF#000000##000000
##DB98DC1.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#93A9DF
Deuteranopia (green-blind)
#A3B2DA
Tritanopia (blue-blind)
#DF9EB1
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #db98dc;
/* rgb */ color: rgb(219, 152, 220);
/* oklch */ color: oklch(76.7% 0.120 326.2);
Tailwind
colors: {
  custom: {
    50: '#e7b7e7',
    500: '#db98dc',
    950: '#000000',
  },
}
SCSS
$custom: #db98dc;
$custom-light: #e7b7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#db98dc",
  "rgb": {
    "r": 219,
    "g": 152,
    "b": 220
  },
  "hsl": {
    "h": 299.118,
    "s": 49.275,
    "l": 72.941
  },
  "oklch": {
    "l": 0.76723,
    "c": 0.11957,
    "h": 326.2
  },
  "luminance": 0.42684
}

Semantic roles & 50–950 ramp

primary
#DB98DC
secondary
#DDEEDD
accent
#BD292B
background
#FEFBFE
surface
#FCF6FC
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #DB98DC

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

Preview Lab → · Contrast checker → · Palette generator →

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