#D296CB#D296CB

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

Color values

HEX#D296CB
RGBrgb(210, 150, 203)
HSLhsl(307, 40%, 71%)
HSVhsv(307, 29%, 82%)
CMYKcmyk(0%, 28.6%, 3.3%, 17.6%)
CIE-LABlab(69.35, 31.03, -18.29)
CIE-LCHlch(69.35, 36.02, 329.47°)
OKLaboklab(74.8% 0.0873 -0.0492)
OKLCHoklch(74.8% 0.1 330.6)
XYZxyz(48.2634, 39.8279, 61.6336)
Luminance0.3983 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D296CB #96D29D
analogous
#BB96D2 #D296CB #D296AD
triadic
#D296CB #CBD296 #96CBD2
tetradic
#D296CB #D2BB96 #96D29D #96ADD2
square
#D296CB #D2BB96 #96D29D #96ADD2
split-complementary
#D296CB #ADD296 #96D2BB
monochromatic
#A6479B #C06BB6 #D296CB #E4C1E0 #F6EAF4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D296CB#FFFFFF#000000##000000
##D296CB1.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)
#94A4CD
Deuteranopia (green-blind)
#A2ACC9
Tritanopia (blue-blind)
#D79AA9
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d296cb;
/* rgb */ color: rgb(210, 150, 203);
/* oklch */ color: oklch(74.8% 0.100 330.6);
Tailwind
colors: {
  custom: {
    50: '#e0b5db',
    500: '#d296cb',
    950: '#000000',
  },
}
SCSS
$custom: #d296cb;
$custom-light: #e0b5db;
$custom-dark: #000000;
JSON
{
  "hex": "#d296cb",
  "rgb": {
    "r": 210,
    "g": 150,
    "b": 203
  },
  "hsl": {
    "h": 307,
    "s": 40,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74795,
    "c": 0.10018,
    "h": 330.6
  },
  "luminance": 0.39826
}

Semantic roles & 50–950 ramp

primary
#D296CB
secondary
#DAEADC
accent
#B34132
background
#FDFBFD
surface
#FBF6FA
border
#D4D0D3
text
#151115
muted
#838083

Preview Lab

Preview with #D296CB

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

Preview Lab → · Contrast checker → · Palette generator →

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