#D892FB#D892FB

#D892FB is a light, vivid purple. Relative luminance 0.421; OKLCH L 76.8% C 0.161 H 313.7°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#D892FB
RGBrgb(216, 146, 251)
HSLhsl(280, 93%, 78%)
HSVhsv(280, 42%, 98%)
CMYKcmyk(13.9%, 41.8%, 0%, 1.6%)
CIE-LABlab(70.96, 44.38, -42.14)
CIE-LCHlch(70.96, 61.20, 316.48°)
OKLaboklab(76.77% 0.1115 -0.1166)
OKLCHoklch(76.77% 0.161 313.7)
XYZxyz(56.0075, 42.1230, 96.4282)
Luminance0.4212 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D892FB #B5FB92
analogous
#A392FB #D892FB #FB92E9
triadic
#D892FB #FBD892 #92FBD8
tetradic
#D892FB #FBA392 #B5FB92 #92E9FB
square
#D892FB #FBA392 #B5FB92 #92E9FB
split-complementary
#D892FB #E9FB92 #92FBA3
monochromatic
#AE1CF7 #C357F9 #D892FB #EDCDFD #F4E1FE

Accessibility & contrast

On white

2.23
#D892FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.42
#D892FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D892FB
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D892FB#FFFFFF#000000##000000
##D892FB1.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d892fb;
/* rgb */ color: rgb(216, 146, 251);
/* oklch */ color: oklch(76.8% 0.161 313.7);
Tailwind
colors: {
  custom: {
    50: '#e5b3fd',
    500: '#d892fb',
    950: '#000000',
  },
}
SCSS
$custom: #d892fb;
$custom-light: #e5b3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d892fb",
  "rgb": {
    "r": 216,
    "g": 146,
    "b": 251
  },
  "hsl": {
    "h": 280,
    "s": 92.92,
    "l": 77.843
  },
  "oklch": {
    "l": 0.76766,
    "c": 0.16135,
    "h": 313.7
  },
  "luminance": 0.42122
}

Semantic roles & 50–950 ramp

primary
#D892FB
secondary
#E0F6D5
accent
#E6004C
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #D892FB

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

Preview Lab → · Contrast checker → · Palette generator →

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