#DE98DB#DE98DB

#DE98DB is a light, vivid purple. Relative luminance 0.431; OKLCH L 77.0% C 0.121 H 328.1°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#DE98DB
RGBrgb(222, 152, 219)
HSLhsl(303, 51%, 73%)
HSVhsv(303, 32%, 87%)
CMYKcmyk(0%, 31.5%, 1.4%, 12.9%)
CIE-LABlab(71.62, 36.78, -23.55)
CIE-LCHlch(71.62, 43.67, 327.37°)
OKLaboklab(77% 0.1025 -0.0637)
OKLCHoklch(77% 0.121 328.1)
XYZxyz(54.1376, 43.1026, 72.4720)
Luminance0.4310 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE98DB #98DE9B
analogous
#BE98DE #DE98DB #DE98B8
triadic
#DE98DB #DBDE98 #98DBDE
tetradic
#DE98DB #DEBE98 #98DE9B #98B8DE
square
#DE98DB #DEBE98 #98DE9B #98B8DE
split-complementary
#DE98DB #B8DE98 #98DEBE
monochromatic
#BF3DB9 #CF6ACB #DE98DB #EDC6EB #F8E8F7

Accessibility & contrast

On white

2.18
#DE98DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.62
#DE98DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE98DB
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE98DB#FFFFFF#000000##000000
##DE98DB1.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#94AADE
Deuteranopia (green-blind)
#A5B3D9
Tritanopia (blue-blind)
#E39EB0
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #de98db;
/* rgb */ color: rgb(222, 152, 219);
/* oklch */ color: oklch(77.0% 0.121 328.1);
Tailwind
colors: {
  custom: {
    50: '#e9b7e6',
    500: '#de98db',
    950: '#000000',
  },
}
SCSS
$custom: #de98db;
$custom-light: #e9b7e6;
$custom-dark: #000000;
JSON
{
  "hex": "#de98db",
  "rgb": {
    "r": 222,
    "g": 152,
    "b": 219
  },
  "hsl": {
    "h": 302.571,
    "s": 51.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.76998,
    "c": 0.12064,
    "h": 328.1
  },
  "luminance": 0.43101
}

Semantic roles & 50–950 ramp

primary
#DE98DB
secondary
#DCEFDD
accent
#BF2D27
background
#FEFBFE
surface
#FDF6FC
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #DE98DB

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

Preview Lab → · Contrast checker → · Palette generator →

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