#DE98F2#DE98F2

#DE98F2 is a light, vivid purple. Relative luminance 0.444; OKLCH L 77.9% C 0.144 H 318.5°. Best body text is #000000 at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#DE98F2
RGBrgb(222, 152, 242)
HSLhsl(287, 78%, 77%)
HSVhsv(287, 37%, 95%)
CMYKcmyk(8.3%, 37.2%, 0%, 5.1%)
CIE-LABlab(72.49, 41.14, -34.80)
CIE-LCHlch(72.49, 53.88, 319.77°)
OKLaboklab(77.94% 0.1081 -0.0955)
OKLCHoklch(77.94% 0.144 318.5)
XYZxyz(57.3773, 44.3985, 89.5345)
Luminance0.4440 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE98F2 #ACF298
analogous
#B198F2 #DE98F2 #F298D9
triadic
#DE98F2 #F2DE98 #98F2DE
tetradic
#DE98F2 #F2B198 #ACF298 #98D9F2
square
#DE98F2 #F2B198 #ACF298 #98D9F2
split-complementary
#DE98F2 #D9F298 #98F2B1
monochromatic
#BB2BE4 #CD62EB #DE98F2 #EFCEF9 #F6E4FC

Accessibility & contrast

On white

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

On black

9.88
#DE98F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE98F2
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE98F2#FFFFFF#000000##000000
##DE98F21.002.139.889.88
#FFFFFF2.131.0021.0021.00
#0000009.8821.001.001.00
##0000009.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BADF5
Deuteranopia (green-blind)
#9DB4EF
Tritanopia (blue-blind)
#DFA3BA
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #de98f2;
/* rgb */ color: rgb(222, 152, 242);
/* oklch */ color: oklch(77.9% 0.144 318.5);
Tailwind
colors: {
  custom: {
    50: '#e9b7f6',
    500: '#de98f2',
    950: '#000000',
  },
}
SCSS
$custom: #de98f2;
$custom-light: #e9b7f6;
$custom-dark: #000000;
JSON
{
  "hex": "#de98f2",
  "rgb": {
    "r": 222,
    "g": 152,
    "b": 242
  },
  "hsl": {
    "h": 286.667,
    "s": 77.586,
    "l": 77.255
  },
  "oklch": {
    "l": 0.77942,
    "c": 0.14425,
    "h": 318.5
  },
  "luminance": 0.44397
}

Semantic roles & 50–950 ramp

primary
#DE98F2
secondary
#DEF3D8
accent
#DA0C39
background
#FEFBFF
surface
#FDF6FE
border
#D5D0D6
text
#161117
muted
#848085

Preview Lab

Preview with #DE98F2

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

Preview Lab → · Contrast checker → · Palette generator →

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