#D892FD#D892FD

#D892FD is a light, vivid violet. Relative luminance 0.422; OKLCH L 76.9% C 0.164 H 313.1°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#D892FD
RGBrgb(216, 146, 253)
HSLhsl(279, 96%, 78%)
HSVhsv(279, 42%, 99%)
CMYKcmyk(14.6%, 42.3%, 0%, 0.8%)
CIE-LABlab(71.04, 44.79, -43.09)
CIE-LCHlch(71.04, 62.15, 316.11°)
OKLaboklab(76.86% 0.1119 -0.1194)
OKLCHoklch(76.86% 0.164 313.1)
XYZxyz(56.3245, 42.2497, 98.0974)
Luminance0.4225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D892FD #B7FD92
analogous
#A292FD #D892FD #FD92ED
triadic
#D892FD #FDD892 #92FDD8
tetradic
#D892FD #FDA292 #B7FD92 #92EDFD
square
#D892FD #FDA292 #B7FD92 #92EDFD
split-complementary
#D892FD #EDFD92 #92FDA2
monochromatic
#AD1AFB #C256FC #D892FD #EECEFE #F4E1FE

Accessibility & contrast

On white

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

On black

9.45
#D892FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D892FD
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D892FD#FFFFFF#000000##000000
##D892FD1.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DAAFF
Deuteranopia (green-blind)
#8FB0FA
Tritanopia (blue-blind)
#D5A1BC
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #d892fd;
/* rgb */ color: rgb(216, 146, 253);
/* oklch */ color: oklch(76.9% 0.164 313.1);
Tailwind
colors: {
  custom: {
    50: '#e6b3fe',
    500: '#d892fd',
    950: '#000000',
  },
}
SCSS
$custom: #d892fd;
$custom-light: #e6b3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d892fd",
  "rgb": {
    "r": 216,
    "g": 146,
    "b": 253
  },
  "hsl": {
    "h": 279.252,
    "s": 96.396,
    "l": 78.235
  },
  "oklch": {
    "l": 0.7686,
    "c": 0.16358,
    "h": 313.1
  },
  "luminance": 0.42249
}

Semantic roles & 50–950 ramp

primary
#D892FD
secondary
#E0F7D4
accent
#E6004F
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #D892FD

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

Preview Lab → · Contrast checker → · Palette generator →

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