#D296DC#D296DC

#D296DC is a light, moderate purple. Relative luminance 0.407; OKLCH L 75.5% C 0.117 H 321.6°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#D296DC
RGBrgb(210, 150, 220)
HSLhsl(291, 50%, 73%)
HSVhsv(291, 32%, 86%)
CMYKcmyk(4.5%, 31.8%, 0%, 13.7%)
CIE-LABlab(69.95, 34.22, -26.77)
CIE-LCHlch(69.95, 43.44, 321.97°)
OKLaboklab(75.46% 0.0921 -0.0729)
OKLCHoklch(75.46% 0.117 321.6)
XYZxyz(50.4014, 40.6831, 72.8939)
Luminance0.4068 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D296DC #A0DC96
analogous
#AF96DC #D296DC #DC96C3
triadic
#D296DC #DCD296 #96DCD2
tetradic
#D296DC #DCAF96 #A0DC96 #96C3DC
square
#D296DC #DCAF96 #A0DC96 #96C3DC
split-complementary
#D296DC #C3DC96 #96DCAF
monochromatic
#A83EBA #BE68CD #D296DC #E6C4EB #F5E8F7

Accessibility & contrast

On white

2.30
#D296DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#D296DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D296DC
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D296DC#FFFFFF#000000##000000
##D296DC1.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA7DF
Deuteranopia (green-blind)
#9DADDA
Tritanopia (blue-blind)
#D49DAF
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #d296dc;
/* rgb */ color: rgb(210, 150, 220);
/* oklch */ color: oklch(75.5% 0.117 321.6);
Tailwind
colors: {
  custom: {
    50: '#e0b5e7',
    500: '#d296dc',
    950: '#000000',
  },
}
SCSS
$custom: #d296dc;
$custom-light: #e0b5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#d296dc",
  "rgb": {
    "r": 210,
    "g": 150,
    "b": 220
  },
  "hsl": {
    "h": 291.429,
    "s": 50,
    "l": 72.549
  },
  "oklch": {
    "l": 0.75457,
    "c": 0.11743,
    "h": 321.6
  },
  "luminance": 0.40682
}

Semantic roles & 50–950 ramp

primary
#D296DC
secondary
#DFEEDD
accent
#BD283D
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #D296DC

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

Preview Lab → · Contrast checker → · Palette generator →

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