#DB98DF#DB98DF

#DB98DF is a light, vivid purple. Relative luminance 0.428; OKLCH L 76.8% C 0.123 H 324.8°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#DB98DF
RGBrgb(219, 152, 223)
HSLhsl(297, 53%, 74%)
HSVhsv(297, 32%, 87%)
CMYKcmyk(1.8%, 31.8%, 0%, 12.5%)
CIE-LABlab(71.45, 36.56, -26.04)
CIE-LCHlch(71.45, 44.88, 324.54°)
OKLaboklab(76.84% 0.1001 -0.0707)
OKLCHoklch(76.84% 0.123 324.8)
XYZxyz(53.7596, 42.8461, 75.2360)
Luminance0.4284 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB98DF #9CDF98
analogous
#B798DF #DB98DF #DF98BF
triadic
#DB98DF #DFDB98 #98DFDB
tetradic
#DB98DF #DFB798 #9CDF98 #98BFDF
square
#DB98DF #DFB798 #9CDF98 #98BFDF
split-complementary
#DB98DF #BFDF98 #98DFB7
monochromatic
#B93CC1 #CB69D0 #DB98DF #EBC7EE #F7E8F8

Accessibility & contrast

On white

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

On black

9.57
#DB98DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB98DF
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB98DF#FFFFFF#000000##000000
##DB98DF1.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #db98df;
/* rgb */ color: rgb(219, 152, 223);
/* oklch */ color: oklch(76.8% 0.123 324.8);
Tailwind
colors: {
  custom: {
    50: '#e7b7e9',
    500: '#db98df',
    950: '#000000',
  },
}
SCSS
$custom: #db98df;
$custom-light: #e7b7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#db98df",
  "rgb": {
    "r": 219,
    "g": 152,
    "b": 223
  },
  "hsl": {
    "h": 296.62,
    "s": 52.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.76842,
    "c": 0.12259,
    "h": 324.8
  },
  "luminance": 0.42844
}

Semantic roles & 50–950 ramp

primary
#DB98DF
secondary
#DDEFDC
accent
#C0252E
background
#FEFBFE
surface
#FCF6FC
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #DB98DF

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

Preview Lab → · Contrast checker → · Palette generator →

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