#D838C4#D838C4

#D838C4 is a light, highly saturated purple. Relative luminance 0.214; OKLCH L 63.0% C 0.241 H 333.7°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#D838C4
RGBrgb(216, 56, 196)
HSLhsl(308, 67%, 53%)
HSVhsv(308, 74%, 85%)
CMYKcmyk(0%, 74.1%, 9.3%, 15.3%)
CIE-LABlab(53.40, 74.60, -38.90)
CIE-LCHlch(53.40, 84.13, 332.46°)
OKLaboklab(63.02% 0.2162 -0.1066)
OKLCHoklch(63.02% 0.241 333.7)
XYZxyz(39.6972, 21.4162, 54.2569)
Luminance0.2141 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D838C4 #38D84C
analogous
#9C38D8 #D838C4 #D83874
triadic
#D838C4 #C4D838 #38C4D8
tetradic
#D838C4 #D89C38 #38D84C #3874D8
square
#D838C4 #D89C38 #38D84C #3874D8
split-complementary
#D838C4 #74D838 #38D89C
monochromatic
#7D1971 #B0239F #D838C4 #E26BD3 #EC9EE2

Accessibility & contrast

On white

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

On black

5.28
#D838C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D838C4
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D838C4#FFFFFF#000000##000000
##D838C41.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3371C8
Deuteranopia (green-blind)
#6F88C0
Tritanopia (blue-blind)
#E2487B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d838c4;
/* rgb */ color: rgb(216, 56, 196);
/* oklch */ color: oklch(63.0% 0.241 333.7);
Tailwind
colors: {
  custom: {
    50: '#e87fd6',
    500: '#d838c4',
    950: '#000000',
  },
}
SCSS
$custom: #d838c4;
$custom-light: #e87fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#d838c4",
  "rgb": {
    "r": 216,
    "g": 56,
    "b": 196
  },
  "hsl": {
    "h": 307.5,
    "s": 67.227,
    "l": 53.333
  },
  "oklch": {
    "l": 0.63023,
    "c": 0.24108,
    "h": 333.7
  },
  "luminance": 0.21413
}

Semantic roles & 50–950 ramp

primary
#D838C4
secondary
#93D89C
accent
#EA533E
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#170B14
muted
#857C83

Preview Lab

Preview with #D838C4

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

Preview Lab → · Contrast checker → · Palette generator →

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