#D38CDC#D38CDC

#D38CDC is a light, vivid purple. Relative luminance 0.378; OKLCH L 73.9% C 0.136 H 322.8°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#D38CDC
RGBrgb(211, 140, 220)
HSLhsl(293, 53%, 71%)
HSVhsv(293, 36%, 86%)
CMYKcmyk(4.1%, 36.4%, 0%, 13.7%)
CIE-LABlab(67.85, 39.91, -29.99)
CIE-LCHlch(67.85, 49.92, 323.08°)
OKLaboklab(73.89% 0.108 -0.0819)
OKLCHoklch(73.89% 0.136 322.8)
XYZxyz(49.1589, 37.7741, 72.3979)
Luminance0.3777 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D38CDC #95DC8C
analogous
#AB8CDC #D38CDC #DC8CBD
triadic
#D38CDC #DCD38C #8CDCD3
tetradic
#D38CDC #DCAB8C #95DC8C #8CBDDC
square
#D38CDC #DCAB8C #95DC8C #8CBDDC
split-complementary
#D38CDC #BDDC8C #8CDCAB
monochromatic
#A837B6 #C15DCE #D38CDC #E5BBEA #F6E8F8

Accessibility & contrast

On white

2.45
#D38CDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#D38CDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D38CDC
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D38CDC#FFFFFF#000000##000000
##D38CDC1.002.458.558.55
#FFFFFF2.451.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A0DF
Deuteranopia (green-blind)
#95A8D9
Tritanopia (blue-blind)
#D695AA
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d38cdc;
/* rgb */ color: rgb(211, 140, 220);
/* oklch */ color: oklch(73.9% 0.136 322.8);
Tailwind
colors: {
  custom: {
    50: '#e1afe7',
    500: '#d38cdc',
    950: '#000000',
  },
}
SCSS
$custom: #d38cdc;
$custom-light: #e1afe7;
$custom-dark: #000000;
JSON
{
  "hex": "#d38cdc",
  "rgb": {
    "r": 211,
    "g": 140,
    "b": 220
  },
  "hsl": {
    "h": 293.25,
    "s": 53.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.73891,
    "c": 0.13555,
    "h": 322.8
  },
  "luminance": 0.37772
}

Semantic roles & 50–950 ramp

primary
#D38CDC
secondary
#D9EDD7
accent
#C12536
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #D38CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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