#D98FFA#D98FFA

#D98FFA is a light, vivid purple. Relative luminance 0.413; OKLCH L 76.3% C 0.166 H 314.8°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#D98FFA
RGBrgb(217, 143, 250)
HSLhsl(281, 91%, 77%)
HSVhsv(281, 43%, 98%)
CMYKcmyk(13.2%, 42.8%, 0%, 2%)
CIE-LABlab(70.39, 46.04, -42.48)
CIE-LCHlch(70.39, 62.64, 317.30°)
OKLaboklab(76.35% 0.1167 -0.1176)
OKLCHoklch(76.35% 0.166 314.8)
XYZxyz(55.6903, 41.3001, 95.4620)
Luminance0.4130 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98FFA #B0FA8F
analogous
#A48FFA #D98FFA #FA8FE6
triadic
#D98FFA #FAD98F #8FFAD9
tetradic
#D98FFA #FAA48F #B0FA8F #8FE6FA
square
#D98FFA #FAA48F #B0FA8F #8FE6FA
split-complementary
#D98FFA #E6FA8F #8FFAA4
monochromatic
#B11AF5 #C554F7 #D98FFA #EDCAFD #F5E2FE

Accessibility & contrast

On white

2.27
#D98FFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.26
#D98FFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98FFA
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98FFA#FFFFFF#000000##000000
##D98FFA1.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA8FE
Deuteranopia (green-blind)
#8FAEF7
Tritanopia (blue-blind)
#D79EB9
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d98ffa;
/* rgb */ color: rgb(217, 143, 250);
/* oklch */ color: oklch(76.3% 0.166 314.8);
Tailwind
colors: {
  custom: {
    50: '#e6b1fc',
    500: '#d98ffa',
    950: '#000000',
  },
}
SCSS
$custom: #d98ffa;
$custom-light: #e6b1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d98ffa",
  "rgb": {
    "r": 217,
    "g": 143,
    "b": 250
  },
  "hsl": {
    "h": 281.495,
    "s": 91.453,
    "l": 77.059
  },
  "oklch": {
    "l": 0.76348,
    "c": 0.16562,
    "h": 314.8
  },
  "luminance": 0.41299
}

Semantic roles & 50–950 ramp

primary
#D98FFA
secondary
#DFF6D5
accent
#E60047
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #D98FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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