#DE98FC#DE98FC

#DE98FC is a light, vivid purple. Relative luminance 0.450; OKLCH L 78.4% C 0.155 H 315.2°. Best body text is #000000 at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#DE98FC
RGBrgb(222, 152, 252)
HSLhsl(282, 94%, 79%)
HSVhsv(282, 40%, 99%)
CMYKcmyk(11.9%, 39.7%, 0%, 1.2%)
CIE-LABlab(72.90, 43.13, -39.60)
CIE-LCHlch(72.90, 58.55, 317.44°)
OKLaboklab(78.38% 0.1102 -0.1092)
OKLCHoklch(78.38% 0.155 315.2)
XYZxyz(58.9204, 45.0157, 97.6617)
Luminance0.4501 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE98FC #B6FC98
analogous
#AC98FC #DE98FC #FC98E8
triadic
#DE98FC #FCDE98 #98FCDE
tetradic
#DE98FC #FCAC98 #B6FC98 #98E8FC
square
#DE98FC #FCAC98 #B6FC98 #98E8FC
split-complementary
#DE98FC #E8FC98 #98FCAC
monochromatic
#B821F9 #CB5DFA #DE98FC #F1D3FE #F5E1FE

Accessibility & contrast

On white

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

On black

10.00
#DE98FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE98FC
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE98FC#FFFFFF#000000##000000
##DE98FC1.002.1010.0010.00
#FFFFFF2.101.0021.0021.00
#00000010.0021.001.001.00
##00000010.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #de98fc;
/* rgb */ color: rgb(222, 152, 252);
/* oklch */ color: oklch(78.4% 0.155 315.2);
Tailwind
colors: {
  custom: {
    50: '#eab7fd',
    500: '#de98fc',
    950: '#000000',
  },
}
SCSS
$custom: #de98fc;
$custom-light: #eab7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#de98fc",
  "rgb": {
    "r": 222,
    "g": 152,
    "b": 252
  },
  "hsl": {
    "h": 282,
    "s": 94.34,
    "l": 79.216
  },
  "oklch": {
    "l": 0.78384,
    "c": 0.15515,
    "h": 315.2
  },
  "luminance": 0.45014
}

Semantic roles & 50–950 ramp

primary
#DE98FC
secondary
#DFF6D5
accent
#E60045
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #DE98FC

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

Preview Lab → · Contrast checker → · Palette generator →

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