#D296EC#D296EC

#D296EC is a light, vivid purple. Relative luminance 0.416; OKLCH L 76.1% C 0.135 H 315.2°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#D296EC
RGBrgb(210, 150, 236)
HSLhsl(282, 69%, 76%)
HSVhsv(282, 36%, 93%)
CMYKcmyk(11%, 36.4%, 0%, 7.5%)
CIE-LABlab(70.57, 37.40, -34.59)
CIE-LCHlch(70.57, 50.94, 317.23°)
OKLaboklab(76.13% 0.0959 -0.0951)
OKLCHoklch(76.13% 0.135 315.2)
XYZxyz(52.6227, 41.5716, 84.5926)
Luminance0.4157 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D296EC #B0EC96
analogous
#A796EC #D296EC #EC96DB
triadic
#D296EC #ECD296 #96ECD2
tetradic
#D296EC #ECA796 #B0EC96 #96DBEC
square
#D296EC #ECA796 #B0EC96 #96DBEC
split-complementary
#D296EC #DBEC96 #96ECA7
monochromatic
#A62ED9 #BC62E3 #D296EC #E8CAF5 #F4E5FA

Accessibility & contrast

On white

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

On black

9.31
#D296EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D296EC
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D296EC#FFFFFF#000000##000000
##D296EC1.002.259.319.31
#FFFFFF2.251.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A9EF
Deuteranopia (green-blind)
#97AEE9
Tritanopia (blue-blind)
#D1A1B6
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #d296ec;
/* rgb */ color: rgb(210, 150, 236);
/* oklch */ color: oklch(76.1% 0.135 315.2);
Tailwind
colors: {
  custom: {
    50: '#e1b5f2',
    500: '#d296ec',
    950: '#000000',
  },
}
SCSS
$custom: #d296ec;
$custom-light: #e1b5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d296ec",
  "rgb": {
    "r": 210,
    "g": 150,
    "b": 236
  },
  "hsl": {
    "h": 281.86,
    "s": 69.355,
    "l": 75.686
  },
  "oklch": {
    "l": 0.76132,
    "c": 0.1351,
    "h": 315.2
  },
  "luminance": 0.4157
}

Semantic roles & 50–950 ramp

primary
#D296EC
secondary
#E1F2D9
accent
#D1144D
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #D296EC

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

Preview Lab → · Contrast checker → · Palette generator →

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