#DF98FB#DF98FB

#DF98FB is a light, vivid purple. Relative luminance 0.451; OKLCH L 78.4% C 0.155 H 316.0°. Best body text is #000000 at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#DF98FB
RGBrgb(223, 152, 251)
HSLhsl(283, 93%, 79%)
HSVhsv(283, 39%, 98%)
CMYKcmyk(11.2%, 39.4%, 0%, 1.6%)
CIE-LABlab(72.96, 43.22, -38.95)
CIE-LCHlch(72.96, 58.18, 317.97°)
OKLaboklab(78.44% 0.1111 -0.1074)
OKLCHoklch(78.44% 0.155 316)
XYZxyz(59.0696, 45.1109, 96.8437)
Luminance0.4511 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF98FB #B4FB98
analogous
#AE98FB #DF98FB #FB98E6
triadic
#DF98FB #FBDF98 #98FBDF
tetradic
#DF98FB #FBAE98 #B4FB98 #98E6FB
square
#DF98FB #FBAE98 #B4FB98 #98E6FB
split-complementary
#DF98FB #E6FB98 #98FBAE
monochromatic
#BA22F6 #CD5DF9 #DF98FB #F1D3FD #F6E2FE

Accessibility & contrast

On white

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

On black

10.02
#DF98FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF98FB
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF98FB#FFFFFF#000000##000000
##DF98FB1.002.1010.0210.02
#FFFFFF2.101.0021.0021.00
#00000010.0221.001.001.00
##00000010.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#88AFFF
Deuteranopia (green-blind)
#9AB5F8
Tritanopia (blue-blind)
#DEA5BE
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #df98fb;
/* rgb */ color: rgb(223, 152, 251);
/* oklch */ color: oklch(78.4% 0.155 316.0);
Tailwind
colors: {
  custom: {
    50: '#eab7fd',
    500: '#df98fb',
    950: '#000000',
  },
}
SCSS
$custom: #df98fb;
$custom-light: #eab7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#df98fb",
  "rgb": {
    "r": 223,
    "g": 152,
    "b": 251
  },
  "hsl": {
    "h": 283.03,
    "s": 92.523,
    "l": 79.02
  },
  "oklch": {
    "l": 0.78441,
    "c": 0.15452,
    "h": 316
  },
  "luminance": 0.45109
}

Semantic roles & 50–950 ramp

primary
#DF98FB
secondary
#DEF6D5
accent
#E60041
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #DF98FB

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

Preview Lab → · Contrast checker → · Palette generator →

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