#D892EC#D892EC

#D892EC is a light, vivid purple. Relative luminance 0.412; OKLCH L 76.1% C 0.145 H 318.5°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#D892EC
RGBrgb(216, 146, 236)
HSLhsl(287, 70%, 75%)
HSVhsv(287, 38%, 93%)
CMYKcmyk(8.5%, 38.1%, 0%, 7.5%)
CIE-LABlab(70.33, 41.35, -34.93)
CIE-LCHlch(70.33, 54.13, 319.81°)
OKLaboklab(76.09% 0.1086 -0.0959)
OKLCHoklch(76.09% 0.145 318.5)
XYZxyz(53.7361, 41.2144, 84.4651)
Luminance0.4121 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D892EC #A6EC92
analogous
#AB92EC #D892EC #EC92D3
triadic
#D892EC #ECD892 #92ECD8
tetradic
#D892EC #ECAB92 #A6EC92 #92D3EC
square
#D892EC #ECAB92 #A6EC92 #92D3EC
split-complementary
#D892EC #D3EC92 #92ECAB
monochromatic
#B32ADA #C55EE3 #D892EC #EBC6F5 #F6E5FA

Accessibility & contrast

On white

2.27
#D892EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#D892EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D892EC
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D892EC#FFFFFF#000000##000000
##D892EC1.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A7EF
Deuteranopia (green-blind)
#97AEE9
Tritanopia (blue-blind)
#D89DB4
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d892ec;
/* rgb */ color: rgb(216, 146, 236);
/* oklch */ color: oklch(76.1% 0.145 318.5);
Tailwind
colors: {
  custom: {
    50: '#e5b3f2',
    500: '#d892ec',
    950: '#000000',
  },
}
SCSS
$custom: #d892ec;
$custom-light: #e5b3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d892ec",
  "rgb": {
    "r": 216,
    "g": 146,
    "b": 236
  },
  "hsl": {
    "h": 286.667,
    "s": 70.313,
    "l": 74.902
  },
  "oklch": {
    "l": 0.76085,
    "c": 0.1449,
    "h": 318.5
  },
  "luminance": 0.41213
}

Semantic roles & 50–950 ramp

primary
#D892EC
secondary
#DFF2D9
accent
#D2133E
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #D892EC

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

Preview Lab → · Contrast checker → · Palette generator →

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