#D38DF2#D38DF2

#D38DF2 is a light, vivid purple. Relative luminance 0.393; OKLCH L 75.0% C 0.157 H 314.9°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#D38DF2
RGBrgb(211, 141, 242)
HSLhsl(282, 80%, 75%)
HSVhsv(282, 42%, 95%)
CMYKcmyk(12.8%, 41.7%, 0%, 5.1%)
CIE-LABlab(68.98, 43.74, -40.36)
CIE-LCHlch(68.98, 59.52, 317.31°)
OKLaboklab(75.03% 0.1111 -0.1116)
OKLCHoklch(75.03% 0.157 314.9)
XYZxyz(52.4133, 39.3107, 88.8139)
Luminance0.3931 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D38DF2 #ACF28D
analogous
#A08DF2 #D38DF2 #F28DDF
triadic
#D38DF2 #F2D38D #8DF2D3
tetradic
#D38DF2 #F2A08D #ACF28D #8DDFF2
square
#D38DF2 #F2A08D #ACF28D #8DDFF2
split-complementary
#D38DF2 #DFF28D #8DF2A0
monochromatic
#A91FE5 #BE56EC #D38DF2 #E8C4F8 #F4E4FC

Accessibility & contrast

On white

2.37
#D38DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#D38DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D38DF2
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D38DF2#FFFFFF#000000##000000
##D38DF21.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA4F6
Deuteranopia (green-blind)
#8DAAEF
Tritanopia (blue-blind)
#D19BB4
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d38df2;
/* rgb */ color: rgb(211, 141, 242);
/* oklch */ color: oklch(75.0% 0.157 314.9);
Tailwind
colors: {
  custom: {
    50: '#e2b0f6',
    500: '#d38df2',
    950: '#000000',
  },
}
SCSS
$custom: #d38df2;
$custom-light: #e2b0f6;
$custom-dark: #000000;
JSON
{
  "hex": "#d38df2",
  "rgb": {
    "r": 211,
    "g": 141,
    "b": 242
  },
  "hsl": {
    "h": 281.584,
    "s": 79.528,
    "l": 75.098
  },
  "oklch": {
    "l": 0.75033,
    "c": 0.15747,
    "h": 314.9
  },
  "luminance": 0.39309
}

Semantic roles & 50–950 ramp

primary
#D38DF2
secondary
#E0F4D7
accent
#DC0A4A
background
#FEFAFF
surface
#FCF5FE
border
#D5CFD6
text
#151017
muted
#847F85

Preview Lab

Preview with #D38DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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