#D926DD#D926DD

#D926DD is a light, highly saturated purple. Relative luminance 0.214; OKLCH L 63.4% C 0.274 H 327.2°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#D926DD
RGBrgb(217, 38, 221)
HSLhsl(299, 73%, 51%)
HSVhsv(299, 83%, 87%)
CMYKcmyk(1.8%, 82.8%, 0%, 13.3%)
CIE-LABlab(53.34, 83.03, -53.29)
CIE-LCHlch(53.34, 98.66, 327.31°)
OKLaboklab(63.44% 0.2299 -0.1482)
OKLCHoklch(63.44% 0.274 327.2)
XYZxyz(42.3589, 21.3616, 70.2848)
Luminance0.2136 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D926DD #2ADD26
analogous
#7E26DD #D926DD #DD2685
triadic
#D926DD #DDD926 #26DDD9
tetradic
#D926DD #DD7E26 #2ADD26 #2685DD
square
#D926DD #DD7E26 #2ADD26 #2685DD
split-complementary
#D926DD #85DD26 #26DD7E
monochromatic
#741376 #A81BAB #D926DD #E25BE5 #EC90EE

Accessibility & contrast

On white

3.98
#D926DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#D926DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D926DD
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D926DD#FFFFFF#000000##000000
##D926DD1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071E2
Deuteranopia (green-blind)
#5C87D9
Tritanopia (blue-blind)
#DF4B85
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d926dd;
/* rgb */ color: rgb(217, 38, 221);
/* oklch */ color: oklch(63.4% 0.274 327.2);
Tailwind
colors: {
  custom: {
    50: '#e97ae8',
    500: '#d926dd',
    950: '#000000',
  },
}
SCSS
$custom: #d926dd;
$custom-light: #e97ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#d926dd",
  "rgb": {
    "r": 217,
    "g": 38,
    "b": 221
  },
  "hsl": {
    "h": 298.689,
    "s": 72.908,
    "l": 50.784
  },
  "oklch": {
    "l": 0.63442,
    "c": 0.27358,
    "h": 327.2
  },
  "luminance": 0.21358
}

Semantic roles & 50–950 ramp

primary
#D926DD
secondary
#89D887
accent
#F0383C
background
#FEF8FE
surface
#FDEFFD
border
#D5CAD5
text
#170B16
muted
#857C84

Preview Lab

Preview with #D926DD

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

Preview Lab → · Contrast checker → · Palette generator →

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