#D296DE#D296DE

#D296DE is a light, moderate purple. Relative luminance 0.408; OKLCH L 75.5% C 0.120 H 320.7°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#D296DE
RGBrgb(210, 150, 222)
HSLhsl(290, 52%, 73%)
HSVhsv(290, 32%, 87%)
CMYKcmyk(5.4%, 32.4%, 0%, 12.9%)
CIE-LABlab(70.03, 34.60, -27.75)
CIE-LCHlch(70.03, 44.36, 321.27°)
OKLaboklab(75.54% 0.0926 -0.0757)
OKLCHoklch(75.54% 0.12 320.7)
XYZxyz(50.6678, 40.7897, 74.2972)
Luminance0.4079 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D296DE #A2DE96
analogous
#AE96DE #D296DE #DE96C6
triadic
#D296DE #DED296 #96DED2
tetradic
#D296DE #DEAE96 #A2DE96 #96C6DE
square
#D296DE #DEAE96 #A2DE96 #96C6DE
split-complementary
#D296DE #C6DE96 #96DEAE
monochromatic
#A83CBE #BE67CF #D296DE #E6C5ED #F5E8F8

Accessibility & contrast

On white

2.29
#D296DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#D296DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D296DE
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D296DE#FFFFFF#000000##000000
##D296DE1.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA7E1
Deuteranopia (green-blind)
#9CADDC
Tritanopia (blue-blind)
#D49EB0
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #d296de;
/* rgb */ color: rgb(210, 150, 222);
/* oklch */ color: oklch(75.5% 0.120 320.7);
Tailwind
colors: {
  custom: {
    50: '#e0b5e8',
    500: '#d296de',
    950: '#000000',
  },
}
SCSS
$custom: #d296de;
$custom-light: #e0b5e8;
$custom-dark: #000000;
JSON
{
  "hex": "#d296de",
  "rgb": {
    "r": 210,
    "g": 150,
    "b": 222
  },
  "hsl": {
    "h": 290,
    "s": 52.174,
    "l": 72.941
  },
  "oklch": {
    "l": 0.75538,
    "c": 0.11958,
    "h": 320.7
  },
  "luminance": 0.40788
}

Semantic roles & 50–950 ramp

primary
#D296DE
secondary
#DFEFDC
accent
#C02640
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #D296DE

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

Preview Lab → · Contrast checker → · Palette generator →

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