#D37DEC#D37DEC

#D37DEC is a light, vivid purple. Relative luminance 0.346; OKLCH L 72.3% C 0.177 H 318.3°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#D37DEC
RGBrgb(211, 125, 236)
HSLhsl(286, 74%, 71%)
HSVhsv(286, 47%, 93%)
CMYKcmyk(10.6%, 47%, 0%, 7.5%)
CIE-LABlab(65.42, 50.90, -42.63)
CIE-LCHlch(65.42, 66.40, 320.05°)
OKLaboklab(72.29% 0.1324 -0.118)
OKLCHoklch(72.29% 0.177 318.3)
XYZxyz(49.3358, 34.5739, 83.4152)
Luminance0.3457 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D37DEC #96EC7D
analogous
#9B7DEC #D37DEC #EC7DCE
triadic
#D37DEC #ECD37D #7DECD3
tetradic
#D37DEC #EC9B7D #96EC7D #7DCEEC
square
#D37DEC #EC9B7D #96EC7D #7DCEEC
split-complementary
#D37DEC #CEEC7D #7DEC9B
monochromatic
#A81ED0 #C148E4 #D37DEC #E5B2F4 #F6E4FB

Accessibility & contrast

On white

2.65
#D37DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#D37DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D37DEC
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D37DEC#FFFFFF#000000##000000
##D37DEC1.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A99F0
Deuteranopia (green-blind)
#82A2E9
Tritanopia (blue-blind)
#D38CAA
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d37dec;
/* rgb */ color: rgb(211, 125, 236);
/* oklch */ color: oklch(72.3% 0.177 318.3);
Tailwind
colors: {
  custom: {
    50: '#e2a5f2',
    500: '#d37dec',
    950: '#000000',
  },
}
SCSS
$custom: #d37dec;
$custom-light: #e2a5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d37dec",
  "rgb": {
    "r": 211,
    "g": 125,
    "b": 236
  },
  "hsl": {
    "h": 286.486,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.72287,
    "c": 0.17737,
    "h": 318.3
  },
  "luminance": 0.34572
}

Semantic roles & 50–950 ramp

primary
#D37DEC
secondary
#DAF1D3
accent
#D70F3C
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D37DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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