#DF98EF#DF98EF

#DF98EF is a light, vivid purple. Relative luminance 0.444; OKLCH L 77.9% C 0.142 H 320.1°. Best body text is #000000 at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#DF98EF
RGBrgb(223, 152, 239)
HSLhsl(289, 73%, 77%)
HSVhsv(289, 36%, 94%)
CMYKcmyk(6.7%, 36.4%, 0%, 6.3%)
CIE-LABlab(72.48, 40.85, -33.17)
CIE-LCHlch(72.48, 52.62, 320.92°)
OKLaboklab(77.92% 0.1086 -0.0909)
OKLCHoklch(77.92% 0.142 320.1)
XYZxyz(57.2377, 44.3782, 87.1953)
Luminance0.4438 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF98EF #A8EF98
analogous
#B498EF #DF98EF #EF98D3
triadic
#DF98EF #EFDF98 #98EFDF
tetradic
#DF98EF #EFB498 #A8EF98 #98D3EF
square
#DF98EF #EFB498 #A8EF98 #98D3EF
split-complementary
#DF98EF #D3EF98 #98EFB4
monochromatic
#BE2EDF #CF63E7 #DF98EF #EFCDF7 #F7E5FB

Accessibility & contrast

On white

2.13
#DF98EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.88
#DF98EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF98EF
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF98EF#FFFFFF#000000##000000
##DF98EF1.002.139.889.88
#FFFFFF2.131.0021.0021.00
#0000009.8821.001.001.00
##0000009.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DADF2
Deuteranopia (green-blind)
#9FB4EC
Tritanopia (blue-blind)
#E0A2B9
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #df98ef;
/* rgb */ color: rgb(223, 152, 239);
/* oklch */ color: oklch(77.9% 0.142 320.1);
Tailwind
colors: {
  custom: {
    50: '#eab7f4',
    500: '#df98ef',
    950: '#000000',
  },
}
SCSS
$custom: #df98ef;
$custom-light: #eab7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#df98ef",
  "rgb": {
    "r": 223,
    "g": 152,
    "b": 239
  },
  "hsl": {
    "h": 288.966,
    "s": 73.109,
    "l": 76.667
  },
  "oklch": {
    "l": 0.77917,
    "c": 0.14158,
    "h": 320.1
  },
  "luminance": 0.44376
}

Semantic roles & 50–950 ramp

primary
#DF98EF
secondary
#DDF3D8
accent
#D51035
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DF98EF

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

Preview Lab → · Contrast checker → · Palette generator →

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