#D37FEF#D37FEF

#D37FEF is a light, vivid purple. Relative luminance 0.353; OKLCH L 72.7% C 0.177 H 317.2°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#D37FEF
RGBrgb(211, 127, 239)
HSLhsl(285, 78%, 72%)
HSVhsv(285, 47%, 94%)
CMYKcmyk(11.7%, 46.9%, 0%, 6.3%)
CIE-LABlab(65.95, 50.47, -43.45)
CIE-LCHlch(65.95, 66.60, 319.28°)
OKLaboklab(72.73% 0.1301 -0.1204)
OKLCHoklch(72.73% 0.177 317.2)
XYZxyz(50.0311, 35.2612, 85.8152)
Luminance0.3526 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D37FEF #9BEF7F
analogous
#9B7FEF #D37FEF #EF7FD3
triadic
#D37FEF #EFD37F #7FEFD3
tetradic
#D37FEF #EF9B7F #9BEF7F #7FD3EF
square
#D37FEF #EF9B7F #9BEF7F #7FD3EF
split-complementary
#D37FEF #D3EF7F #7FEF9B
monochromatic
#A91BD9 #C049E8 #D37FEF #E6B5F6 #F6E4FC

Accessibility & contrast

On white

2.61
#D37FEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#D37FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D37FEF
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D37FEF#FFFFFF#000000##000000
##D37FEF1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9BF3
Deuteranopia (green-blind)
#83A3EC
Tritanopia (blue-blind)
#D28FAC
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d37fef;
/* rgb */ color: rgb(211, 127, 239);
/* oklch */ color: oklch(72.7% 0.177 317.2);
Tailwind
colors: {
  custom: {
    50: '#e2a6f4',
    500: '#d37fef',
    950: '#000000',
  },
}
SCSS
$custom: #d37fef;
$custom-light: #e2a6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d37fef",
  "rgb": {
    "r": 211,
    "g": 127,
    "b": 239
  },
  "hsl": {
    "h": 285,
    "s": 77.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.7273,
    "c": 0.17725,
    "h": 317.2
  },
  "luminance": 0.3526
}

Semantic roles & 50–950 ramp

primary
#D37FEF
secondary
#DEF3D7
accent
#DA0B3F
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D37FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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