#D98DFF#D98DFF

#D98DFF is a light, vivid purple. Relative luminance 0.410; OKLCH L 76.3% C 0.174 H 313.6°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#D98DFF
RGBrgb(217, 141, 255)
HSLhsl(280, 100%, 78%)
HSVhsv(280, 45%, 100%)
CMYKcmyk(14.9%, 44.7%, 0%, 0%)
CIE-LABlab(70.19, 48.12, -45.51)
CIE-LCHlch(70.19, 66.23, 316.60°)
OKLaboklab(76.28% 0.1202 -0.1263)
OKLCHoklch(76.28% 0.174 313.6)
XYZxyz(56.1872, 41.0228, 99.5467)
Luminance0.4102 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98DFF #B3FF8D
analogous
#A08DFF #D98DFF #FF8DEC
triadic
#D98DFF #FFD98D #8DFFD9
tetradic
#D98DFF #FFA08D #B3FF8D #8DECFF
square
#D98DFF #FFA08D #B3FF8D #8DECFF
split-complementary
#D98DFF #ECFF8D #8DFFA0
monochromatic
#B013FF #C550FF #D98DFF #EDCAFF #F5E0FF

Accessibility & contrast

On white

2.28
#D98DFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.20
#D98DFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98DFF
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98DFF#FFFFFF#000000##000000
##D98DFF1.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A7FF
Deuteranopia (green-blind)
#8AAEFC
Tritanopia (blue-blind)
#D69EBA
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d98dff;
/* rgb */ color: rgb(217, 141, 255);
/* oklch */ color: oklch(76.3% 0.174 313.6);
Tailwind
colors: {
  custom: {
    50: '#e6b0ff',
    500: '#d98dff',
    950: '#000000',
  },
}
SCSS
$custom: #d98dff;
$custom-light: #e6b0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d98dff",
  "rgb": {
    "r": 217,
    "g": 141,
    "b": 255
  },
  "hsl": {
    "h": 280,
    "s": 100,
    "l": 77.647
  },
  "oklch": {
    "l": 0.76275,
    "c": 0.17436,
    "h": 313.6
  },
  "luminance": 0.41021
}

Semantic roles & 50–950 ramp

primary
#D98DFF
secondary
#E0F7D4
accent
#E6004C
background
#FEFAFF
surface
#FDF5FF
border
#D5CFD7
text
#161118
muted
#848086

Preview Lab

Preview with #D98DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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