#D892FF#D892FF

#D892FF is a light, vivid violet. Relative luminance 0.424; OKLCH L 77.0% C 0.166 H 312.6°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#D892FF
RGBrgb(216, 146, 255)
HSLhsl(279, 100%, 79%)
HSVhsv(279, 43%, 100%)
CMYKcmyk(15.3%, 42.7%, 0%, 0%)
CIE-LABlab(71.13, 45.21, -44.04)
CIE-LCHlch(71.13, 63.11, 315.75°)
OKLaboklab(76.95% 0.1122 -0.1221)
OKLCHoklch(76.95% 0.166 312.6)
XYZxyz(56.6447, 42.3778, 99.7841)
Luminance0.4238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D892FF #B9FF92
analogous
#A192FF #D892FF #FF92EF
triadic
#D892FF #FFD892 #92FFD8
tetradic
#D892FF #FFA192 #B9FF92 #92EFFF
square
#D892FF #FFA192 #B9FF92 #92EFFF
split-complementary
#D892FF #EFFF92 #92FFA1
monochromatic
#AC18FF #C255FF #D892FF #EECFFF #F4E0FF

Accessibility & contrast

On white

2.22
#D892FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#D892FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D892FF
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D892FF#FFFFFF#000000##000000
##D892FF1.002.229.489.48
#FFFFFF2.221.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CAAFF
Deuteranopia (green-blind)
#8EB0FC
Tritanopia (blue-blind)
#D4A2BC
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #d892ff;
/* rgb */ color: rgb(216, 146, 255);
/* oklch */ color: oklch(77.0% 0.166 312.6);
Tailwind
colors: {
  custom: {
    50: '#e6b3ff',
    500: '#d892ff',
    950: '#000000',
  },
}
SCSS
$custom: #d892ff;
$custom-light: #e6b3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d892ff",
  "rgb": {
    "r": 216,
    "g": 146,
    "b": 255
  },
  "hsl": {
    "h": 278.532,
    "s": 100,
    "l": 78.627
  },
  "oklch": {
    "l": 0.76954,
    "c": 0.16582,
    "h": 312.6
  },
  "luminance": 0.42377
}

Semantic roles & 50–950 ramp

primary
#D892FF
secondary
#E0F7D4
accent
#E60052
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #D892FF

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

Preview Lab → · Contrast checker → · Palette generator →

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