#D296CC#D296CC

#D296CC is a light, moderate purple. Relative luminance 0.399; OKLCH L 74.8% C 0.101 H 330.0°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#D296CC
RGBrgb(210, 150, 204)
HSLhsl(306, 40%, 71%)
HSVhsv(306, 29%, 82%)
CMYKcmyk(0%, 28.6%, 2.9%, 17.6%)
CIE-LABlab(69.38, 31.21, -18.80)
CIE-LCHlch(69.38, 36.43, 328.94°)
OKLaboklab(74.83% 0.0876 -0.0506)
OKLCHoklch(74.83% 0.101 330)
XYZxyz(48.3829, 39.8757, 62.2632)
Luminance0.3987 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D296CC #96D29C
analogous
#BA96D2 #D296CC #D296AE
triadic
#D296CC #CCD296 #96CCD2
tetradic
#D296CC #D2BA96 #96D29C #96AED2
square
#D296CC #D2BA96 #96D29C #96AED2
split-complementary
#D296CC #AED296 #96D2BA
monochromatic
#A6479D #C06BB7 #D296CC #E4C1E1 #F6EAF5

Accessibility & contrast

On white

2.34
#D296CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#D296CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D296CC
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D296CC#FFFFFF#000000##000000
##D296CC1.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#94A4CE
Deuteranopia (green-blind)
#A2ACCA
Tritanopia (blue-blind)
#D79AA9
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d296cc;
/* rgb */ color: rgb(210, 150, 204);
/* oklch */ color: oklch(74.8% 0.101 330.0);
Tailwind
colors: {
  custom: {
    50: '#e0b5db',
    500: '#d296cc',
    950: '#000000',
  },
}
SCSS
$custom: #d296cc;
$custom-light: #e0b5db;
$custom-dark: #000000;
JSON
{
  "hex": "#d296cc",
  "rgb": {
    "r": 210,
    "g": 150,
    "b": 204
  },
  "hsl": {
    "h": 306,
    "s": 40,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74832,
    "c": 0.10114,
    "h": 330
  },
  "luminance": 0.39874
}

Semantic roles & 50–950 ramp

primary
#D296CC
secondary
#DAEADB
accent
#B33F32
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #D296CC

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

Preview Lab → · Contrast checker → · Palette generator →

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