#DB98D2#DB98D2

#DB98D2 is a light, moderate purple. Relative luminance 0.422; OKLCH L 76.3% C 0.110 H 331.4°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#DB98D2
RGBrgb(219, 152, 210)
HSLhsl(308, 48%, 73%)
HSVhsv(308, 31%, 86%)
CMYKcmyk(0%, 30.6%, 4.1%, 14.1%)
CIE-LABlab(70.99, 34.18, -19.58)
CIE-LCHlch(70.99, 39.39, 330.19°)
OKLaboklab(76.34% 0.0965 -0.0527)
OKLCHoklch(76.34% 0.11 331.4)
XYZxyz(52.0737, 42.1717, 66.3572)
Luminance0.4217 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB98D2 #98DBA1
analogous
#C398DB #DB98D2 #DB98B0
triadic
#DB98D2 #D2DB98 #98D2DB
tetradic
#DB98D2 #DBC398 #98DBA1 #98B0DB
square
#DB98D2 #DBC398 #98DBA1 #98B0DB
split-complementary
#DB98D2 #B0DB98 #98DBC3
monochromatic
#B840A8 #CB6BBE #DB98D2 #EBC5E6 #F7E8F5

Accessibility & contrast

On white

2.23
#DB98D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#DB98D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB98D2
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB98D2#FFFFFF#000000##000000
##DB98D21.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#96A8D4
Deuteranopia (green-blind)
#A6B1D0
Tritanopia (blue-blind)
#E19CAD
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #db98d2;
/* rgb */ color: rgb(219, 152, 210);
/* oklch */ color: oklch(76.3% 0.110 331.4);
Tailwind
colors: {
  custom: {
    50: '#e7b7e0',
    500: '#db98d2',
    950: '#000000',
  },
}
SCSS
$custom: #db98d2;
$custom-light: #e7b7e0;
$custom-dark: #000000;
JSON
{
  "hex": "#db98d2",
  "rgb": {
    "r": 219,
    "g": 152,
    "b": 210
  },
  "hsl": {
    "h": 308.06,
    "s": 48.201,
    "l": 72.745
  },
  "oklch": {
    "l": 0.76339,
    "c": 0.10997,
    "h": 331.4
  },
  "luminance": 0.4217
}

Semantic roles & 50–950 ramp

primary
#DB98D2
secondary
#DDEEDF
accent
#BB3E2A
background
#FEFBFD
surface
#FCF6FB
border
#D5D0D4
text
#161115
muted
#848083

Preview Lab

Preview with #DB98D2

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

Preview Lab → · Contrast checker → · Palette generator →

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