#D38DF5#D38DF5

#D38DF5 is a light, vivid purple. Relative luminance 0.395; OKLCH L 75.2% C 0.161 H 314.0°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#D38DF5
RGBrgb(211, 141, 245)
HSLhsl(280, 84%, 76%)
HSVhsv(280, 42%, 96%)
CMYKcmyk(13.9%, 42.4%, 0%, 3.9%)
CIE-LABlab(69.11, 44.36, -41.80)
CIE-LCHlch(69.11, 60.95, 316.71°)
OKLaboklab(75.17% 0.1117 -0.1157)
OKLCHoklch(75.17% 0.161 314)
XYZxyz(52.8676, 39.4924, 91.2063)
Luminance0.3949 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D38DF5 #AFF58D
analogous
#9F8DF5 #D38DF5 #F58DE3
triadic
#D38DF5 #F5D38D #8DF5D3
tetradic
#D38DF5 #F59F8D #AFF58D #8DE3F5
square
#D38DF5 #F59F8D #AFF58D #8DE3F5
split-complementary
#D38DF5 #E3F58D #8DF59F
monochromatic
#A81CEB #BD55F0 #D38DF5 #E9C5FA #F4E3FD

Accessibility & contrast

On white

2.36
#D38DF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#D38DF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D38DF5
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D38DF5#FFFFFF#000000##000000
##D38DF51.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A5F9
Deuteranopia (green-blind)
#8CABF2
Tritanopia (blue-blind)
#D19CB5
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d38df5;
/* rgb */ color: rgb(211, 141, 245);
/* oklch */ color: oklch(75.2% 0.161 314.0);
Tailwind
colors: {
  custom: {
    50: '#e2b0f9',
    500: '#d38df5',
    950: '#000000',
  },
}
SCSS
$custom: #d38df5;
$custom-light: #e2b0f9;
$custom-dark: #000000;
JSON
{
  "hex": "#d38df5",
  "rgb": {
    "r": 211,
    "g": 141,
    "b": 245
  },
  "hsl": {
    "h": 280.385,
    "s": 83.871,
    "l": 75.686
  },
  "oklch": {
    "l": 0.75174,
    "c": 0.16079,
    "h": 314
  },
  "luminance": 0.39491
}

Semantic roles & 50–950 ramp

primary
#D38DF5
secondary
#E0F4D7
accent
#E0054D
background
#FEFAFF
surface
#FCF5FF
border
#D5CFD7
text
#161017
muted
#847F85

Preview Lab

Preview with #D38DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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