#D296E2#D296E2

#D296E2 is a light, vivid purple. Relative luminance 0.410; OKLCH L 75.7% C 0.124 H 319.0°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#D296E2
RGBrgb(210, 150, 226)
HSLhsl(287, 57%, 74%)
HSVhsv(287, 34%, 89%)
CMYKcmyk(7.1%, 33.6%, 0%, 11.4%)
CIE-LABlab(70.18, 35.39, -29.72)
CIE-LCHlch(70.18, 46.21, 319.98°)
OKLaboklab(75.7% 0.0936 -0.0812)
OKLCHoklch(75.7% 0.124 319)
XYZxyz(51.2103, 41.0067, 77.1542)
Luminance0.4101 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D296E2 #A6E296
analogous
#AC96E2 #D296E2 #E296CC
triadic
#D296E2 #E2D296 #96E2D2
tetradic
#D296E2 #E2AC96 #A6E296 #96CCE2
square
#D296E2 #E2AC96 #A6E296 #96CCE2
split-complementary
#D296E2 #CCE296 #96E2AC
monochromatic
#A837C7 #BD66D5 #D296E2 #E7C6EF #F5E7F8

Accessibility & contrast

On white

2.28
#D296E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.20
#D296E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D296E2
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D296E2#FFFFFF#000000##000000
##D296E21.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA8E5
Deuteranopia (green-blind)
#9BAEE0
Tritanopia (blue-blind)
#D39FB2
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d296e2;
/* rgb */ color: rgb(210, 150, 226);
/* oklch */ color: oklch(75.7% 0.124 319.0);
Tailwind
colors: {
  custom: {
    50: '#e1b5eb',
    500: '#d296e2',
    950: '#000000',
  },
}
SCSS
$custom: #d296e2;
$custom-light: #e1b5eb;
$custom-dark: #000000;
JSON
{
  "hex": "#d296e2",
  "rgb": {
    "r": 210,
    "g": 150,
    "b": 226
  },
  "hsl": {
    "h": 287.368,
    "s": 56.716,
    "l": 73.725
  },
  "oklch": {
    "l": 0.75704,
    "c": 0.12393,
    "h": 319
  },
  "luminance": 0.41005
}

Semantic roles & 50–950 ramp

primary
#D296E2
secondary
#E0F0DB
accent
#C42144
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #D296E2

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

Preview Lab → · Contrast checker → · Palette generator →

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