#DE98EF#DE98EF

#DE98EF is a light, vivid purple. Relative luminance 0.442; OKLCH L 77.8% C 0.141 H 319.6°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#DE98EF
RGBrgb(222, 152, 239)
HSLhsl(288, 73%, 77%)
HSVhsv(288, 36%, 94%)
CMYKcmyk(7.1%, 36.4%, 0%, 6.3%)
CIE-LABlab(72.38, 40.55, -33.35)
CIE-LCHlch(72.38, 52.50, 320.57°)
OKLaboklab(77.81% 0.1074 -0.0914)
OKLCHoklch(77.81% 0.141 319.6)
XYZxyz(56.9304, 44.2197, 87.1809)
Luminance0.4422 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE98EF #A9EF98
analogous
#B398EF #DE98EF #EF98D5
triadic
#DE98EF #EFDE98 #98EFDE
tetradic
#DE98EF #EFB398 #A9EF98 #98D5EF
square
#DE98EF #EFB398 #A9EF98 #98D5EF
split-complementary
#DE98EF #D5EF98 #98EFB3
monochromatic
#BC2EDF #CD63E7 #DE98EF #EFCDF7 #F7E5FB

Accessibility & contrast

On white

2.13
#DE98EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.84
#DE98EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE98EF
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE98EF#FFFFFF#000000##000000
##DE98EF1.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DADF2
Deuteranopia (green-blind)
#9EB4EC
Tritanopia (blue-blind)
#DFA2B9
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #de98ef;
/* rgb */ color: rgb(222, 152, 239);
/* oklch */ color: oklch(77.8% 0.141 319.6);
Tailwind
colors: {
  custom: {
    50: '#e9b7f4',
    500: '#de98ef',
    950: '#000000',
  },
}
SCSS
$custom: #de98ef;
$custom-light: #e9b7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#de98ef",
  "rgb": {
    "r": 222,
    "g": 152,
    "b": 239
  },
  "hsl": {
    "h": 288.276,
    "s": 73.109,
    "l": 76.667
  },
  "oklch": {
    "l": 0.77813,
    "c": 0.14104,
    "h": 319.6
  },
  "luminance": 0.44218
}

Semantic roles & 50–950 ramp

primary
#DE98EF
secondary
#DEF3D8
accent
#D51037
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DE98EF

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

Preview Lab → · Contrast checker → · Palette generator →

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