#D38CF5#D38CF5

#D38CF5 is a light, vivid purple. Relative luminance 0.392; OKLCH L 75.0% C 0.162 H 314.1°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#D38CF5
RGBrgb(211, 140, 245)
HSLhsl(281, 84%, 75%)
HSVhsv(281, 43%, 96%)
CMYKcmyk(13.9%, 42.9%, 0%, 3.9%)
CIE-LABlab(68.89, 44.89, -42.13)
CIE-LCHlch(68.89, 61.56, 316.82°)
OKLaboklab(75.02% 0.1131 -0.1167)
OKLCHoklch(75.02% 0.162 314.1)
XYZxyz(52.7208, 39.1988, 91.1574)
Luminance0.3920 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D38CF5 #AEF58C
analogous
#9E8CF5 #D38CF5 #F58CE3
triadic
#D38CF5 #F5D38C #8CF5D3
tetradic
#D38CF5 #F59E8C #AEF58C #8CE3F5
square
#D38CF5 #F59E8C #AEF58C #8CE3F5
split-complementary
#D38CF5 #E3F58C #8CF59E
monochromatic
#A81BEB #BD54F0 #D38CF5 #E9C4FA #F4E3FD

Accessibility & contrast

On white

2.38
#D38CF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#D38CF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D38CF5
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D38CF5#FFFFFF#000000##000000
##D38CF51.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A4F9
Deuteranopia (green-blind)
#8BAAF2
Tritanopia (blue-blind)
#D19BB5
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d38cf5;
/* rgb */ color: rgb(211, 140, 245);
/* oklch */ color: oklch(75.0% 0.162 314.1);
Tailwind
colors: {
  custom: {
    50: '#e2aff9',
    500: '#d38cf5',
    950: '#000000',
  },
}
SCSS
$custom: #d38cf5;
$custom-light: #e2aff9;
$custom-dark: #000000;
JSON
{
  "hex": "#d38cf5",
  "rgb": {
    "r": 211,
    "g": 140,
    "b": 245
  },
  "hsl": {
    "h": 280.571,
    "s": 84,
    "l": 75.49
  },
  "oklch": {
    "l": 0.75016,
    "c": 0.16245,
    "h": 314.1
  },
  "luminance": 0.39198
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D38CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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