#D296CD#D296CD

#D296CD is a light, moderate purple. Relative luminance 0.399; OKLCH L 74.9% C 0.102 H 329.4°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#D296CD
RGBrgb(210, 150, 205)
HSLhsl(305, 40%, 71%)
HSVhsv(305, 29%, 82%)
CMYKcmyk(0%, 28.6%, 2.4%, 17.6%)
CIE-LABlab(69.42, 31.39, -19.30)
CIE-LCHlch(69.42, 36.85, 328.42°)
OKLaboklab(74.87% 0.0879 -0.052)
OKLCHoklch(74.87% 0.102 329.4)
XYZxyz(48.5032, 39.9238, 62.8969)
Luminance0.3992 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D296CD #96D29B
analogous
#B996D2 #D296CD #D296AF
triadic
#D296CD #CDD296 #96CDD2
tetradic
#D296CD #D2B996 #96D29B #96AFD2
square
#D296CD #D2B996 #96D29B #96AFD2
split-complementary
#D296CD #AFD296 #96D2B9
monochromatic
#A6479E #C06BB9 #D296CD #E4C1E1 #F6EAF5

Accessibility & contrast

On white

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

On black

8.98
#D296CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D296CD
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D296CD#FFFFFF#000000##000000
##D296CD1.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#94A5CF
Deuteranopia (green-blind)
#A2ACCB
Tritanopia (blue-blind)
#D79AAA
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d296cd;
/* rgb */ color: rgb(210, 150, 205);
/* oklch */ color: oklch(74.9% 0.102 329.4);
Tailwind
colors: {
  custom: {
    50: '#e0b5dc',
    500: '#d296cd',
    950: '#000000',
  },
}
SCSS
$custom: #d296cd;
$custom-light: #e0b5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d296cd",
  "rgb": {
    "r": 210,
    "g": 150,
    "b": 205
  },
  "hsl": {
    "h": 305,
    "s": 40,
    "l": 70.588
  },
  "oklch": {
    "l": 0.7487,
    "c": 0.1021,
    "h": 329.4
  },
  "luminance": 0.39922
}

Semantic roles & 50–950 ramp

primary
#D296CD
secondary
#DAEADB
accent
#B33D32
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #D296CD

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

Preview Lab → · Contrast checker → · Palette generator →

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