#D296EE#D296EE

#D296EE is a light, vivid purple. Relative luminance 0.417; OKLCH L 76.2% C 0.137 H 314.6°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#D296EE
RGBrgb(210, 150, 238)
HSLhsl(281, 72%, 76%)
HSVhsv(281, 37%, 93%)
CMYKcmyk(11.8%, 37%, 0%, 6.7%)
CIE-LABlab(70.66, 37.81, -35.56)
CIE-LCHlch(70.66, 51.90, 316.75°)
OKLaboklab(76.22% 0.0964 -0.0979)
OKLCHoklch(76.22% 0.137 314.6)
XYZxyz(52.9149, 41.6885, 86.1315)
Luminance0.4169 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D296EE #B2EE96
analogous
#A696EE #D296EE #EE96DE
triadic
#D296EE #EED296 #96EED2
tetradic
#D296EE #EEA696 #B2EE96 #96DEEE
square
#D296EE #EEA696 #B2EE96 #96DEEE
split-complementary
#D296EE #DEEE96 #96EEA6
monochromatic
#A52DDD #BB61E5 #D296EE #E9CBF7 #F4E5FB

Accessibility & contrast

On white

2.25
#D296EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.34
#D296EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D296EE
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D296EE#FFFFFF#000000##000000
##D296EE1.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A9F1
Deuteranopia (green-blind)
#96AFEB
Tritanopia (blue-blind)
#D0A2B7
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #d296ee;
/* rgb */ color: rgb(210, 150, 238);
/* oklch */ color: oklch(76.2% 0.137 314.6);
Tailwind
colors: {
  custom: {
    50: '#e1b6f4',
    500: '#d296ee',
    950: '#000000',
  },
}
SCSS
$custom: #d296ee;
$custom-light: #e1b6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d296ee",
  "rgb": {
    "r": 210,
    "g": 150,
    "b": 238
  },
  "hsl": {
    "h": 280.909,
    "s": 72.131,
    "l": 76.078
  },
  "oklch": {
    "l": 0.7622,
    "c": 0.13737,
    "h": 314.6
  },
  "luminance": 0.41687
}

Semantic roles & 50–950 ramp

primary
#D296EE
secondary
#E1F2D9
accent
#D4114F
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #D296EE

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

Preview Lab → · Contrast checker → · Palette generator →

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