#DE98EC#DE98EC

#DE98EC is a light, vivid purple. Relative luminance 0.440; OKLCH L 77.7% C 0.138 H 320.7°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#DE98EC
RGBrgb(222, 152, 236)
HSLhsl(290, 69%, 76%)
HSVhsv(290, 36%, 93%)
CMYKcmyk(5.9%, 35.6%, 0%, 7.5%)
CIE-LABlab(72.26, 39.97, -31.89)
CIE-LCHlch(72.26, 51.13, 321.41°)
OKLaboklab(77.69% 0.1068 -0.0872)
OKLCHoklch(77.69% 0.138 320.7)
XYZxyz(56.4909, 44.0439, 84.8662)
Luminance0.4404 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE98EC #A6EC98
analogous
#B498EC #DE98EC #EC98D0
triadic
#DE98EC #ECDE98 #98ECDE
tetradic
#DE98EC #ECB498 #A6EC98 #98D0EC
square
#DE98EC #ECB498 #A6EC98 #98D0EC
split-complementary
#DE98EC #D0EC98 #98ECB4
monochromatic
#BD31D9 #CD64E2 #DE98EC #EFCCF6 #F7E5FA

Accessibility & contrast

On white

2.14
#DE98EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.81
#DE98EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE98EC
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE98EC#FFFFFF#000000##000000
##DE98EC1.002.149.819.81
#FFFFFF2.141.0021.0021.00
#0000009.8121.001.001.00
##0000009.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EACEF
Deuteranopia (green-blind)
#9FB4E9
Tritanopia (blue-blind)
#E0A1B7
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #de98ec;
/* rgb */ color: rgb(222, 152, 236);
/* oklch */ color: oklch(77.7% 0.138 320.7);
Tailwind
colors: {
  custom: {
    50: '#e9b7f2',
    500: '#de98ec',
    950: '#000000',
  },
}
SCSS
$custom: #de98ec;
$custom-light: #e9b7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#de98ec",
  "rgb": {
    "r": 222,
    "g": 152,
    "b": 236
  },
  "hsl": {
    "h": 290,
    "s": 68.852,
    "l": 76.078
  },
  "oklch": {
    "l": 0.77686,
    "c": 0.13786,
    "h": 320.7
  },
  "luminance": 0.44042
}

Semantic roles & 50–950 ramp

primary
#DE98EC
secondary
#DDF2D9
accent
#D11534
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DE98EC

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

Preview Lab → · Contrast checker → · Palette generator →

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