#D638D9#D638D9

#D638D9 is a light, highly saturated purple. Relative luminance 0.221; OKLCH L 63.9% C 0.255 H 327.2°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#D638D9
RGBrgb(214, 56, 217)
HSLhsl(299, 68%, 54%)
HSVhsv(299, 74%, 85%)
CMYKcmyk(1.4%, 74.2%, 0%, 14.9%)
CIE-LABlab(54.17, 77.37, -49.72)
CIE-LCHlch(54.17, 91.97, 327.27°)
OKLaboklab(63.87% 0.2145 -0.138)
OKLCHoklch(63.87% 0.255 327.2)
XYZxyz(41.6695, 22.1372, 67.7104)
Luminance0.2213 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D638D9 #3BD938
analogous
#8538D9 #D638D9 #D9388B
triadic
#D638D9 #D9D638 #38D9D6
tetradic
#D638D9 #D98538 #3BD938 #388BD9
square
#D638D9 #D98538 #3BD938 #388BD9
split-complementary
#D638D9 #8BD938 #38D985
monochromatic
#7D187E #AF22B2 #D638D9 #E16BE3 #EB9FED

Accessibility & contrast

On white

3.87
#D638D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#D638D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D638D9
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D638D9#FFFFFF#000000##000000
##D638D91.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0675DD
Deuteranopia (green-blind)
#6288D5
Tritanopia (blue-blind)
#DC5387
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d638d9;
/* rgb */ color: rgb(214, 56, 217);
/* oklch */ color: oklch(63.9% 0.255 327.2);
Tailwind
colors: {
  custom: {
    50: '#e77fe5',
    500: '#d638d9',
    950: '#000000',
  },
}
SCSS
$custom: #d638d9;
$custom-light: #e77fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#d638d9",
  "rgb": {
    "r": 214,
    "g": 56,
    "b": 217
  },
  "hsl": {
    "h": 298.882,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.63865,
    "c": 0.2551,
    "h": 327.2
  },
  "luminance": 0.22134
}

Semantic roles & 50–950 ramp

primary
#D638D9
secondary
#95D994
accent
#EB3D40
background
#FEF8FE
surface
#FDEFFC
border
#D5CAD5
text
#170B16
muted
#857C84

Preview Lab

Preview with #D638D9

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

Preview Lab → · Contrast checker → · Palette generator →

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