#D95EC5#D95EC5

#D95EC5 is a light, vivid purple. Relative luminance 0.268; OKLCH L 67.0% C 0.194 H 334.3°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#D95EC5
RGBrgb(217, 94, 197)
HSLhsl(310, 62%, 61%)
HSVhsv(310, 57%, 85%)
CMYKcmyk(0%, 56.7%, 9.2%, 14.9%)
CIE-LABlab(58.78, 60.60, -31.05)
CIE-LCHlch(58.78, 68.09, 332.87°)
OKLaboklab(66.98% 0.1752 -0.0845)
OKLCHoklch(66.98% 0.194 334.3)
XYZxyz(42.6962, 26.7915, 55.7350)
Luminance0.2679 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D95EC5 #5ED972
analogous
#AF5ED9 #D95EC5 #D95E87
triadic
#D95EC5 #C5D95E #5EC5D9
tetradic
#D95EC5 #D9AF5E #5ED972 #5E87D9
square
#D95EC5 #D9AF5E #5ED972 #5E87D9
split-complementary
#D95EC5 #87D95E #5ED9AF
monochromatic
#992486 #CA30B1 #D95EC5 #E590D7 #F0C1E9

Accessibility & contrast

On white

3.30
#D95EC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#D95EC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D95EC5
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D95EC5#FFFFFF#000000##000000
##D95EC51.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D82C8
Deuteranopia (green-blind)
#8294C2
Tritanopia (blue-blind)
#E26689
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d95ec5;
/* rgb */ color: rgb(217, 94, 197);
/* oklch */ color: oklch(67.0% 0.194 334.3);
Tailwind
colors: {
  custom: {
    50: '#e892d7',
    500: '#d95ec5',
    950: '#000000',
  },
}
SCSS
$custom: #d95ec5;
$custom-light: #e892d7;
$custom-dark: #000000;
JSON
{
  "hex": "#d95ec5",
  "rgb": {
    "r": 217,
    "g": 94,
    "b": 197
  },
  "hsl": {
    "h": 309.756,
    "s": 61.809,
    "l": 60.98
  },
  "oklch": {
    "l": 0.66979,
    "c": 0.19448,
    "h": 334.3
  },
  "luminance": 0.26788
}

Semantic roles & 50–950 ramp

primary
#D95EC5
secondary
#B2E1BA
accent
#CA381C
background
#FEF9FD
surface
#FDF2FA
border
#D5CCD3
text
#160D14
muted
#847E83

Preview Lab

Preview with #D95EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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