#D296EB#D296EB

#D296EB is a light, vivid purple. Relative luminance 0.415; OKLCH L 76.1% C 0.134 H 315.6°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#D296EB
RGBrgb(210, 150, 235)
HSLhsl(282, 68%, 75%)
HSVhsv(282, 36%, 92%)
CMYKcmyk(10.6%, 36.2%, 0%, 7.8%)
CIE-LABlab(70.53, 37.19, -34.11)
CIE-LCHlch(70.53, 50.47, 317.48°)
OKLaboklab(76.09% 0.0957 -0.0937)
OKLCHoklch(76.09% 0.134 315.6)
XYZxyz(52.4778, 41.5137, 83.8296)
Luminance0.4151 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D296EB #AFEB96
analogous
#A796EB #D296EB #EB96D9
triadic
#D296EB #EBD296 #96EBD2
tetradic
#D296EB #EBA796 #AFEB96 #96D9EB
square
#D296EB #EBA796 #AFEB96 #96D9EB
split-complementary
#D296EB #D9EB96 #96EBA7
monochromatic
#A62FD7 #BC63E1 #D296EB #E8C9F5 #F4E5FA

Accessibility & contrast

On white

2.26
#D296EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.30
#D296EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D296EB
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D296EB#FFFFFF#000000##000000
##D296EB1.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A9EE
Deuteranopia (green-blind)
#97AEE8
Tritanopia (blue-blind)
#D1A1B6
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d296eb;
/* rgb */ color: rgb(210, 150, 235);
/* oklch */ color: oklch(76.1% 0.134 315.6);
Tailwind
colors: {
  custom: {
    50: '#e1b5f1',
    500: '#d296eb',
    950: '#000000',
  },
}
SCSS
$custom: #d296eb;
$custom-light: #e1b5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d296eb",
  "rgb": {
    "r": 210,
    "g": 150,
    "b": 235
  },
  "hsl": {
    "h": 282.353,
    "s": 68,
    "l": 75.49
  },
  "oklch": {
    "l": 0.76088,
    "c": 0.13396,
    "h": 315.6
  },
  "luminance": 0.41512
}

Semantic roles & 50–950 ramp

primary
#D296EB
secondary
#E1F2D9
accent
#D0164C
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #D296EB

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

Preview Lab → · Contrast checker → · Palette generator →

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