#DB98EB#DB98EB

#DB98EB is a light, vivid purple. Relative luminance 0.435; OKLCH L 77.3% C 0.135 H 319.7°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#DB98EB
RGBrgb(219, 152, 235)
HSLhsl(288, 67%, 76%)
HSVhsv(288, 35%, 92%)
CMYKcmyk(6.8%, 35.3%, 0%, 7.8%)
CIE-LABlab(71.90, 38.86, -31.92)
CIE-LCHlch(71.90, 50.28, 320.60°)
OKLaboklab(77.33% 0.1031 -0.0873)
OKLCHoklch(77.33% 0.135 319.7)
XYZxyz(55.4351, 43.5163, 84.0605)
Luminance0.4351 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB98EB #A8EB98
analogous
#B198EB #DB98EB #EB98D1
triadic
#DB98EB #EBDB98 #98EBDB
tetradic
#DB98EB #EBB198 #A8EB98 #98D1EB
square
#DB98EB #EBB198 #A8EB98 #98D1EB
split-complementary
#DB98EB #D1EB98 #98EBB1
monochromatic
#B732D7 #C965E1 #DB98EB #EDCBF5 #F6E5FA

Accessibility & contrast

On white

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

On black

9.70
#DB98EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB98EB
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB98EB#FFFFFF#000000##000000
##DB98EB1.002.169.709.70
#FFFFFF2.161.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #db98eb;
/* rgb */ color: rgb(219, 152, 235);
/* oklch */ color: oklch(77.3% 0.135 319.7);
Tailwind
colors: {
  custom: {
    50: '#e7b7f1',
    500: '#db98eb',
    950: '#000000',
  },
}
SCSS
$custom: #db98eb;
$custom-light: #e7b7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#db98eb",
  "rgb": {
    "r": 219,
    "g": 152,
    "b": 235
  },
  "hsl": {
    "h": 288.434,
    "s": 67.48,
    "l": 75.882
  },
  "oklch": {
    "l": 0.77335,
    "c": 0.13514,
    "h": 319.7
  },
  "luminance": 0.43515
}

Semantic roles & 50–950 ramp

primary
#DB98EB
secondary
#DEF2D9
accent
#CF163A
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DB98EB

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

Preview Lab → · Contrast checker → · Palette generator →

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