#DB98EA#DB98EA

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

Color values

HEX#DB98EA
RGBrgb(219, 152, 234)
HSLhsl(289, 66%, 76%)
HSVhsv(289, 35%, 92%)
CMYKcmyk(6.4%, 35%, 0%, 8.2%)
CIE-LABlab(71.87, 38.66, -31.43)
CIE-LCHlch(71.87, 49.82, 320.89°)
OKLaboklab(77.29% 0.1029 -0.086)
OKLCHoklch(77.29% 0.134 320.1)
XYZxyz(55.2910, 43.4587, 83.3017)
Luminance0.4346 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB98EA #A7EA98
analogous
#B298EA #DB98EA #EA98D0
triadic
#DB98EA #EADB98 #98EADB
tetradic
#DB98EA #EAB298 #A7EA98 #98D0EA
square
#DB98EA #EAB298 #A7EA98 #98D0EA
split-complementary
#DB98EA #D0EA98 #98EAB2
monochromatic
#B732D5 #C965E0 #DB98EA #EDCBF4 #F6E6FA

Accessibility & contrast

On white

2.17
#DB98EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.69
#DB98EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB98EA
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB98EA#FFFFFF#000000##000000
##DB98EA1.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EABED
Deuteranopia (green-blind)
#9EB3E7
Tritanopia (blue-blind)
#DCA1B6
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #db98ea;
/* rgb */ color: rgb(219, 152, 234);
/* oklch */ color: oklch(77.3% 0.134 320.1);
Tailwind
colors: {
  custom: {
    50: '#e7b7f1',
    500: '#db98ea',
    950: '#000000',
  },
}
SCSS
$custom: #db98ea;
$custom-light: #e7b7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#db98ea",
  "rgb": {
    "r": 219,
    "g": 152,
    "b": 234
  },
  "hsl": {
    "h": 289.024,
    "s": 66.129,
    "l": 75.686
  },
  "oklch": {
    "l": 0.77293,
    "c": 0.13406,
    "h": 320.1
  },
  "luminance": 0.43457
}

Semantic roles & 50–950 ramp

primary
#DB98EA
secondary
#DEF1DA
accent
#CE1839
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #DB98EA

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

Preview Lab → · Contrast checker → · Palette generator →

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