#D38CD5#D38CD5

#D38CD5 is a light, vivid purple. Relative luminance 0.374; OKLCH L 73.6% C 0.128 H 325.8°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#D38CD5
RGBrgb(211, 140, 213)
HSLhsl(298, 46%, 69%)
HSVhsv(298, 34%, 84%)
CMYKcmyk(0.9%, 34.3%, 0%, 16.5%)
CIE-LABlab(67.58, 38.59, -26.52)
CIE-LCHlch(67.58, 46.82, 325.50°)
OKLaboklab(73.6% 0.1063 -0.0721)
OKLCHoklch(73.6% 0.128 325.8)
XYZxyz(48.2512, 37.4110, 67.6173)
Luminance0.3741 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D38CD5 #8ED58C
analogous
#AF8CD5 #D38CD5 #D58CB3
triadic
#D38CD5 #D5D38C #8CD5D3
tetradic
#D38CD5 #D5AF8C #8ED58C #8CB3D5
square
#D38CD5 #D5AF8C #8ED58C #8CB3D5
split-complementary
#D38CD5 #B3D58C #8CD5AF
monochromatic
#A63EA9 #C25FC5 #D38CD5 #E4B9E5 #F5E6F6

Accessibility & contrast

On white

2.48
#D38CD5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#D38CD5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D38CD5
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D38CD5#FFFFFF#000000##000000
##D38CD51.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#869FD8
Deuteranopia (green-blind)
#98A8D3
Tritanopia (blue-blind)
#D793A7
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d38cd5;
/* rgb */ color: rgb(211, 140, 213);
/* oklch */ color: oklch(73.6% 0.128 325.8);
Tailwind
colors: {
  custom: {
    50: '#e1afe2',
    500: '#d38cd5',
    950: '#000000',
  },
}
SCSS
$custom: #d38cd5;
$custom-light: #e1afe2;
$custom-dark: #000000;
JSON
{
  "hex": "#d38cd5",
  "rgb": {
    "r": 211,
    "g": 140,
    "b": 213
  },
  "hsl": {
    "h": 298.356,
    "s": 46.497,
    "l": 69.216
  },
  "oklch": {
    "l": 0.73598,
    "c": 0.12845,
    "h": 325.8
  },
  "luminance": 0.37409
}

Semantic roles & 50–950 ramp

primary
#D38CD5
secondary
#D4E9D4
accent
#BA2C30
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #D38CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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