#D899F2#D899F2

#D899F2 is a light, vivid purple. Relative luminance 0.438; OKLCH L 77.5% C 0.140 H 315.7°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#D899F2
RGBrgb(216, 153, 242)
HSLhsl(282, 77%, 77%)
HSVhsv(282, 37%, 95%)
CMYKcmyk(10.7%, 36.8%, 0%, 5.1%)
CIE-LABlab(72.09, 38.80, -35.47)
CIE-LCHlch(72.09, 52.57, 317.57°)
OKLaboklab(77.5% 0.0998 -0.0975)
OKLCHoklch(77.5% 0.14 315.7)
XYZxyz(55.7347, 43.7935, 89.5042)
Luminance0.4379 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D899F2 #B3F299
analogous
#AC99F2 #D899F2 #F299DF
triadic
#D899F2 #F2D899 #99F2D8
tetradic
#D899F2 #F2AC99 #B3F299 #99DFF2
square
#D899F2 #F2AC99 #B3F299 #99DFF2
split-complementary
#D899F2 #DFF299 #99F2AC
monochromatic
#AE2CE4 #C363EB #D899F2 #EDCFF9 #F5E4FC

Accessibility & contrast

On white

2.15
#D899F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.76
#D899F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D899F2
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D899F2#FFFFFF#000000##000000
##D899F21.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BADF5
Deuteranopia (green-blind)
#9AB3EF
Tritanopia (blue-blind)
#D7A4BA
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #d899f2;
/* rgb */ color: rgb(216, 153, 242);
/* oklch */ color: oklch(77.5% 0.140 315.7);
Tailwind
colors: {
  custom: {
    50: '#e5b8f6',
    500: '#d899f2',
    950: '#000000',
  },
}
SCSS
$custom: #d899f2;
$custom-light: #e5b8f6;
$custom-dark: #000000;
JSON
{
  "hex": "#d899f2",
  "rgb": {
    "r": 216,
    "g": 153,
    "b": 242
  },
  "hsl": {
    "h": 282.472,
    "s": 77.391,
    "l": 77.451
  },
  "oklch": {
    "l": 0.77497,
    "c": 0.13957,
    "h": 315.7
  },
  "luminance": 0.43792
}

Semantic roles & 50–950 ramp

primary
#D899F2
secondary
#E0F3D8
accent
#DA0C48
background
#FEFBFF
surface
#FCF6FE
border
#D5D0D6
text
#161117
muted
#848085

Preview Lab

Preview with #D899F2

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

Preview Lab → · Contrast checker → · Palette generator →

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