#DB98EE#DB98EE

#DB98EE is a light, vivid purple. Relative luminance 0.437; OKLCH L 77.5% C 0.138 H 318.6°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#DB98EE
RGBrgb(219, 152, 238)
HSLhsl(287, 72%, 76%)
HSVhsv(287, 36%, 93%)
CMYKcmyk(8%, 36.1%, 0%, 6.7%)
CIE-LABlab(72.02, 39.44, -33.37)
CIE-LCHlch(72.02, 51.67, 319.77°)
OKLaboklab(77.46% 0.1038 -0.0915)
OKLCHoklch(77.46% 0.138 318.6)
XYZxyz(55.8722, 43.6911, 86.3624)
Luminance0.4369 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB98EE #ABEE98
analogous
#B098EE #DB98EE #EE98D6
triadic
#DB98EE #EEDB98 #98EEDB
tetradic
#DB98EE #EEB098 #ABEE98 #98D6EE
square
#DB98EE #EEB098 #ABEE98 #98D6EE
split-complementary
#DB98EE #D6EE98 #98EEB0
monochromatic
#B62FDD #C963E5 #DB98EE #EDCDF7 #F6E5FB

Accessibility & contrast

On white

2.16
#DB98EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.74
#DB98EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB98EE
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB98EE#FFFFFF#000000##000000
##DB98EE1.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CACF1
Deuteranopia (green-blind)
#9DB3EB
Tritanopia (blue-blind)
#DCA2B8
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #db98ee;
/* rgb */ color: rgb(219, 152, 238);
/* oklch */ color: oklch(77.5% 0.138 318.6);
Tailwind
colors: {
  custom: {
    50: '#e7b7f3',
    500: '#db98ee',
    950: '#000000',
  },
}
SCSS
$custom: #db98ee;
$custom-light: #e7b7f3;
$custom-dark: #000000;
JSON
{
  "hex": "#db98ee",
  "rgb": {
    "r": 219,
    "g": 152,
    "b": 238
  },
  "hsl": {
    "h": 286.744,
    "s": 71.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.77463,
    "c": 0.13836,
    "h": 318.6
  },
  "luminance": 0.4369
}

Semantic roles & 50–950 ramp

primary
#DB98EE
secondary
#DEF2D9
accent
#D4123D
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DB98EE

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

Preview Lab → · Contrast checker → · Palette generator →

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