#D98FDB#D98FDB

#D98FDB is a light, vivid purple. Relative luminance 0.395; OKLCH L 75.0% C 0.133 H 325.9°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#D98FDB
RGBrgb(217, 143, 219)
HSLhsl(298, 51%, 71%)
HSVhsv(298, 35%, 86%)
CMYKcmyk(0.9%, 34.7%, 0%, 14.1%)
CIE-LABlab(69.12, 39.99, -27.43)
CIE-LCHlch(69.12, 48.49, 325.55°)
OKLaboklab(74.98% 0.1102 -0.0746)
OKLCHoklch(74.98% 0.133 325.9)
XYZxyz(51.2227, 39.5131, 71.9327)
Luminance0.3951 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98FDB #91DB8F
analogous
#B38FDB #D98FDB #DB8FB7
triadic
#D98FDB #DBD98F #8FDBD9
tetradic
#D98FDB #DBB38F #91DB8F #8FB7DB
square
#D98FDB #DBB38F #91DB8F #8FB7DB
split-complementary
#D98FDB #B7DB8F #8FDBB3
monochromatic
#B23AB5 #C961CC #D98FDB #E9BDEA #F7E8F8

Accessibility & contrast

On white

2.36
#D98FDB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#D98FDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98FDB
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98FDB#FFFFFF#000000##000000
##D98FDB1.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A3DE
Deuteranopia (green-blind)
#9BACD8
Tritanopia (blue-blind)
#DD96AB
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d98fdb;
/* rgb */ color: rgb(217, 143, 219);
/* oklch */ color: oklch(75.0% 0.133 325.9);
Tailwind
colors: {
  custom: {
    50: '#e6b1e6',
    500: '#d98fdb',
    950: '#000000',
  },
}
SCSS
$custom: #d98fdb;
$custom-light: #e6b1e6;
$custom-dark: #000000;
JSON
{
  "hex": "#d98fdb",
  "rgb": {
    "r": 217,
    "g": 143,
    "b": 219
  },
  "hsl": {
    "h": 298.421,
    "s": 51.351,
    "l": 70.98
  },
  "oklch": {
    "l": 0.74981,
    "c": 0.13306,
    "h": 325.9
  },
  "luminance": 0.39511
}

Semantic roles & 50–950 ramp

primary
#D98FDB
secondary
#D9EDD9
accent
#BF272B
background
#FEFBFE
surface
#FCF6FC
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #D98FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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