#D992FC#D992FC

#D992FC is a light, vivid purple. Relative luminance 0.423; OKLCH L 76.9% C 0.163 H 313.8°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#D992FC
RGBrgb(217, 146, 252)
HSLhsl(280, 95%, 78%)
HSVhsv(280, 42%, 99%)
CMYKcmyk(13.9%, 42.1%, 0%, 1.2%)
CIE-LABlab(71.10, 44.87, -42.44)
CIE-LCHlch(71.10, 61.76, 316.59°)
OKLaboklab(76.92% 0.1128 -0.1175)
OKLCHoklch(76.92% 0.163 313.8)
XYZxyz(56.4620, 42.3390, 97.2745)
Luminance0.4234 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D992FC #B5FC92
analogous
#A492FC #D992FC #FC92EA
triadic
#D992FC #FCD992 #92FCD9
tetradic
#D992FC #FCA492 #B5FC92 #92EAFC
square
#D992FC #FCA492 #B5FC92 #92EAFC
split-complementary
#D992FC #EAFC92 #92FCA4
monochromatic
#AF1BF9 #C456FA #D992FC #EECEFE #F5E1FE

Accessibility & contrast

On white

2.22
#D992FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.47
#D992FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D992FC
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D992FC#FFFFFF#000000##000000
##D992FC1.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EAAFF
Deuteranopia (green-blind)
#90B0F9
Tritanopia (blue-blind)
#D6A1BB
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #d992fc;
/* rgb */ color: rgb(217, 146, 252);
/* oklch */ color: oklch(76.9% 0.163 313.8);
Tailwind
colors: {
  custom: {
    50: '#e6b3fd',
    500: '#d992fc',
    950: '#000000',
  },
}
SCSS
$custom: #d992fc;
$custom-light: #e6b3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d992fc",
  "rgb": {
    "r": 217,
    "g": 146,
    "b": 252
  },
  "hsl": {
    "h": 280.189,
    "s": 94.643,
    "l": 78.039
  },
  "oklch": {
    "l": 0.76915,
    "c": 0.16289,
    "h": 313.8
  },
  "luminance": 0.42338
}

Semantic roles & 50–950 ramp

primary
#D992FC
secondary
#E0F6D5
accent
#E6004C
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #D992FC

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

Preview Lab → · Contrast checker → · Palette generator →

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