#D98FF1#D98FF1

#D98FF1 is a light, vivid purple. Relative luminance 0.407; OKLCH L 75.9% C 0.156 H 317.6°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#D98FF1
RGBrgb(217, 143, 241)
HSLhsl(285, 78%, 75%)
HSVhsv(285, 41%, 95%)
CMYKcmyk(10%, 40.7%, 0%, 5.5%)
CIE-LABlab(70.00, 44.22, -38.17)
CIE-LCHlch(70.00, 58.42, 319.21°)
OKLaboklab(75.93% 0.115 -0.1052)
OKLCHoklch(75.93% 0.156 317.6)
XYZxyz(54.3127, 40.7491, 88.2063)
Luminance0.4075 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D98FF1 #A7F18F
analogous
#A88FF1 #D98FF1 #F18FD8
triadic
#D98FF1 #F1D98F #8FF1D9
tetradic
#D98FF1 #F1A88F #A7F18F #8FD8F1
square
#D98FF1 #F1A88F #A7F18F #8FD8F1
split-complementary
#D98FF1 #D8F18F #8FF1A8
monochromatic
#B422E3 #C759EA #D98FF1 #EBC5F8 #F6E4FC

Accessibility & contrast

On white

2.30
#D98FF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.15
#D98FF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D98FF1
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D98FF1#FFFFFF#000000##000000
##D98FF11.002.309.159.15
#FFFFFF2.301.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A6F5
Deuteranopia (green-blind)
#93AEEE
Tritanopia (blue-blind)
#D99CB5
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #d98ff1;
/* rgb */ color: rgb(217, 143, 241);
/* oklch */ color: oklch(75.9% 0.156 317.6);
Tailwind
colors: {
  custom: {
    50: '#e6b1f6',
    500: '#d98ff1',
    950: '#000000',
  },
}
SCSS
$custom: #d98ff1;
$custom-light: #e6b1f6;
$custom-dark: #000000;
JSON
{
  "hex": "#d98ff1",
  "rgb": {
    "r": 217,
    "g": 143,
    "b": 241
  },
  "hsl": {
    "h": 285.306,
    "s": 77.778,
    "l": 75.294
  },
  "oklch": {
    "l": 0.75932,
    "c": 0.15586,
    "h": 317.6
  },
  "luminance": 0.40748
}

Semantic roles & 50–950 ramp

primary
#D98FF1
secondary
#DEF3D8
accent
#DA0B3E
background
#FEFBFF
surface
#FCF6FE
border
#D5D0D6
text
#161117
muted
#848085

Preview Lab

Preview with #D98FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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