#DF98F9#DF98F9

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

Color values

HEX#DF98F9
RGBrgb(223, 152, 249)
HSLhsl(284, 89%, 79%)
HSVhsv(284, 39%, 98%)
CMYKcmyk(10.4%, 39%, 0%, 2.4%)
CIE-LABlab(72.88, 42.82, -37.99)
CIE-LCHlch(72.88, 57.25, 318.42°)
OKLaboklab(78.35% 0.1107 -0.1046)
OKLCHoklch(78.35% 0.152 316.6)
XYZxyz(58.7560, 44.9855, 95.1921)
Luminance0.4498 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF98F9 #B2F998
analogous
#AE98F9 #DF98F9 #F998E2
triadic
#DF98F9 #F9DF98 #98F9DF
tetradic
#DF98F9 #F9AE98 #B2F998 #98E2F9
square
#DF98F9 #F9AE98 #B2F998 #98E2F9
split-complementary
#DF98F9 #E2F998 #98F9AE
monochromatic
#BB24F2 #CD5EF6 #DF98F9 #F1D2FC #F6E2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DF98F9#FFFFFF#000000##000000
##DF98F91.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)
#89AEFD
Deuteranopia (green-blind)
#9AB5F6
Tritanopia (blue-blind)
#DEA5BD
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #df98f9;
/* rgb */ color: rgb(223, 152, 249);
/* oklch */ color: oklch(78.4% 0.152 316.6);
Tailwind
colors: {
  custom: {
    50: '#eab7fb',
    500: '#df98f9',
    950: '#000000',
  },
}
SCSS
$custom: #df98f9;
$custom-light: #eab7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#df98f9",
  "rgb": {
    "r": 223,
    "g": 152,
    "b": 249
  },
  "hsl": {
    "h": 283.918,
    "s": 88.991,
    "l": 78.627
  },
  "oklch": {
    "l": 0.78352,
    "c": 0.15234,
    "h": 316.6
  },
  "luminance": 0.44984
}

Semantic roles & 50–950 ramp

primary
#DF98F9
secondary
#DEF5D6
accent
#E6003E
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #DF98F9

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

Preview Lab → · Contrast checker → · Palette generator →

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