#DB98EF#DB98EF

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

Color values

HEX#DB98EF
RGBrgb(219, 152, 239)
HSLhsl(286, 73%, 77%)
HSVhsv(286, 36%, 94%)
CMYKcmyk(8.4%, 36.4%, 0%, 6.3%)
CIE-LABlab(72.06, 39.64, -33.86)
CIE-LCHlch(72.06, 52.13, 319.50°)
OKLaboklab(77.51% 0.104 -0.0929)
OKLCHoklch(77.51% 0.139 318.2)
XYZxyz(56.0195, 43.7500, 87.1382)
Luminance0.4375 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB98EF #ACEF98
analogous
#B098EF #DB98EF #EF98D8
triadic
#DB98EF #EFDB98 #98EFDB
tetradic
#DB98EF #EFB098 #ACEF98 #98D8EF
square
#DB98EF #EFB098 #ACEF98 #98D8EF
split-complementary
#DB98EF #D8EF98 #98EFB0
monochromatic
#B62EDF #C863E7 #DB98EF #EECDF7 #F6E5FB

Accessibility & contrast

On white

2.15
#DB98EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.75
#DB98EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB98EF
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB98EF#FFFFFF#000000##000000
##DB98EF1.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CACF2
Deuteranopia (green-blind)
#9CB3EC
Tritanopia (blue-blind)
#DBA3B9
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #db98ef;
/* rgb */ color: rgb(219, 152, 239);
/* oklch */ color: oklch(77.5% 0.139 318.2);
Tailwind
colors: {
  custom: {
    50: '#e7b7f4',
    500: '#db98ef',
    950: '#000000',
  },
}
SCSS
$custom: #db98ef;
$custom-light: #e7b7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#db98ef",
  "rgb": {
    "r": 219,
    "g": 152,
    "b": 239
  },
  "hsl": {
    "h": 286.207,
    "s": 73.109,
    "l": 76.667
  },
  "oklch": {
    "l": 0.77505,
    "c": 0.13945,
    "h": 318.2
  },
  "luminance": 0.43749
}

Semantic roles & 50–950 ramp

primary
#DB98EF
secondary
#DEF3D8
accent
#D5103E
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DB98EF

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

Preview Lab → · Contrast checker → · Palette generator →

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