#D98FF6#D98FF6

#D98FF6 is a light, vivid purple. Relative luminance 0.410; OKLCH L 76.2% C 0.161 H 316.0°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#D98FF6
RGBrgb(217, 143, 246)
HSLhsl(283, 85%, 76%)
HSVhsv(283, 42%, 96%)
CMYKcmyk(11.8%, 41.9%, 0%, 3.5%)
CIE-LABlab(70.21, 45.23, -40.57)
CIE-LCHlch(70.21, 60.76, 318.11°)
OKLaboklab(76.16% 0.116 -0.1121)
OKLCHoklch(76.16% 0.161 316)
XYZxyz(55.0698, 41.0519, 92.1938)
Luminance0.4105 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98FF6 #ACF68F
analogous
#A68FF6 #D98FF6 #F68FE0
triadic
#D98FF6 #F6D98F #8FF6D9
tetradic
#D98FF6 #F6A68F #ACF68F #8FE0F6
square
#D98FF6 #F6A68F #ACF68F #8FE0F6
split-complementary
#D98FF6 #E0F68F #8FF6A6
monochromatic
#B31EED #C656F1 #D98FF6 #ECC8FB #F5E3FD

Accessibility & contrast

On white

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

On black

9.21
#D98FF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98FF6
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98FF6#FFFFFF#000000##000000
##D98FF61.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA7FA
Deuteranopia (green-blind)
#91AEF3
Tritanopia (blue-blind)
#D89DB7
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d98ff6;
/* rgb */ color: rgb(217, 143, 246);
/* oklch */ color: oklch(76.2% 0.161 316.0);
Tailwind
colors: {
  custom: {
    50: '#e6b1f9',
    500: '#d98ff6',
    950: '#000000',
  },
}
SCSS
$custom: #d98ff6;
$custom-light: #e6b1f9;
$custom-dark: #000000;
JSON
{
  "hex": "#d98ff6",
  "rgb": {
    "r": 217,
    "g": 143,
    "b": 246
  },
  "hsl": {
    "h": 283.107,
    "s": 85.124,
    "l": 76.275
  },
  "oklch": {
    "l": 0.76161,
    "c": 0.16126,
    "h": 316
  },
  "luminance": 0.4105
}

Semantic roles & 50–950 ramp

primary
#D98FF6
secondary
#DFF5D6
accent
#E20442
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #D98FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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