#DF98FA#DF98FA

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

Color values

HEX#DF98FA
RGBrgb(223, 152, 250)
HSLhsl(283, 91%, 79%)
HSVhsv(283, 39%, 98%)
CMYKcmyk(10.8%, 39.2%, 0%, 2%)
CIE-LABlab(72.92, 43.02, -38.47)
CIE-LCHlch(72.92, 57.71, 318.19°)
OKLaboklab(78.4% 0.1109 -0.106)
OKLCHoklch(78.4% 0.153 316.3)
XYZxyz(58.9124, 45.0481, 96.0157)
Luminance0.4505 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF98FA #B3FA98
analogous
#AE98FA #DF98FA #FA98E4
triadic
#DF98FA #FADF98 #98FADF
tetradic
#DF98FA #FAAE98 #B3FA98 #98E4FA
square
#DF98FA #FAAE98 #B3FA98 #98E4FA
split-complementary
#DF98FA #E4FA98 #98FAAE
monochromatic
#BB23F4 #CD5EF7 #DF98FA #F1D2FD #F6E2FE

Accessibility & contrast

On white

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

On black

10.01
#DF98FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF98FA
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF98FA#FFFFFF#000000##000000
##DF98FA1.002.1010.0110.01
#FFFFFF2.101.0021.0021.00
#00000010.0121.001.001.00
##00000010.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#88AFFE
Deuteranopia (green-blind)
#9AB5F7
Tritanopia (blue-blind)
#DEA5BD
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #df98fa;
/* rgb */ color: rgb(223, 152, 250);
/* oklch */ color: oklch(78.4% 0.153 316.3);
Tailwind
colors: {
  custom: {
    50: '#eab7fc',
    500: '#df98fa',
    950: '#000000',
  },
}
SCSS
$custom: #df98fa;
$custom-light: #eab7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#df98fa",
  "rgb": {
    "r": 223,
    "g": 152,
    "b": 250
  },
  "hsl": {
    "h": 283.469,
    "s": 90.741,
    "l": 78.824
  },
  "oklch": {
    "l": 0.78396,
    "c": 0.15343,
    "h": 316.3
  },
  "luminance": 0.45047
}

Semantic roles & 50–950 ramp

primary
#DF98FA
secondary
#DEF6D5
accent
#E6003F
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #DF98FA

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

Preview Lab → · Contrast checker → · Palette generator →

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