#DE98FB#DE98FB

#DE98FB is a light, vivid purple. Relative luminance 0.450; OKLCH L 78.3% C 0.154 H 315.6°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#DE98FB
RGBrgb(222, 152, 251)
HSLhsl(282, 93%, 79%)
HSVhsv(282, 39%, 98%)
CMYKcmyk(11.6%, 39.4%, 0%, 1.6%)
CIE-LABlab(72.86, 42.93, -39.12)
CIE-LCHlch(72.86, 58.08, 317.66°)
OKLaboklab(78.34% 0.11 -0.1079)
OKLCHoklch(78.34% 0.154 315.6)
XYZxyz(58.7624, 44.9525, 96.8293)
Luminance0.4495 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE98FB #B5FB98
analogous
#AD98FB #DE98FB #FB98E7
triadic
#DE98FB #FBDE98 #98FBDE
tetradic
#DE98FB #FBAD98 #B5FB98 #98E7FB
square
#DE98FB #FBAD98 #B5FB98 #98E7FB
split-complementary
#DE98FB #E7FB98 #98FBAD
monochromatic
#B822F6 #CB5DF9 #DE98FB #F1D3FD #F6E2FE

Accessibility & contrast

On white

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

On black

9.99
#DE98FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE98FB
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE98FB#FFFFFF#000000##000000
##DE98FB1.002.109.999.99
#FFFFFF2.101.0021.0021.00
#0000009.9921.001.001.00
##0000009.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#87AFFF
Deuteranopia (green-blind)
#99B5F8
Tritanopia (blue-blind)
#DDA5BE
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #de98fb;
/* rgb */ color: rgb(222, 152, 251);
/* oklch */ color: oklch(78.3% 0.154 315.6);
Tailwind
colors: {
  custom: {
    50: '#e9b7fd',
    500: '#de98fb',
    950: '#000000',
  },
}
SCSS
$custom: #de98fb;
$custom-light: #e9b7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#de98fb",
  "rgb": {
    "r": 222,
    "g": 152,
    "b": 251
  },
  "hsl": {
    "h": 282.424,
    "s": 92.523,
    "l": 79.02
  },
  "oklch": {
    "l": 0.78339,
    "c": 0.15406,
    "h": 315.6
  },
  "luminance": 0.44951
}

Semantic roles & 50–950 ramp

primary
#DE98FB
secondary
#DFF6D5
accent
#E60043
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #DE98FB

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

Preview Lab → · Contrast checker → · Palette generator →

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