#D296D2#D296D2

#D296D2 is a light, moderate purple. Relative luminance 0.402; OKLCH L 75.1% C 0.107 H 326.6°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#D296D2
RGBrgb(210, 150, 210)
HSLhsl(300, 40%, 71%)
HSVhsv(300, 29%, 82%)
CMYKcmyk(0%, 28.6%, 0%, 17.6%)
CIE-LABlab(69.59, 32.31, -21.80)
CIE-LCHlch(69.59, 38.98, 325.99°)
OKLaboklab(75.06% 0.0893 -0.0589)
OKLCHoklch(75.06% 0.107 326.6)
XYZxyz(49.1164, 40.1691, 66.1264)
Luminance0.4017 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D296D2 #96D296
analogous
#B496D2 #D296D2 #D296B4
triadic
#D296D2 #D2D296 #96D2D2
tetradic
#D296D2 #D2B496 #96D296 #96B4D2
square
#D296D2 #D2B496 #96D296 #96B4D2
split-complementary
#D296D2 #B4D296 #96D2B4
monochromatic
#A647A6 #C06BC0 #D296D2 #E4C1E4 #F6EAF6

Accessibility & contrast

On white

2.32
#D296D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#D296D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D296D2
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D296D2#FFFFFF#000000##000000
##D296D21.002.329.039.03
#FFFFFF2.321.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#92A5D4
Deuteranopia (green-blind)
#A0ADD0
Tritanopia (blue-blind)
#D69BAB
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d296d2;
/* rgb */ color: rgb(210, 150, 210);
/* oklch */ color: oklch(75.1% 0.107 326.6);
Tailwind
colors: {
  custom: {
    50: '#e0b5e0',
    500: '#d296d2',
    950: '#000000',
  },
}
SCSS
$custom: #d296d2;
$custom-light: #e0b5e0;
$custom-dark: #000000;
JSON
{
  "hex": "#d296d2",
  "rgb": {
    "r": 210,
    "g": 150,
    "b": 210
  },
  "hsl": {
    "h": 300,
    "s": 40,
    "l": 70.588
  },
  "oklch": {
    "l": 0.7506,
    "c": 0.10703,
    "h": 326.6
  },
  "luminance": 0.40167
}

Semantic roles & 50–950 ramp

primary
#D296D2
secondary
#DAEADA
accent
#B33232
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #D296D2

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

Preview Lab → · Contrast checker → · Palette generator →

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