#DF98FE#DF98FE

#DF98FE is a light, vivid purple. Relative luminance 0.453; OKLCH L 78.6% C 0.158 H 315.1°. Best body text is #000000 at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#DF98FE
RGBrgb(223, 152, 254)
HSLhsl(282, 98%, 80%)
HSVhsv(282, 40%, 100%)
CMYKcmyk(12.2%, 40.2%, 0%, 0.4%)
CIE-LABlab(73.09, 43.83, -40.38)
CIE-LCHlch(73.09, 59.59, 317.34°)
OKLaboklab(78.58% 0.1117 -0.1115)
OKLCHoklch(78.58% 0.158 315.1)
XYZxyz(59.5463, 45.3016, 99.3540)
Luminance0.4530 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF98FE #B7FE98
analogous
#AC98FE #DF98FE #FE98EA
triadic
#DF98FE #FEDF98 #98FEDF
tetradic
#DF98FE #FEAC98 #B7FE98 #98EAFE
square
#DF98FE #FEAC98 #B7FE98 #98EAFE
split-complementary
#DF98FE #EAFE98 #98FEAC
monochromatic
#B91FFD #CC5BFD #DF98FE #F2D5FF #F6E1FF

Accessibility & contrast

On white

2.09
#DF98FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.06
#DF98FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF98FE
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF98FE#FFFFFF#000000##000000
##DF98FE1.002.0910.0610.06
#FFFFFF2.091.0021.0021.00
#00000010.0621.001.001.00
##00000010.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#86AFFF
Deuteranopia (green-blind)
#98B5FB
Tritanopia (blue-blind)
#DDA6BF
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #df98fe;
/* rgb */ color: rgb(223, 152, 254);
/* oklch */ color: oklch(78.6% 0.158 315.1);
Tailwind
colors: {
  custom: {
    50: '#eab7ff',
    500: '#df98fe',
    950: '#000000',
  },
}
SCSS
$custom: #df98fe;
$custom-light: #eab7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#df98fe",
  "rgb": {
    "r": 223,
    "g": 152,
    "b": 254
  },
  "hsl": {
    "h": 281.765,
    "s": 98.077,
    "l": 79.608
  },
  "oklch": {
    "l": 0.78576,
    "c": 0.15781,
    "h": 315.1
  },
  "luminance": 0.453
}

Semantic roles & 50–950 ramp

primary
#DF98FE
secondary
#DFF7D4
accent
#E60046
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #DF98FE

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

Preview Lab → · Contrast checker → · Palette generator →

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