#D538D9#D538D9

#D538D9 is a light, highly saturated purple. Relative luminance 0.220; OKLCH L 63.7% C 0.255 H 327.0°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#D538D9
RGBrgb(213, 56, 217)
HSLhsl(299, 68%, 54%)
HSVhsv(299, 74%, 85%)
CMYKcmyk(1.8%, 74.2%, 0%, 14.9%)
CIE-LABlab(54.01, 77.17, -49.99)
CIE-LCHlch(54.01, 91.94, 327.07°)
OKLaboklab(63.72% 0.2135 -0.1388)
OKLCHoklch(63.72% 0.255 327)
XYZxyz(41.3785, 21.9872, 67.6967)
Luminance0.2198 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D538D9 #3CD938
analogous
#8438D9 #D538D9 #D9388C
triadic
#D538D9 #D9D538 #38D9D5
tetradic
#D538D9 #D98438 #3CD938 #388CD9
square
#D538D9 #D98438 #3CD938 #388CD9
split-complementary
#D538D9 #8CD938 #38D984
monochromatic
#7C187E #AE22B2 #D538D9 #E06BE3 #EB9FED

Accessibility & contrast

On white

3.89
#D538D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#D538D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D538D9
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D538D9#FFFFFF#000000##000000
##D538D91.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0374DD
Deuteranopia (green-blind)
#6188D5
Tritanopia (blue-blind)
#DB5387
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d538d9;
/* rgb */ color: rgb(213, 56, 217);
/* oklch */ color: oklch(63.7% 0.255 327.0);
Tailwind
colors: {
  custom: {
    50: '#e67fe5',
    500: '#d538d9',
    950: '#000000',
  },
}
SCSS
$custom: #d538d9;
$custom-light: #e67fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#d538d9",
  "rgb": {
    "r": 213,
    "g": 56,
    "b": 217
  },
  "hsl": {
    "h": 298.509,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.63722,
    "c": 0.25466,
    "h": 327
  },
  "luminance": 0.21984
}

Semantic roles & 50–950 ramp

primary
#D538D9
secondary
#96D994
accent
#EB3D41
background
#FEF8FE
surface
#FDEFFC
border
#D5CAD5
text
#160B16
muted
#847C84

Preview Lab

Preview with #D538D9

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

Preview Lab → · Contrast checker → · Palette generator →

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