#D896F3#D896F3

#D896F3 is a light, vivid purple. Relative luminance 0.429; OKLCH L 77.0% C 0.146 H 315.7°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#D896F3
RGBrgb(216, 150, 243)
HSLhsl(283, 79%, 77%)
HSVhsv(283, 38%, 95%)
CMYKcmyk(11.1%, 38.3%, 0%, 4.7%)
CIE-LABlab(71.48, 40.61, -36.97)
CIE-LCHlch(71.48, 54.92, 317.69°)
OKLaboklab(77.05% 0.1043 -0.1018)
OKLCHoklch(77.05% 0.146 315.7)
XYZxyz(55.4005, 42.8840, 90.1357)
Luminance0.4288 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D896F3 #B1F396
analogous
#AA96F3 #D896F3 #F396DF
triadic
#D896F3 #F3D896 #96F3D8
tetradic
#D896F3 #F3AA96 #B1F396 #96DFF3
square
#D896F3 #F3AA96 #B1F396 #96DFF3
split-complementary
#D896F3 #DFF396 #96F3AA
monochromatic
#AF28E6 #C45FED #D896F3 #ECCDF9 #F5E4FC

Accessibility & contrast

On white

2.19
#D896F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.58
#D896F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D896F3
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D896F3#FFFFFF#000000##000000
##D896F31.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#87ABF6
Deuteranopia (green-blind)
#97B1F0
Tritanopia (blue-blind)
#D7A2B9
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #d896f3;
/* rgb */ color: rgb(216, 150, 243);
/* oklch */ color: oklch(77.0% 0.146 315.7);
Tailwind
colors: {
  custom: {
    50: '#e5b6f7',
    500: '#d896f3',
    950: '#000000',
  },
}
SCSS
$custom: #d896f3;
$custom-light: #e5b6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d896f3",
  "rgb": {
    "r": 216,
    "g": 150,
    "b": 243
  },
  "hsl": {
    "h": 282.581,
    "s": 79.487,
    "l": 77.059
  },
  "oklch": {
    "l": 0.77047,
    "c": 0.14577,
    "h": 315.7
  },
  "luminance": 0.42883
}

Semantic roles & 50–950 ramp

primary
#D896F3
secondary
#E0F4D7
accent
#DC0A47
background
#FEFBFF
surface
#FCF6FE
border
#D5D0D6
text
#161117
muted
#848085

Preview Lab

Preview with #D896F3

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

Preview Lab → · Contrast checker → · Palette generator →

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