#D37AEC#D37AEC

#D37AEC is a light, vivid purple. Relative luminance 0.338; OKLCH L 71.8% C 0.182 H 318.5°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#D37AEC
RGBrgb(211, 122, 236)
HSLhsl(287, 75%, 70%)
HSVhsv(287, 48%, 93%)
CMYKcmyk(10.6%, 48.3%, 0%, 7.5%)
CIE-LABlab(64.82, 52.43, -43.56)
CIE-LCHlch(64.82, 68.17, 320.28°)
OKLaboklab(71.85% 0.1365 -0.1207)
OKLCHoklch(71.85% 0.182 318.5)
XYZxyz(48.9618, 33.8258, 83.2905)
Luminance0.3382 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D37AEC #93EC7A
analogous
#9A7AEC #D37AEC #EC7ACC
triadic
#D37AEC #ECD37A #7AECD3
tetradic
#D37AEC #EC9A7A #93EC7A #7ACCEC
square
#D37AEC #EC9A7A #93EC7A #7ACCEC
split-complementary
#D37AEC #CCEC7A #7AEC9A
monochromatic
#A71DCE #C144E4 #D37AEC #E5B0F4 #F6E4FB

Accessibility & contrast

On white

2.70
#D37AEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#D37AEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D37AEC
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D37AEC#FFFFFF#000000##000000
##D37AEC1.002.707.767.76
#FFFFFF2.701.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6697F0
Deuteranopia (green-blind)
#80A0E9
Tritanopia (blue-blind)
#D38AA8
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d37aec;
/* rgb */ color: rgb(211, 122, 236);
/* oklch */ color: oklch(71.8% 0.182 318.5);
Tailwind
colors: {
  custom: {
    50: '#e3a3f2',
    500: '#d37aec',
    950: '#000000',
  },
}
SCSS
$custom: #d37aec;
$custom-light: #e3a3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d37aec",
  "rgb": {
    "r": 211,
    "g": 122,
    "b": 236
  },
  "hsl": {
    "h": 286.842,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.71848,
    "c": 0.1822,
    "h": 318.5
  },
  "luminance": 0.33824
}

Semantic roles & 50–950 ramp

primary
#D37AEC
secondary
#D8F1D1
accent
#D70E3A
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D37AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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