#D38BEC#D38BEC

#D38BEC is a light, vivid purple. Relative luminance 0.384; OKLCH L 74.4% C 0.154 H 317.0°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#D38BEC
RGBrgb(211, 139, 236)
HSLhsl(285, 72%, 74%)
HSVhsv(285, 41%, 93%)
CMYKcmyk(10.6%, 41.1%, 0%, 7.5%)
CIE-LABlab(68.29, 43.59, -38.13)
CIE-LCHlch(68.29, 57.91, 318.82°)
OKLaboklab(74.44% 0.1128 -0.1052)
OKLCHoklch(74.44% 0.154 317)
XYZxyz(51.2347, 38.3717, 84.0482)
Luminance0.3837 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D38BEC #A4EC8B
analogous
#A28BEC #D38BEC #EC8BD4
triadic
#D38BEC #ECD38B #8BECD3
tetradic
#D38BEC #ECA28B #A4EC8B #8BD4EC
square
#D38BEC #ECA28B #A4EC8B #8BD4EC
split-complementary
#D38BEC #D4EC8B #8BECA2
monochromatic
#AA24D9 #BF56E3 #D38BEC #E7C0F5 #F5E5FB

Accessibility & contrast

On white

2.42
#D38BEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#D38BEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D38BEC
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D38BEC#FFFFFF#000000##000000
##D38BEC1.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA2F0
Deuteranopia (green-blind)
#8EA9E9
Tritanopia (blue-blind)
#D398B0
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d38bec;
/* rgb */ color: rgb(211, 139, 236);
/* oklch */ color: oklch(74.4% 0.154 317.0);
Tailwind
colors: {
  custom: {
    50: '#e2aef2',
    500: '#d38bec',
    950: '#000000',
  },
}
SCSS
$custom: #d38bec;
$custom-light: #e2aef2;
$custom-dark: #000000;
JSON
{
  "hex": "#d38bec",
  "rgb": {
    "r": 211,
    "g": 139,
    "b": 236
  },
  "hsl": {
    "h": 284.536,
    "s": 71.852,
    "l": 73.529
  },
  "oklch": {
    "l": 0.74437,
    "c": 0.15424,
    "h": 317
  },
  "luminance": 0.3837
}

Semantic roles & 50–950 ramp

primary
#D38BEC
secondary
#DFF2D9
accent
#D41244
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#151017
muted
#847F85

Preview Lab

Preview with #D38BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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