#DF98FD#DF98FD

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

Color values

HEX#DF98FD
RGBrgb(223, 152, 253)
HSLhsl(282, 96%, 79%)
HSVhsv(282, 40%, 99%)
CMYKcmyk(11.9%, 39.9%, 0%, 0.8%)
CIE-LABlab(73.05, 43.62, -39.91)
CIE-LCHlch(73.05, 59.12, 317.55°)
OKLaboklab(78.53% 0.1115 -0.1101)
OKLCHoklch(78.53% 0.157 315.4)
XYZxyz(59.3866, 45.2377, 98.5128)
Luminance0.4524 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF98FD #B6FD98
analogous
#AD98FD #DF98FD #FD98E9
triadic
#DF98FD #FDDF98 #98FDDF
tetradic
#DF98FD #FDAD98 #B6FD98 #98E9FD
square
#DF98FD #FDAD98 #B6FD98 #98E9FD
split-complementary
#DF98FD #E9FD98 #98FDAD
monochromatic
#BA20FB #CC5CFC #DF98FD #F2D4FE #F6E1FE

Accessibility & contrast

On white

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

On black

10.05
#DF98FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF98FD
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF98FD#FFFFFF#000000##000000
##DF98FD1.002.0910.0510.05
#FFFFFF2.091.0021.0021.00
#00000010.0521.001.001.00
##00000010.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #df98fd;
/* rgb */ color: rgb(223, 152, 253);
/* oklch */ color: oklch(78.5% 0.157 315.4);
Tailwind
colors: {
  custom: {
    50: '#eab7fe',
    500: '#df98fd',
    950: '#000000',
  },
}
SCSS
$custom: #df98fd;
$custom-light: #eab7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#df98fd",
  "rgb": {
    "r": 223,
    "g": 152,
    "b": 253
  },
  "hsl": {
    "h": 282.178,
    "s": 96.19,
    "l": 79.412
  },
  "oklch": {
    "l": 0.78531,
    "c": 0.15671,
    "h": 315.4
  },
  "luminance": 0.45236
}

Semantic roles & 50–950 ramp

primary
#DF98FD
secondary
#DFF7D4
accent
#E60044
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #DF98FD

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

Preview Lab → · Contrast checker → · Palette generator →

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