#DB98E2#DB98E2

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

Color values

HEX#DB98E2
RGBrgb(219, 152, 226)
HSLhsl(294, 56%, 74%)
HSVhsv(294, 33%, 89%)
CMYKcmyk(3.1%, 32.7%, 0%, 11.4%)
CIE-LABlab(71.56, 37.12, -27.51)
CIE-LCHlch(71.56, 46.21, 323.46°)
OKLaboklab(76.96% 0.1009 -0.0749)
OKLCHoklch(76.96% 0.126 323.4)
XYZxyz(54.1676, 43.0093, 77.3850)
Luminance0.4301 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB98E2 #9FE298
analogous
#B698E2 #DB98E2 #E298C4
triadic
#DB98E2 #E2DB98 #98E2DB
tetradic
#DB98E2 #E2B698 #9FE298 #98C4E2
square
#DB98E2 #E2B698 #9FE298 #98C4E2
split-complementary
#DB98E2 #C4E298 #98E2B6
monochromatic
#BA38C7 #CA68D5 #DB98E2 #ECC8EF #F7E7F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DB98E2#FFFFFF#000000##000000
##DB98E21.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)
#91AAE5
Deuteranopia (green-blind)
#A1B2E0
Tritanopia (blue-blind)
#DE9FB3
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #db98e2;
/* rgb */ color: rgb(219, 152, 226);
/* oklch */ color: oklch(77.0% 0.126 323.4);
Tailwind
colors: {
  custom: {
    50: '#e7b7eb',
    500: '#db98e2',
    950: '#000000',
  },
}
SCSS
$custom: #db98e2;
$custom-light: #e7b7eb;
$custom-dark: #000000;
JSON
{
  "hex": "#db98e2",
  "rgb": {
    "r": 219,
    "g": 152,
    "b": 226
  },
  "hsl": {
    "h": 294.324,
    "s": 56.061,
    "l": 74.118
  },
  "oklch": {
    "l": 0.76963,
    "c": 0.12566,
    "h": 323.4
  },
  "luminance": 0.43008
}

Semantic roles & 50–950 ramp

primary
#DB98E2
secondary
#DDF0DB
accent
#C42231
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #DB98E2

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

Preview Lab → · Contrast checker → · Palette generator →

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