#D38CD3#D38CD3

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

Color values

HEX#D38CD3
RGBrgb(211, 140, 211)
HSLhsl(300, 45%, 69%)
HSVhsv(300, 34%, 83%)
CMYKcmyk(0%, 33.6%, 0%, 17.3%)
CIE-LABlab(67.51, 38.22, -25.53)
CIE-LCHlch(67.51, 45.96, 326.26°)
OKLaboklab(73.52% 0.1058 -0.0693)
OKLCHoklch(73.52% 0.126 326.8)
XYZxyz(47.9989, 37.3101, 66.2886)
Luminance0.3731 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D38CD3 #8CD38C
analogous
#B08CD3 #D38CD3 #D38CB0
triadic
#D38CD3 #D3D38C #8CD3D3
tetradic
#D38CD3 #D3B08C #8CD38C #8CB0D3
square
#D38CD3 #D3B08C #8CD38C #8CB0D3
split-complementary
#D38CD3 #B0D38C #8CD3B0
monochromatic
#A53FA5 #C260C2 #D38CD3 #E4B8E4 #F5E5F5

Accessibility & contrast

On white

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

On black

8.46
#D38CD3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D38CD3
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D38CD3#FFFFFF#000000##000000
##D38CD31.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d38cd3;
/* rgb */ color: rgb(211, 140, 211);
/* oklch */ color: oklch(73.5% 0.126 326.8);
Tailwind
colors: {
  custom: {
    50: '#e1afe0',
    500: '#d38cd3',
    950: '#000000',
  },
}
SCSS
$custom: #d38cd3;
$custom-light: #e1afe0;
$custom-dark: #000000;
JSON
{
  "hex": "#d38cd3",
  "rgb": {
    "r": 211,
    "g": 140,
    "b": 211
  },
  "hsl": {
    "h": 300,
    "s": 44.654,
    "l": 68.824
  },
  "oklch": {
    "l": 0.73517,
    "c": 0.12646,
    "h": 326.8
  },
  "luminance": 0.37308
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D38CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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