#D38EE8#D38EE8

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

Color values

HEX#D38EE8
RGBrgb(211, 142, 232)
HSLhsl(286, 66%, 73%)
HSVhsv(286, 39%, 91%)
CMYKcmyk(9.1%, 38.8%, 0%, 9%)
CIE-LABlab(68.77, 41.19, -35.19)
CIE-LCHlch(68.77, 54.18, 319.49°)
OKLaboklab(74.74% 0.1077 -0.0968)
OKLCHoklch(74.74% 0.145 318.1)
XYZxyz(51.1004, 39.0225, 81.1685)
Luminance0.3902 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D38EE8 #A3E88E
analogous
#A68EE8 #D38EE8 #E88ED0
triadic
#D38EE8 #E8D38E #8EE8D3
tetradic
#D38EE8 #E8A68E #A3E88E #8ED0E8
square
#D38EE8 #E8A68E #A3E88E #8ED0E8
split-complementary
#D38EE8 #D0E88E #8EE8A6
monochromatic
#AA2BD1 #BF5BDE #D38EE8 #E7C1F2 #F5E6FA

Accessibility & contrast

On white

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

On black

8.80
#D38EE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D38EE8
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D38EE8#FFFFFF#000000##000000
##D38EE81.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A3EB
Deuteranopia (green-blind)
#92AAE5
Tritanopia (blue-blind)
#D399B0
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d38ee8;
/* rgb */ color: rgb(211, 142, 232);
/* oklch */ color: oklch(74.7% 0.145 318.1);
Tailwind
colors: {
  custom: {
    50: '#e2b0ef',
    500: '#d38ee8',
    950: '#000000',
  },
}
SCSS
$custom: #d38ee8;
$custom-light: #e2b0ef;
$custom-dark: #000000;
JSON
{
  "hex": "#d38ee8",
  "rgb": {
    "r": 211,
    "g": 142,
    "b": 232
  },
  "hsl": {
    "h": 286,
    "s": 66.176,
    "l": 73.333
  },
  "oklch": {
    "l": 0.74738,
    "c": 0.14481,
    "h": 318.1
  },
  "luminance": 0.39021
}

Semantic roles & 50–950 ramp

primary
#D38EE8
secondary
#DFF1DA
accent
#CE1742
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151116
muted
#838084

Preview Lab

Preview with #D38EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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