#D296EF#D296EF

#D296EF is a light, vivid purple. Relative luminance 0.417; OKLCH L 76.3% C 0.139 H 314.2°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#D296EF
RGBrgb(210, 150, 239)
HSLhsl(280, 74%, 76%)
HSVhsv(280, 37%, 94%)
CMYKcmyk(12.1%, 37.2%, 0%, 6.3%)
CIE-LABlab(70.70, 38.01, -36.05)
CIE-LCHlch(70.70, 52.39, 316.52°)
OKLaboklab(76.26% 0.0966 -0.0993)
OKLCHoklch(76.26% 0.139 314.2)
XYZxyz(53.0622, 41.7474, 86.9074)
Luminance0.4175 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D296EF #B3EF96
analogous
#A696EF #D296EF #EF96E0
triadic
#D296EF #EFD296 #96EFD2
tetradic
#D296EF #EFA696 #B3EF96 #96E0EF
square
#D296EF #EFA696 #B3EF96 #96E0EF
split-complementary
#D296EF #E0EF96 #96EFA6
monochromatic
#A42CDF #BB61E7 #D296EF #E9CBF7 #F4E4FB

Accessibility & contrast

On white

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

On black

9.35
#D296EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D296EF
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D296EF#FFFFFF#000000##000000
##D296EF1.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A9F2
Deuteranopia (green-blind)
#95AFEC
Tritanopia (blue-blind)
#D0A2B7
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #d296ef;
/* rgb */ color: rgb(210, 150, 239);
/* oklch */ color: oklch(76.3% 0.139 314.2);
Tailwind
colors: {
  custom: {
    50: '#e1b6f4',
    500: '#d296ef',
    950: '#000000',
  },
}
SCSS
$custom: #d296ef;
$custom-light: #e1b6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d296ef",
  "rgb": {
    "r": 210,
    "g": 150,
    "b": 239
  },
  "hsl": {
    "h": 280.449,
    "s": 73.554,
    "l": 76.275
  },
  "oklch": {
    "l": 0.76264,
    "c": 0.13851,
    "h": 314.2
  },
  "luminance": 0.41746
}

Semantic roles & 50–950 ramp

primary
#D296EF
secondary
#E1F3D8
accent
#D61050
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #D296EF

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

Preview Lab → · Contrast checker → · Palette generator →

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