#D296CF#D296CF

#D296CF is a light, moderate purple. Relative luminance 0.400; OKLCH L 74.9% C 0.104 H 328.2°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#D296CF
RGBrgb(210, 150, 207)
HSLhsl(303, 40%, 71%)
HSVhsv(303, 29%, 82%)
CMYKcmyk(0%, 28.6%, 1.4%, 17.6%)
CIE-LABlab(69.48, 31.76, -20.30)
CIE-LCHlch(69.48, 37.69, 327.41°)
OKLaboklab(74.94% 0.0885 -0.0548)
OKLCHoklch(74.94% 0.104 328.2)
XYZxyz(48.7462, 40.0210, 64.1764)
Luminance0.4002 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D296CF #96D299
analogous
#B796D2 #D296CF #D296B1
triadic
#D296CF #CFD296 #96CFD2
tetradic
#D296CF #D2B796 #96D299 #96B1D2
square
#D296CF #D2B796 #96D299 #96B1D2
split-complementary
#D296CF #B1D296 #96D2B7
monochromatic
#A647A2 #C06BBB #D296CF #E4C1E3 #F6EAF5

Accessibility & contrast

On white

2.33
#D296CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#D296CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D296CF
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D296CF#FFFFFF#000000##000000
##D296CF1.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#93A5D1
Deuteranopia (green-blind)
#A1ACCD
Tritanopia (blue-blind)
#D69AAA
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d296cf;
/* rgb */ color: rgb(210, 150, 207);
/* oklch */ color: oklch(74.9% 0.104 328.2);
Tailwind
colors: {
  custom: {
    50: '#e0b5dd',
    500: '#d296cf',
    950: '#000000',
  },
}
SCSS
$custom: #d296cf;
$custom-light: #e0b5dd;
$custom-dark: #000000;
JSON
{
  "hex": "#d296cf",
  "rgb": {
    "r": 210,
    "g": 150,
    "b": 207
  },
  "hsl": {
    "h": 303,
    "s": 40,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74945,
    "c": 0.10405,
    "h": 328.2
  },
  "luminance": 0.40019
}

Semantic roles & 50–950 ramp

primary
#D296CF
secondary
#DAEADB
accent
#B33932
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151115
muted
#838083

Preview Lab

Preview with #D296CF

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

Preview Lab → · Contrast checker → · Palette generator →

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