#D98FF3#D98FF3

#D98FF3 is a light, vivid purple. Relative luminance 0.409; OKLCH L 76.0% C 0.158 H 316.9°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#D98FF3
RGBrgb(217, 143, 243)
HSLhsl(284, 81%, 76%)
HSVhsv(284, 41%, 95%)
CMYKcmyk(10.7%, 41.2%, 0%, 4.7%)
CIE-LABlab(70.08, 44.62, -39.13)
CIE-LCHlch(70.08, 59.35, 318.75°)
OKLaboklab(76.02% 0.1154 -0.1079)
OKLCHoklch(76.02% 0.158 316.9)
XYZxyz(54.6130, 40.8692, 89.7883)
Luminance0.4087 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98FF3 #A9F38F
analogous
#A78FF3 #D98FF3 #F38FDB
triadic
#D98FF3 #F3D98F #8FF3D9
tetradic
#D98FF3 #F3A78F #A9F38F #8FDBF3
square
#D98FF3 #F3A78F #A9F38F #8FDBF3
split-complementary
#D98FF3 #DBF38F #8FF3A7
monochromatic
#B320E7 #C658ED #D98FF3 #ECC6F9 #F6E3FC

Accessibility & contrast

On white

2.29
#D98FF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#D98FF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98FF3
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98FF3#FFFFFF#000000##000000
##D98FF31.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA7F7
Deuteranopia (green-blind)
#92AEF0
Tritanopia (blue-blind)
#D89CB6
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #d98ff3;
/* rgb */ color: rgb(217, 143, 243);
/* oklch */ color: oklch(76.0% 0.158 316.9);
Tailwind
colors: {
  custom: {
    50: '#e6b1f7',
    500: '#d98ff3',
    950: '#000000',
  },
}
SCSS
$custom: #d98ff3;
$custom-light: #e6b1f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d98ff3",
  "rgb": {
    "r": 217,
    "g": 143,
    "b": 243
  },
  "hsl": {
    "h": 284.4,
    "s": 80.645,
    "l": 75.686
  },
  "oklch": {
    "l": 0.76023,
    "c": 0.15801,
    "h": 316.9
  },
  "luminance": 0.40868
}

Semantic roles & 50–950 ramp

primary
#D98FF3
secondary
#DFF4D7
accent
#DD0940
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #D98FF3

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

Preview Lab → · Contrast checker → · Palette generator →

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