#DB98DD#DB98DD

#DB98DD is a light, vivid purple. Relative luminance 0.427; OKLCH L 76.8% C 0.121 H 325.7°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#DB98DD
RGBrgb(219, 152, 221)
HSLhsl(298, 50%, 73%)
HSVhsv(298, 31%, 87%)
CMYKcmyk(0.9%, 31.2%, 0%, 13.3%)
CIE-LABlab(71.38, 36.19, -25.05)
CIE-LCHlch(71.38, 44.01, 325.30°)
OKLaboklab(76.76% 0.0996 -0.068)
OKLCHoklch(76.76% 0.121 325.7)
XYZxyz(53.4915, 42.7389, 73.8243)
Luminance0.4274 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB98DD #9ADD98
analogous
#B898DD #DB98DD #DD98BC
triadic
#DB98DD #DDDB98 #98DDDB
tetradic
#DB98DD #DDB898 #9ADD98 #98BCDD
square
#DB98DD #DDB898 #9ADD98 #98BCDD
split-complementary
#DB98DD #BCDD98 #98DDB8
monochromatic
#B93EBC #CB6ACE #DB98DD #EBC6EC #F7E8F7

Accessibility & contrast

On white

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

On black

9.55
#DB98DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB98DD
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB98DD#FFFFFF#000000##000000
##DB98DD1.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #db98dd;
/* rgb */ color: rgb(219, 152, 221);
/* oklch */ color: oklch(76.8% 0.121 325.7);
Tailwind
colors: {
  custom: {
    50: '#e7b7e7',
    500: '#db98dd',
    950: '#000000',
  },
}
SCSS
$custom: #db98dd;
$custom-light: #e7b7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#db98dd",
  "rgb": {
    "r": 219,
    "g": 152,
    "b": 221
  },
  "hsl": {
    "h": 298.261,
    "s": 50.365,
    "l": 73.137
  },
  "oklch": {
    "l": 0.76762,
    "c": 0.12058,
    "h": 325.7
  },
  "luminance": 0.42737
}

Semantic roles & 50–950 ramp

primary
#DB98DD
secondary
#DDEEDD
accent
#BE282C
background
#FEFBFE
surface
#FCF6FC
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #DB98DD

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

Preview Lab → · Contrast checker → · Palette generator →

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