#DE98F8#DE98F8

#DE98F8 is a light, vivid purple. Relative luminance 0.448; OKLCH L 78.2% C 0.151 H 316.5°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#DE98F8
RGBrgb(222, 152, 248)
HSLhsl(284, 87%, 78%)
HSVhsv(284, 39%, 97%)
CMYKcmyk(10.5%, 38.7%, 0%, 2.7%)
CIE-LABlab(72.74, 42.33, -37.68)
CIE-LCHlch(72.74, 56.67, 318.32°)
OKLaboklab(78.21% 0.1094 -0.1037)
OKLCHoklch(78.21% 0.151 316.5)
XYZxyz(58.2932, 44.7649, 94.3584)
Luminance0.4476 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE98F8 #B2F898
analogous
#AE98F8 #DE98F8 #F898E2
triadic
#DE98F8 #F8DE98 #98F8DE
tetradic
#DE98F8 #F8AE98 #B2F898 #98E2F8
square
#DE98F8 #F8AE98 #B2F898 #98E2F8
split-complementary
#DE98F8 #E2F898 #98F8AE
monochromatic
#B925F0 #CC5FF4 #DE98F8 #F0D1FC #F6E2FD

Accessibility & contrast

On white

2.11
#DE98F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.95
#DE98F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE98F8
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE98F8#FFFFFF#000000##000000
##DE98F81.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#89AEFC
Deuteranopia (green-blind)
#9AB5F5
Tritanopia (blue-blind)
#DDA4BC
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #de98f8;
/* rgb */ color: rgb(222, 152, 248);
/* oklch */ color: oklch(78.2% 0.151 316.5);
Tailwind
colors: {
  custom: {
    50: '#e9b7fb',
    500: '#de98f8',
    950: '#000000',
  },
}
SCSS
$custom: #de98f8;
$custom-light: #e9b7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#de98f8",
  "rgb": {
    "r": 222,
    "g": 152,
    "b": 248
  },
  "hsl": {
    "h": 283.75,
    "s": 87.273,
    "l": 78.431
  },
  "oklch": {
    "l": 0.78205,
    "c": 0.15076,
    "h": 316.5
  },
  "luminance": 0.44763
}

Semantic roles & 50–950 ramp

primary
#DE98F8
secondary
#DEF5D6
accent
#E4023F
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #DE98F8

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

Preview Lab → · Contrast checker → · Palette generator →

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