#D296ED#D296ED

#D296ED is a light, vivid purple. Relative luminance 0.416; OKLCH L 76.2% C 0.136 H 314.9°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#D296ED
RGBrgb(210, 150, 237)
HSLhsl(281, 71%, 76%)
HSVhsv(281, 37%, 93%)
CMYKcmyk(11.4%, 36.7%, 0%, 7.1%)
CIE-LABlab(70.61, 37.60, -35.08)
CIE-LCHlch(70.61, 51.42, 316.99°)
OKLaboklab(76.18% 0.0962 -0.0965)
OKLCHoklch(76.18% 0.136 314.9)
XYZxyz(52.7684, 41.6299, 85.3599)
Luminance0.4163 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D296ED #B1ED96
analogous
#A696ED #D296ED #ED96DD
triadic
#D296ED #EDD296 #96EDD2
tetradic
#D296ED #EDA696 #B1ED96 #96DDED
square
#D296ED #EDA696 #B1ED96 #96DDED
split-complementary
#D296ED #DDED96 #96EDA6
monochromatic
#A52EDB #BC62E4 #D296ED #E8CAF6 #F4E5FB

Accessibility & contrast

On white

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

On black

9.33
#D296ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D296ED
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D296ED#FFFFFF#000000##000000
##D296ED1.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A9F0
Deuteranopia (green-blind)
#96AEEA
Tritanopia (blue-blind)
#D1A1B7
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #d296ed;
/* rgb */ color: rgb(210, 150, 237);
/* oklch */ color: oklch(76.2% 0.136 314.9);
Tailwind
colors: {
  custom: {
    50: '#e1b5f3',
    500: '#d296ed',
    950: '#000000',
  },
}
SCSS
$custom: #d296ed;
$custom-light: #e1b5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d296ed",
  "rgb": {
    "r": 210,
    "g": 150,
    "b": 237
  },
  "hsl": {
    "h": 281.379,
    "s": 70.732,
    "l": 75.882
  },
  "oklch": {
    "l": 0.76176,
    "c": 0.13623,
    "h": 314.9
  },
  "luminance": 0.41629
}

Semantic roles & 50–950 ramp

primary
#D296ED
secondary
#E1F2D9
accent
#D3134E
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #D296ED

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

Preview Lab → · Contrast checker → · Palette generator →

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