#DB98EC#DB98EC

#DB98EC is a light, vivid purple. Relative luminance 0.436; OKLCH L 77.4% C 0.136 H 319.3°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#DB98EC
RGBrgb(219, 152, 236)
HSLhsl(288, 69%, 76%)
HSVhsv(288, 36%, 93%)
CMYKcmyk(7.2%, 35.6%, 0%, 7.5%)
CIE-LABlab(71.94, 39.05, -32.40)
CIE-LCHlch(71.94, 50.74, 320.32°)
OKLaboklab(77.38% 0.1033 -0.0887)
OKLCHoklch(77.38% 0.136 319.3)
XYZxyz(55.5800, 43.5742, 84.8235)
Luminance0.4357 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB98EC #A9EC98
analogous
#B198EC #DB98EC #EC98D3
triadic
#DB98EC #ECDB98 #98ECDB
tetradic
#DB98EC #ECB198 #A9EC98 #98D3EC
square
#DB98EC #ECB198 #A9EC98 #98D3EC
split-complementary
#DB98EC #D3EC98 #98ECB1
monochromatic
#B731D9 #C964E2 #DB98EC #EDCCF6 #F6E5FA

Accessibility & contrast

On white

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

On black

9.71
#DB98EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB98EC
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB98EC#FFFFFF#000000##000000
##DB98EC1.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DACEF
Deuteranopia (green-blind)
#9DB3E9
Tritanopia (blue-blind)
#DCA2B7
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #db98ec;
/* rgb */ color: rgb(219, 152, 236);
/* oklch */ color: oklch(77.4% 0.136 319.3);
Tailwind
colors: {
  custom: {
    50: '#e7b7f2',
    500: '#db98ec',
    950: '#000000',
  },
}
SCSS
$custom: #db98ec;
$custom-light: #e7b7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#db98ec",
  "rgb": {
    "r": 219,
    "g": 152,
    "b": 236
  },
  "hsl": {
    "h": 287.857,
    "s": 68.852,
    "l": 76.078
  },
  "oklch": {
    "l": 0.77377,
    "c": 0.13621,
    "h": 319.3
  },
  "luminance": 0.43573
}

Semantic roles & 50–950 ramp

primary
#DB98EC
secondary
#DEF2D9
accent
#D1153B
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DB98EC

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

Preview Lab → · Contrast checker → · Palette generator →

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