#D38EE7#D38EE7

#D38EE7 is a light, vivid purple. Relative luminance 0.390; OKLCH L 74.7% C 0.144 H 318.4°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#D38EE7
RGBrgb(211, 142, 231)
HSLhsl(287, 65%, 73%)
HSVhsv(287, 39%, 91%)
CMYKcmyk(8.7%, 38.5%, 0%, 9.4%)
CIE-LABlab(68.73, 40.99, -34.71)
CIE-LCHlch(68.73, 53.71, 319.74°)
OKLaboklab(74.69% 0.1075 -0.0954)
OKLCHoklch(74.69% 0.144 318.4)
XYZxyz(50.9588, 38.9659, 80.4226)
Luminance0.3896 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D38EE7 #A2E78E
analogous
#A68EE7 #D38EE7 #E78ECE
triadic
#D38EE7 #E7D38E #8EE7D3
tetradic
#D38EE7 #E7A68E #A2E78E #8ECEE7
square
#D38EE7 #E7A68E #A2E78E #8ECEE7
split-complementary
#D38EE7 #CEE78E #8EE7A6
monochromatic
#AA2CCF #BF5CDC #D38EE7 #E7C0F2 #F5E6FA

Accessibility & contrast

On white

2.39
#D38EE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#D38EE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D38EE7
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D38EE7#FFFFFF#000000##000000
##D38EE71.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A3EA
Deuteranopia (green-blind)
#93AAE4
Tritanopia (blue-blind)
#D399B0
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d38ee7;
/* rgb */ color: rgb(211, 142, 231);
/* oklch */ color: oklch(74.7% 0.144 318.4);
Tailwind
colors: {
  custom: {
    50: '#e2b0ef',
    500: '#d38ee7',
    950: '#000000',
  },
}
SCSS
$custom: #d38ee7;
$custom-light: #e2b0ef;
$custom-dark: #000000;
JSON
{
  "hex": "#d38ee7",
  "rgb": {
    "r": 211,
    "g": 142,
    "b": 231
  },
  "hsl": {
    "h": 286.517,
    "s": 64.964,
    "l": 73.137
  },
  "oklch": {
    "l": 0.74694,
    "c": 0.14373,
    "h": 318.4
  },
  "luminance": 0.38964
}

Semantic roles & 50–950 ramp

primary
#D38EE7
secondary
#DFF1DA
accent
#CD1941
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151116
muted
#838084

Preview Lab

Preview with #D38EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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