#D892FC#D892FC

#D892FC is a light, vivid violet. Relative luminance 0.422; OKLCH L 76.8% C 0.162 H 313.4°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#D892FC
RGBrgb(216, 146, 252)
HSLhsl(280, 95%, 78%)
HSVhsv(280, 42%, 99%)
CMYKcmyk(14.3%, 42.1%, 0%, 1.2%)
CIE-LABlab(71.00, 44.58, -42.62)
CIE-LCHlch(71.00, 61.67, 316.29°)
OKLaboklab(76.81% 0.1117 -0.118)
OKLCHoklch(76.81% 0.162 313.4)
XYZxyz(56.1656, 42.1862, 97.2606)
Luminance0.4219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D892FC #B6FC92
analogous
#A392FC #D892FC #FC92EB
triadic
#D892FC #FCD892 #92FCD8
tetradic
#D892FC #FCA392 #B6FC92 #92EBFC
square
#D892FC #FCA392 #B6FC92 #92EBFC
split-complementary
#D892FC #EBFC92 #92FCA3
monochromatic
#AD1BF9 #C356FA #D892FC #EDCEFE #F4E1FE

Accessibility & contrast

On white

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

On black

9.44
#D892FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D892FC
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D892FC#FFFFFF#000000##000000
##D892FC1.002.239.449.44
#FFFFFF2.231.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d892fc;
/* rgb */ color: rgb(216, 146, 252);
/* oklch */ color: oklch(76.8% 0.162 313.4);
Tailwind
colors: {
  custom: {
    50: '#e6b3fd',
    500: '#d892fc',
    950: '#000000',
  },
}
SCSS
$custom: #d892fc;
$custom-light: #e6b3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d892fc",
  "rgb": {
    "r": 216,
    "g": 146,
    "b": 252
  },
  "hsl": {
    "h": 279.623,
    "s": 94.643,
    "l": 78.039
  },
  "oklch": {
    "l": 0.76813,
    "c": 0.16247,
    "h": 313.4
  },
  "luminance": 0.42185
}

Semantic roles & 50–950 ramp

primary
#D892FC
secondary
#E0F6D5
accent
#E6004E
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #D892FC

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

Preview Lab → · Contrast checker → · Palette generator →

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