#DF98E2#DF98E2

#DF98E2 is a light, vivid purple. Relative luminance 0.436; OKLCH L 77.4% C 0.128 H 325.3°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#DF98E2
RGBrgb(223, 152, 226)
HSLhsl(298, 56%, 74%)
HSVhsv(298, 33%, 89%)
CMYKcmyk(1.3%, 32.7%, 0%, 11.4%)
CIE-LABlab(71.99, 38.38, -26.83)
CIE-LCHlch(71.99, 46.83, 325.05°)
OKLaboklab(77.38% 0.1054 -0.0729)
OKLCHoklch(77.38% 0.128 325.3)
XYZxyz(55.3858, 43.6374, 77.4421)
Luminance0.4364 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF98E2 #9BE298
analogous
#BA98E2 #DF98E2 #E298C0
triadic
#DF98E2 #E2DF98 #98E2DF
tetradic
#DF98E2 #E2BA98 #9BE298 #98C0E2
square
#DF98E2 #E2BA98 #9BE298 #98C0E2
split-complementary
#DF98E2 #C0E298 #98E2BA
monochromatic
#C138C7 #D068D5 #DF98E2 #EEC8EF #F8E7F8

Accessibility & contrast

On white

2.16
#DF98E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.73
#DF98E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF98E2
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF98E2#FFFFFF#000000##000000
##DF98E21.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#92ABE5
Deuteranopia (green-blind)
#A3B4DF
Tritanopia (blue-blind)
#E39FB3
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #df98e2;
/* rgb */ color: rgb(223, 152, 226);
/* oklch */ color: oklch(77.4% 0.128 325.3);
Tailwind
colors: {
  custom: {
    50: '#eab7eb',
    500: '#df98e2',
    950: '#000000',
  },
}
SCSS
$custom: #df98e2;
$custom-light: #eab7eb;
$custom-dark: #000000;
JSON
{
  "hex": "#df98e2",
  "rgb": {
    "r": 223,
    "g": 152,
    "b": 226
  },
  "hsl": {
    "h": 297.568,
    "s": 56.061,
    "l": 74.118
  },
  "oklch": {
    "l": 0.77379,
    "c": 0.12818,
    "h": 325.3
  },
  "luminance": 0.43635
}

Semantic roles & 50–950 ramp

primary
#DF98E2
secondary
#DCF0DB
accent
#C42228
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #DF98E2

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

Preview Lab → · Contrast checker → · Palette generator →

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