#D296DD#D296DD

#D296DD is a light, moderate purple. Relative luminance 0.407; OKLCH L 75.5% C 0.118 H 321.2°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#D296DD
RGBrgb(210, 150, 221)
HSLhsl(291, 51%, 73%)
HSVhsv(291, 32%, 87%)
CMYKcmyk(5%, 32.1%, 0%, 13.3%)
CIE-LABlab(69.99, 34.41, -27.26)
CIE-LCHlch(69.99, 43.90, 321.61°)
OKLaboklab(75.5% 0.0923 -0.0743)
OKLCHoklch(75.5% 0.119 321.2)
XYZxyz(50.5342, 40.7362, 73.5935)
Luminance0.4073 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D296DD #A1DD96
analogous
#AE96DD #D296DD #DD96C5
triadic
#D296DD #DDD296 #96DDD2
tetradic
#D296DD #DDAE96 #A1DD96 #96C5DD
square
#D296DD #DDAE96 #A1DD96 #96C5DD
split-complementary
#D296DD #C5DD96 #96DDAE
monochromatic
#A83DBC #BE68CE #D296DD #E6C4EC #F5E8F8

Accessibility & contrast

On white

2.30
#D296DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.15
#D296DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D296DD
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D296DD#FFFFFF#000000##000000
##D296DD1.002.309.159.15
#FFFFFF2.301.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA7E0
Deuteranopia (green-blind)
#9CADDB
Tritanopia (blue-blind)
#D49EB0
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #d296dd;
/* rgb */ color: rgb(210, 150, 221);
/* oklch */ color: oklch(75.5% 0.118 321.2);
Tailwind
colors: {
  custom: {
    50: '#e0b5e7',
    500: '#d296dd',
    950: '#000000',
  },
}
SCSS
$custom: #d296dd;
$custom-light: #e0b5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#d296dd",
  "rgb": {
    "r": 210,
    "g": 150,
    "b": 221
  },
  "hsl": {
    "h": 290.704,
    "s": 51.079,
    "l": 72.745
  },
  "oklch": {
    "l": 0.75497,
    "c": 0.1185,
    "h": 321.2
  },
  "luminance": 0.40735
}

Semantic roles & 50–950 ramp

primary
#D296DD
secondary
#DFEFDC
accent
#BE273F
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #D296DD

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

Preview Lab → · Contrast checker → · Palette generator →

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