#D37AEF#D37AEF

#D37AEF is a light, vivid purple. Relative luminance 0.340; OKLCH L 72.0% C 0.185 H 317.6°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#D37AEF
RGBrgb(211, 122, 239)
HSLhsl(286, 79%, 71%)
HSVhsv(286, 49%, 94%)
CMYKcmyk(11.7%, 49%, 0%, 6.3%)
CIE-LABlab(64.96, 53.03, -45.00)
CIE-LCHlch(64.96, 69.55, 319.68°)
OKLaboklab(72% 0.1369 -0.1248)
OKLCHoklch(72% 0.185 317.6)
XYZxyz(49.4013, 34.0016, 85.6053)
Luminance0.3400 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D37AEF #96EF7A
analogous
#987AEF #D37AEF #EF7AD0
triadic
#D37AEF #EFD37A #7AEFD3
tetradic
#D37AEF #EF987A #96EF7A #7AD0EF
square
#D37AEF #EF987A #96EF7A #7AD0EF
split-complementary
#D37AEF #D0EF7A #7AEF98
monochromatic
#A81AD5 #C143E8 #D37AEF #E5B1F6 #F6E4FC

Accessibility & contrast

On white

2.69
#D37AEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#D37AEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D37AEF
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D37AEF#FFFFFF#000000##000000
##D37AEF1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6498F3
Deuteranopia (green-blind)
#7EA1EC
Tritanopia (blue-blind)
#D38BAA
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d37aef;
/* rgb */ color: rgb(211, 122, 239);
/* oklch */ color: oklch(72.0% 0.185 317.6);
Tailwind
colors: {
  custom: {
    50: '#e3a3f4',
    500: '#d37aef',
    950: '#000000',
  },
}
SCSS
$custom: #d37aef;
$custom-light: #e3a3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d37aef",
  "rgb": {
    "r": 211,
    "g": 122,
    "b": 239
  },
  "hsl": {
    "h": 285.641,
    "s": 78.523,
    "l": 70.784
  },
  "oklch": {
    "l": 0.71997,
    "c": 0.18527,
    "h": 317.6
  },
  "luminance": 0.34
}

Semantic roles & 50–950 ramp

primary
#D37AEF
secondary
#DAF2D3
accent
#DB0B3D
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D37AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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