#DE98E8#DE98E8

#DE98E8 is a light, vivid purple. Relative luminance 0.438; OKLCH L 77.5% C 0.134 H 322.3°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#DE98E8
RGBrgb(222, 152, 232)
HSLhsl(293, 63%, 75%)
HSVhsv(293, 34%, 91%)
CMYKcmyk(4.3%, 34.5%, 0%, 9%)
CIE-LABlab(72.10, 39.20, -29.94)
CIE-LCHlch(72.10, 49.32, 322.63°)
OKLaboklab(77.52% 0.1058 -0.0817)
OKLCHoklch(77.52% 0.134 322.3)
XYZxyz(55.9163, 43.8141, 81.8398)
Luminance0.4381 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE98E8 #A2E898
analogous
#B698E8 #DE98E8 #E898CA
triadic
#DE98E8 #E8DE98 #98E8DE
tetradic
#DE98E8 #E8B698 #A2E898 #98CAE8
square
#DE98E8 #E8B698 #A2E898 #98CAE8
split-complementary
#DE98E8 #CAE898 #98E8B6
monochromatic
#BE34D2 #CE66DD #DE98E8 #EECAF3 #F7E6F9

Accessibility & contrast

On white

2.15
#DE98E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.76
#DE98E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE98E8
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE98E8#FFFFFF#000000##000000
##DE98E81.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FACEB
Deuteranopia (green-blind)
#A1B4E5
Tritanopia (blue-blind)
#E0A1B6
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #de98e8;
/* rgb */ color: rgb(222, 152, 232);
/* oklch */ color: oklch(77.5% 0.134 322.3);
Tailwind
colors: {
  custom: {
    50: '#e9b7ef',
    500: '#de98e8',
    950: '#000000',
  },
}
SCSS
$custom: #de98e8;
$custom-light: #e9b7ef;
$custom-dark: #000000;
JSON
{
  "hex": "#de98e8",
  "rgb": {
    "r": 222,
    "g": 152,
    "b": 232
  },
  "hsl": {
    "h": 292.5,
    "s": 63.492,
    "l": 75.294
  },
  "oklch": {
    "l": 0.77519,
    "c": 0.13367,
    "h": 322.3
  },
  "luminance": 0.43812
}

Semantic roles & 50–950 ramp

primary
#DE98E8
secondary
#DDF1DA
accent
#CB1A30
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #DE98E8

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

Preview Lab → · Contrast checker → · Palette generator →

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