#D038BF#D038BF

#D038BF is a mid, highly saturated purple. Relative luminance 0.200; OKLCH L 61.6% C 0.233 H 333.0°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#D038BF
RGBrgb(208, 56, 191)
HSLhsl(307, 62%, 52%)
HSVhsv(307, 73%, 82%)
CMYKcmyk(0%, 73.1%, 8.2%, 18.4%)
CIE-LABlab(51.84, 72.11, -38.56)
CIE-LCHlch(51.84, 81.77, 331.86°)
OKLaboklab(61.57% 0.2081 -0.1058)
OKLCHoklch(61.57% 0.233 333)
XYZxyz(36.8308, 20.0029, 51.2013)
Luminance0.2000 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D038BF #38D049
analogous
#9538D0 #D038BF #D03873
triadic
#D038BF #BFD038 #38BFD0
tetradic
#D038BF #D09538 #38D049 #3873D0
square
#D038BF #D09538 #38D049 #3873D0
split-complementary
#D038BF #73D038 #38D095
monochromatic
#731B69 #A42796 #D038BF #DC6ACF #E79BDF

Accessibility & contrast

On white

4.20
#D038BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#D038BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D038BF
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D038BF#FFFFFF#000000##000000
##D038BF1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#316EC3
Deuteranopia (green-blind)
#6B83BB
Tritanopia (blue-blind)
#D94878
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d038bf;
/* rgb */ color: rgb(208, 56, 191);
/* oklch */ color: oklch(61.6% 0.233 333.0);
Tailwind
colors: {
  custom: {
    50: '#e27dd3',
    500: '#d038bf',
    950: '#000000',
  },
}
SCSS
$custom: #d038bf;
$custom-light: #e27dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#d038bf",
  "rgb": {
    "r": 208,
    "g": 56,
    "b": 191
  },
  "hsl": {
    "h": 306.711,
    "s": 61.789,
    "l": 51.765
  },
  "oklch": {
    "l": 0.6157,
    "c": 0.23348,
    "h": 333
  },
  "luminance": 0.2
}

Semantic roles & 50–950 ramp

primary
#D038BF
secondary
#91D398
accent
#E55543
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #D038BF

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

Preview Lab → · Contrast checker → · Palette generator →

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