#DF98FC#DF98FC

#DF98FC is a light, vivid purple. Relative luminance 0.452; OKLCH L 78.5% C 0.156 H 315.7°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#DF98FC
RGBrgb(223, 152, 252)
HSLhsl(283, 94%, 79%)
HSVhsv(283, 40%, 99%)
CMYKcmyk(11.5%, 39.7%, 0%, 1.2%)
CIE-LABlab(73.01, 43.42, -39.43)
CIE-LCHlch(73.01, 58.65, 317.76°)
OKLaboklab(78.49% 0.1113 -0.1087)
OKLCHoklch(78.49% 0.156 315.7)
XYZxyz(59.2277, 45.1742, 97.6761)
Luminance0.4517 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF98FC #B5FC98
analogous
#AD98FC #DF98FC #FC98E7
triadic
#DF98FC #FCDF98 #98FCDF
tetradic
#DF98FC #FCAD98 #B5FC98 #98E7FC
square
#DF98FC #FCAD98 #B5FC98 #98E7FC
split-complementary
#DF98FC #E7FC98 #98FCAD
monochromatic
#BA21F9 #CD5DFA #DF98FC #F1D3FE #F6E1FE

Accessibility & contrast

On white

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

On black

10.03
#DF98FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF98FC
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF98FC#FFFFFF#000000##000000
##DF98FC1.002.0910.0310.03
#FFFFFF2.091.0021.0021.00
#00000010.0321.001.001.00
##00000010.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #df98fc;
/* rgb */ color: rgb(223, 152, 252);
/* oklch */ color: oklch(78.5% 0.156 315.7);
Tailwind
colors: {
  custom: {
    50: '#eab7fd',
    500: '#df98fc',
    950: '#000000',
  },
}
SCSS
$custom: #df98fc;
$custom-light: #eab7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#df98fc",
  "rgb": {
    "r": 223,
    "g": 152,
    "b": 252
  },
  "hsl": {
    "h": 282.6,
    "s": 94.34,
    "l": 79.216
  },
  "oklch": {
    "l": 0.78486,
    "c": 0.15562,
    "h": 315.7
  },
  "luminance": 0.45173
}

Semantic roles & 50–950 ramp

primary
#DF98FC
secondary
#DEF6D5
accent
#E60043
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #DF98FC

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

Preview Lab → · Contrast checker → · Palette generator →

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