#D38FEF#D38FEF

#D38FEF is a light, vivid purple. Relative luminance 0.397; OKLCH L 75.2% C 0.151 H 315.6°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#D38FEF
RGBrgb(211, 143, 239)
HSLhsl(283, 75%, 75%)
HSVhsv(283, 40%, 94%)
CMYKcmyk(11.7%, 40.2%, 0%, 6.3%)
CIE-LABlab(69.27, 42.07, -38.25)
CIE-LCHlch(69.27, 56.86, 317.72°)
OKLaboklab(75.22% 0.1077 -0.1055)
OKLCHoklch(75.22% 0.151 315.6)
XYZxyz(52.2640, 39.7271, 86.5595)
Luminance0.3973 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D38FEF #ABEF8F
analogous
#A38FEF #D38FEF #EF8FDB
triadic
#D38FEF #EFD38F #8FEFD3
tetradic
#D38FEF #EFA38F #ABEF8F #8FDBEF
square
#D38FEF #EFA38F #ABEF8F #8FDBEF
split-complementary
#D38FEF #DBEF8F #8FEFA3
monochromatic
#A924E0 #BE59E7 #D38FEF #E8C5F7 #F4E4FB

Accessibility & contrast

On white

2.35
#D38FEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#D38FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D38FEF
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D38FEF#FFFFFF#000000##000000
##D38FEF1.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA5F3
Deuteranopia (green-blind)
#90ABEC
Tritanopia (blue-blind)
#D29CB4
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d38fef;
/* rgb */ color: rgb(211, 143, 239);
/* oklch */ color: oklch(75.2% 0.151 315.6);
Tailwind
colors: {
  custom: {
    50: '#e2b1f4',
    500: '#d38fef',
    950: '#000000',
  },
}
SCSS
$custom: #d38fef;
$custom-light: #e2b1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d38fef",
  "rgb": {
    "r": 211,
    "g": 143,
    "b": 239
  },
  "hsl": {
    "h": 282.5,
    "s": 75,
    "l": 74.902
  },
  "oklch": {
    "l": 0.75216,
    "c": 0.1508,
    "h": 315.6
  },
  "luminance": 0.39726
}

Semantic roles & 50–950 ramp

primary
#D38FEF
secondary
#E0F3D8
accent
#D70E49
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#151117
muted
#848085

Preview Lab

Preview with #D38FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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