#D38CD2#D38CD2

#D38CD2 is a light, vivid purple. Relative luminance 0.373; OKLCH L 73.5% C 0.125 H 327.2°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#D38CD2
RGBrgb(211, 140, 210)
HSLhsl(301, 45%, 69%)
HSVhsv(301, 34%, 83%)
CMYKcmyk(0%, 33.6%, 0.5%, 17.3%)
CIE-LABlab(67.47, 38.03, -25.03)
CIE-LCHlch(67.47, 45.53, 326.65°)
OKLaboklab(73.48% 0.1055 -0.0679)
OKLCHoklch(73.48% 0.125 327.2)
XYZxyz(47.8739, 37.2601, 65.6304)
Luminance0.3726 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D38CD2 #8CD38D
analogous
#B18CD3 #D38CD2 #D38CAF
triadic
#D38CD2 #D2D38C #8CD2D3
tetradic
#D38CD2 #D3B18C #8CD38D #8CAFD3
square
#D38CD2 #D3B18C #8CD38D #8CAFD3
split-complementary
#D38CD2 #AFD38C #8CD3B1
monochromatic
#A53FA4 #C260C1 #D38CD2 #E4B8E3 #F5E5F5

Accessibility & contrast

On white

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

On black

8.45
#D38CD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D38CD2
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D38CD2#FFFFFF#000000##000000
##D38CD21.002.488.458.45
#FFFFFF2.481.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#879FD5
Deuteranopia (green-blind)
#99A8D0
Tritanopia (blue-blind)
#D792A6
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d38cd2;
/* rgb */ color: rgb(211, 140, 210);
/* oklch */ color: oklch(73.5% 0.125 327.2);
Tailwind
colors: {
  custom: {
    50: '#e1afe0',
    500: '#d38cd2',
    950: '#000000',
  },
}
SCSS
$custom: #d38cd2;
$custom-light: #e1afe0;
$custom-dark: #000000;
JSON
{
  "hex": "#d38cd2",
  "rgb": {
    "r": 211,
    "g": 140,
    "b": 210
  },
  "hsl": {
    "h": 300.845,
    "s": 44.654,
    "l": 68.824
  },
  "oklch": {
    "l": 0.73476,
    "c": 0.12549,
    "h": 327.2
  },
  "luminance": 0.37258
}

Semantic roles & 50–950 ramp

primary
#D38CD2
secondary
#D3E8D3
accent
#B8302E
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #D38CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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