#DB98ED#DB98ED

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

Color values

HEX#DB98ED
RGBrgb(219, 152, 237)
HSLhsl(287, 70%, 76%)
HSVhsv(287, 36%, 93%)
CMYKcmyk(7.6%, 35.9%, 0%, 7.1%)
CIE-LABlab(71.98, 39.25, -32.89)
CIE-LCHlch(71.98, 51.20, 320.04°)
OKLaboklab(77.42% 0.1036 -0.0901)
OKLCHoklch(77.42% 0.137 319)
XYZxyz(55.7257, 43.6325, 85.5908)
Luminance0.4363 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB98ED #AAED98
analogous
#B198ED #DB98ED #ED98D5
triadic
#DB98ED #EDDB98 #98EDDB
tetradic
#DB98ED #EDB198 #AAED98 #98D5ED
square
#DB98ED #EDB198 #AAED98 #98D5ED
split-complementary
#DB98ED #D5ED98 #98EDB1
monochromatic
#B730DB #C964E4 #DB98ED #EDCCF6 #F6E5FA

Accessibility & contrast

On white

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

On black

9.73
#DB98ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB98ED
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB98ED#FFFFFF#000000##000000
##DB98ED1.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #db98ed;
/* rgb */ color: rgb(219, 152, 237);
/* oklch */ color: oklch(77.4% 0.137 319.0);
Tailwind
colors: {
  custom: {
    50: '#e7b7f3',
    500: '#db98ed',
    950: '#000000',
  },
}
SCSS
$custom: #db98ed;
$custom-light: #e7b7f3;
$custom-dark: #000000;
JSON
{
  "hex": "#db98ed",
  "rgb": {
    "r": 219,
    "g": 152,
    "b": 237
  },
  "hsl": {
    "h": 287.294,
    "s": 70.248,
    "l": 76.275
  },
  "oklch": {
    "l": 0.7742,
    "c": 0.13728,
    "h": 319
  },
  "luminance": 0.43631
}

Semantic roles & 50–950 ramp

primary
#DB98ED
secondary
#DEF2D9
accent
#D2133C
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DB98ED

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

Preview Lab → · Contrast checker → · Palette generator →

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