#DB98DE#DB98DE

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

Color values

HEX#DB98DE
RGBrgb(219, 152, 222)
HSLhsl(297, 51%, 73%)
HSVhsv(297, 32%, 87%)
CMYKcmyk(1.4%, 31.5%, 0%, 12.9%)
CIE-LABlab(71.41, 36.37, -25.55)
CIE-LCHlch(71.41, 44.45, 324.92°)
OKLaboklab(76.8% 0.0999 -0.0693)
OKLCHoklch(76.8% 0.122 325.2)
XYZxyz(53.6251, 42.7923, 74.5280)
Luminance0.4279 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB98DE #9BDE98
analogous
#B898DE #DB98DE #DE98BE
triadic
#DB98DE #DEDB98 #98DEDB
tetradic
#DB98DE #DEB898 #9BDE98 #98BEDE
square
#DB98DE #DEB898 #9BDE98 #98BEDE
split-complementary
#DB98DE #BEDE98 #98DEB8
monochromatic
#B93DBF #CB6ACF #DB98DE #EBC6ED #F7E8F8

Accessibility & contrast

On white

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

On black

9.56
#DB98DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB98DE
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB98DE#FFFFFF#000000##000000
##DB98DE1.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#92AAE1
Deuteranopia (green-blind)
#A3B2DC
Tritanopia (blue-blind)
#DF9FB1
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #db98de;
/* rgb */ color: rgb(219, 152, 222);
/* oklch */ color: oklch(76.8% 0.122 325.2);
Tailwind
colors: {
  custom: {
    50: '#e7b7e8',
    500: '#db98de',
    950: '#000000',
  },
}
SCSS
$custom: #db98de;
$custom-light: #e7b7e8;
$custom-dark: #000000;
JSON
{
  "hex": "#db98de",
  "rgb": {
    "r": 219,
    "g": 152,
    "b": 222
  },
  "hsl": {
    "h": 297.429,
    "s": 51.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.76802,
    "c": 0.12157,
    "h": 325.2
  },
  "luminance": 0.4279
}

Semantic roles & 50–950 ramp

primary
#DB98DE
secondary
#DDEFDC
accent
#BF272D
background
#FEFBFE
surface
#FCF6FC
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #DB98DE

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

Preview Lab → · Contrast checker → · Palette generator →

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