#D38EE2#D38EE2

#D38EE2 is a light, vivid purple. Relative luminance 0.387; OKLCH L 74.5% C 0.138 H 320.3°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#D38EE2
RGBrgb(211, 142, 226)
HSLhsl(289, 59%, 72%)
HSVhsv(289, 37%, 89%)
CMYKcmyk(6.6%, 37.2%, 0%, 11.4%)
CIE-LABlab(68.52, 40.00, -32.27)
CIE-LCHlch(68.52, 51.40, 321.11°)
OKLaboklab(74.48% 0.1064 -0.0884)
OKLCHoklch(74.48% 0.138 320.3)
XYZxyz(50.2627, 38.6874, 76.7565)
Luminance0.3869 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D38EE2 #9DE28E
analogous
#A98EE2 #D38EE2 #E28EC7
triadic
#D38EE2 #E2D38E #8EE2D3
tetradic
#D38EE2 #E2A98E #9DE28E #8EC7E2
square
#D38EE2 #E2A98E #9DE28E #8EC7E2
split-complementary
#D38EE2 #C7E28E #8EE2A9
monochromatic
#A932C3 #C05DD6 #D38EE2 #E6BFEE #F6E7F9

Accessibility & contrast

On white

2.40
#D38EE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#D38EE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D38EE2
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D38EE2#FFFFFF#000000##000000
##D38EE21.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A2E5
Deuteranopia (green-blind)
#95AADF
Tritanopia (blue-blind)
#D498AE
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d38ee2;
/* rgb */ color: rgb(211, 142, 226);
/* oklch */ color: oklch(74.5% 0.138 320.3);
Tailwind
colors: {
  custom: {
    50: '#e2b0eb',
    500: '#d38ee2',
    950: '#000000',
  },
}
SCSS
$custom: #d38ee2;
$custom-light: #e2b0eb;
$custom-dark: #000000;
JSON
{
  "hex": "#d38ee2",
  "rgb": {
    "r": 211,
    "g": 142,
    "b": 226
  },
  "hsl": {
    "h": 289.286,
    "s": 59.155,
    "l": 72.157
  },
  "oklch": {
    "l": 0.74475,
    "c": 0.13837,
    "h": 320.3
  },
  "luminance": 0.38686
}

Semantic roles & 50–950 ramp

primary
#D38EE2
secondary
#DFF0DB
accent
#C71F3D
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151016
muted
#837F84

Preview Lab

Preview with #D38EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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