#D296DF#D296DF

#D296DF is a light, vivid purple. Relative luminance 0.408; OKLCH L 75.6% C 0.121 H 320.3°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#D296DF
RGBrgb(210, 150, 223)
HSLhsl(289, 53%, 73%)
HSVhsv(289, 33%, 87%)
CMYKcmyk(5.8%, 32.7%, 0%, 12.5%)
CIE-LABlab(70.07, 34.80, -28.24)
CIE-LCHlch(70.07, 44.82, 320.94°)
OKLaboklab(75.58% 0.0928 -0.0771)
OKLCHoklch(75.58% 0.121 320.3)
XYZxyz(50.8023, 40.8434, 75.0052)
Luminance0.4084 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D296DF #A3DF96
analogous
#AD96DF #D296DF #DF96C7
triadic
#D296DF #DFD296 #96DFD2
tetradic
#D296DF #DFAD96 #A3DF96 #96C7DF
square
#D296DF #DFAD96 #A3DF96 #96C7DF
split-complementary
#D296DF #C7DF96 #96DFAD
monochromatic
#A83BC0 #BE67D1 #D296DF #E6C5ED #F5E8F8

Accessibility & contrast

On white

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

On black

9.17
#D296DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D296DF
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D296DF#FFFFFF#000000##000000
##D296DF1.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA7E2
Deuteranopia (green-blind)
#9CAEDD
Tritanopia (blue-blind)
#D39EB1
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #d296df;
/* rgb */ color: rgb(210, 150, 223);
/* oklch */ color: oklch(75.6% 0.121 320.3);
Tailwind
colors: {
  custom: {
    50: '#e0b5e9',
    500: '#d296df',
    950: '#000000',
  },
}
SCSS
$custom: #d296df;
$custom-light: #e0b5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#d296df",
  "rgb": {
    "r": 210,
    "g": 150,
    "b": 223
  },
  "hsl": {
    "h": 289.315,
    "s": 53.285,
    "l": 73.137
  },
  "oklch": {
    "l": 0.75579,
    "c": 0.12065,
    "h": 320.3
  },
  "luminance": 0.40842
}

Semantic roles & 50–950 ramp

primary
#D296DF
secondary
#DFEFDC
accent
#C12541
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #D296DF

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

Preview Lab → · Contrast checker → · Palette generator →

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