#DF98F2#DF98F2

#DF98F2 is a light, vivid purple. Relative luminance 0.446; OKLCH L 78.0% C 0.145 H 319.0°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#DF98F2
RGBrgb(223, 152, 242)
HSLhsl(287, 78%, 77%)
HSVhsv(287, 37%, 95%)
CMYKcmyk(7.9%, 37.2%, 0%, 5.1%)
CIE-LABlab(72.60, 41.44, -34.63)
CIE-LCHlch(72.60, 54.00, 320.12°)
OKLaboklab(78.05% 0.1093 -0.095)
OKLCHoklch(78.05% 0.145 319)
XYZxyz(57.6845, 44.5569, 89.5489)
Luminance0.4456 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF98F2 #ABF298
analogous
#B298F2 #DF98F2 #F298D8
triadic
#DF98F2 #F2DF98 #98F2DF
tetradic
#DF98F2 #F2B298 #ABF298 #98D8F2
square
#DF98F2 #F2B298 #ABF298 #98D8F2
split-complementary
#DF98F2 #D8F298 #98F2B2
monochromatic
#BD2BE4 #CE62EB #DF98F2 #F0CEF9 #F7E4FC

Accessibility & contrast

On white

2.12
#DF98F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.91
#DF98F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF98F2
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF98F2#FFFFFF#000000##000000
##DF98F21.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CADF5
Deuteranopia (green-blind)
#9DB5EF
Tritanopia (blue-blind)
#E0A3BA
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #df98f2;
/* rgb */ color: rgb(223, 152, 242);
/* oklch */ color: oklch(78.0% 0.145 319.0);
Tailwind
colors: {
  custom: {
    50: '#eab7f6',
    500: '#df98f2',
    950: '#000000',
  },
}
SCSS
$custom: #df98f2;
$custom-light: #eab7f6;
$custom-dark: #000000;
JSON
{
  "hex": "#df98f2",
  "rgb": {
    "r": 223,
    "g": 152,
    "b": 242
  },
  "hsl": {
    "h": 287.333,
    "s": 77.586,
    "l": 77.255
  },
  "oklch": {
    "l": 0.78045,
    "c": 0.14478,
    "h": 319
  },
  "luminance": 0.44555
}

Semantic roles & 50–950 ramp

primary
#DF98F2
secondary
#DDF3D8
accent
#DA0C37
background
#FEFBFF
surface
#FDF6FE
border
#D5D0D6
text
#161117
muted
#848085

Preview Lab

Preview with #DF98F2

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

Preview Lab → · Contrast checker → · Palette generator →

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