#DF98EB#DF98EB

#DF98EB is a light, vivid purple. Relative luminance 0.441; OKLCH L 77.7% C 0.137 H 321.6°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#DF98EB
RGBrgb(223, 152, 235)
HSLhsl(291, 67%, 76%)
HSVhsv(291, 35%, 92%)
CMYKcmyk(5.1%, 35.3%, 0%, 7.8%)
CIE-LABlab(72.32, 40.08, -31.23)
CIE-LCHlch(72.32, 50.81, 322.07°)
OKLaboklab(77.75% 0.1077 -0.0853)
OKLCHoklch(77.75% 0.137 321.6)
XYZxyz(56.6533, 44.1444, 84.1176)
Luminance0.4414 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF98EB #A4EB98
analogous
#B598EB #DF98EB #EB98CD
triadic
#DF98EB #EBDF98 #98EBDF
tetradic
#DF98EB #EBB598 #A4EB98 #98CDEB
square
#DF98EB #EBB598 #A4EB98 #98CDEB
split-complementary
#DF98EB #CDEB98 #98EBB5
monochromatic
#BF32D7 #CF65E1 #DF98EB #EFCBF5 #F7E5FA

Accessibility & contrast

On white

2.14
#DF98EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.83
#DF98EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF98EB
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF98EB#FFFFFF#000000##000000
##DF98EB1.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FACEE
Deuteranopia (green-blind)
#A0B4E8
Tritanopia (blue-blind)
#E1A1B7
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #df98eb;
/* rgb */ color: rgb(223, 152, 235);
/* oklch */ color: oklch(77.7% 0.137 321.6);
Tailwind
colors: {
  custom: {
    50: '#eab7f1',
    500: '#df98eb',
    950: '#000000',
  },
}
SCSS
$custom: #df98eb;
$custom-light: #eab7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#df98eb",
  "rgb": {
    "r": 223,
    "g": 152,
    "b": 235
  },
  "hsl": {
    "h": 291.325,
    "s": 67.48,
    "l": 75.882
  },
  "oklch": {
    "l": 0.77748,
    "c": 0.13737,
    "h": 321.6
  },
  "luminance": 0.44143
}

Semantic roles & 50–950 ramp

primary
#DF98EB
secondary
#DDF2D9
accent
#CF1631
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DF98EB

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

Preview Lab → · Contrast checker → · Palette generator →

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