#DE98FA#DE98FA

#DE98FA is a light, vivid purple. Relative luminance 0.449; OKLCH L 78.3% C 0.153 H 315.9°. Best body text is #000000 at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#DE98FA
RGBrgb(222, 152, 250)
HSLhsl(283, 91%, 79%)
HSVhsv(283, 39%, 98%)
CMYKcmyk(11.2%, 39.2%, 0%, 2%)
CIE-LABlab(72.82, 42.73, -38.64)
CIE-LCHlch(72.82, 57.61, 317.87°)
OKLaboklab(78.29% 0.1098 -0.1065)
OKLCHoklch(78.29% 0.153 315.9)
XYZxyz(58.6052, 44.8896, 96.0013)
Luminance0.4489 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE98FA #B4FA98
analogous
#AD98FA #DE98FA #FA98E5
triadic
#DE98FA #FADE98 #98FADE
tetradic
#DE98FA #FAAD98 #B4FA98 #98E5FA
square
#DE98FA #FAAD98 #B4FA98 #98E5FA
split-complementary
#DE98FA #E5FA98 #98FAAD
monochromatic
#B923F4 #CB5EF7 #DE98FA #F1D2FD #F6E2FE

Accessibility & contrast

On white

2.10
#DE98FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.98
#DE98FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE98FA
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE98FA#FFFFFF#000000##000000
##DE98FA1.002.109.989.98
#FFFFFF2.101.0021.0021.00
#0000009.9821.001.001.00
##0000009.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#88AEFE
Deuteranopia (green-blind)
#99B5F7
Tritanopia (blue-blind)
#DDA5BD
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #de98fa;
/* rgb */ color: rgb(222, 152, 250);
/* oklch */ color: oklch(78.3% 0.153 315.9);
Tailwind
colors: {
  custom: {
    50: '#e9b7fc',
    500: '#de98fa',
    950: '#000000',
  },
}
SCSS
$custom: #de98fa;
$custom-light: #e9b7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#de98fa",
  "rgb": {
    "r": 222,
    "g": 152,
    "b": 250
  },
  "hsl": {
    "h": 282.857,
    "s": 90.741,
    "l": 78.824
  },
  "oklch": {
    "l": 0.78294,
    "c": 0.15296,
    "h": 315.9
  },
  "luminance": 0.44888
}

Semantic roles & 50–950 ramp

primary
#DE98FA
secondary
#DFF6D5
accent
#E60042
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #DE98FA

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

Preview Lab → · Contrast checker → · Palette generator →

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