#D99CF2#D99CF2

#D99CF2 is a light, vivid purple. Relative luminance 0.449; OKLCH L 78.1% C 0.135 H 315.8°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#D99CF2
RGBrgb(217, 156, 242)
HSLhsl(283, 77%, 78%)
HSVhsv(283, 36%, 95%)
CMYKcmyk(10.3%, 35.5%, 0%, 5.1%)
CIE-LABlab(72.85, 37.49, -34.28)
CIE-LCHlch(72.85, 50.80, 317.56°)
OKLaboklab(78.1% 0.0967 -0.0941)
OKLCHoklch(78.1% 0.135 315.8)
XYZxyz(56.5283, 44.9407, 89.6838)
Luminance0.4494 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D99CF2 #B5F29C
analogous
#AE9CF2 #D99CF2 #F29CE0
triadic
#D99CF2 #F2D99C #9CF2D9
tetradic
#D99CF2 #F2AE9C #B5F29C #9CE0F2
square
#D99CF2 #F2AE9C #B5F29C #9CE0F2
split-complementary
#D99CF2 #E0F29C #9CF2AE
monochromatic
#AF30E4 #C466EB #D99CF2 #EED2F9 #F5E4FB

Accessibility & contrast

On white

2.10
#D99CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.99
#D99CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D99CF2
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D99CF2#FFFFFF#000000##000000
##D99CF21.002.109.999.99
#FFFFFF2.101.0021.0021.00
#0000009.9921.001.001.00
##0000009.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FAFF5
Deuteranopia (green-blind)
#9DB5EF
Tritanopia (blue-blind)
#D8A7BC
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #d99cf2;
/* rgb */ color: rgb(217, 156, 242);
/* oklch */ color: oklch(78.1% 0.135 315.8);
Tailwind
colors: {
  custom: {
    50: '#e6baf6',
    500: '#d99cf2',
    950: '#000000',
  },
}
SCSS
$custom: #d99cf2;
$custom-light: #e6baf6;
$custom-dark: #000000;
JSON
{
  "hex": "#d99cf2",
  "rgb": {
    "r": 217,
    "g": 156,
    "b": 242
  },
  "hsl": {
    "h": 282.558,
    "s": 76.786,
    "l": 78.039
  },
  "oklch": {
    "l": 0.78097,
    "c": 0.13494,
    "h": 315.8
  },
  "luminance": 0.44939
}

Semantic roles & 50–950 ramp

primary
#D99CF2
secondary
#E0F3D8
accent
#D90C48
background
#FEFBFF
surface
#FCF6FE
border
#D5D0D6
text
#161117
muted
#848085

Preview Lab

Preview with #D99CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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