#D37CEF#D37CEF

#D37CEF is a light, vivid purple. Relative luminance 0.345; OKLCH L 72.3% C 0.182 H 317.5°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#D37CEF
RGBrgb(211, 124, 239)
HSLhsl(285, 78%, 71%)
HSVhsv(285, 48%, 94%)
CMYKcmyk(11.7%, 48.1%, 0%, 6.3%)
CIE-LABlab(65.36, 52.01, -44.38)
CIE-LCHlch(65.36, 68.37, 319.52°)
OKLaboklab(72.29% 0.1342 -0.1231)
OKLCHoklch(72.29% 0.182 317.5)
XYZxyz(49.6494, 34.4978, 85.6880)
Luminance0.3450 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D37CEF #98EF7C
analogous
#997CEF #D37CEF #EF7CD1
triadic
#D37CEF #EFD37C #7CEFD3
tetradic
#D37CEF #EF997C #98EF7C #7CD1EF
square
#D37CEF #EF997C #98EF7C #7CD1EF
split-complementary
#D37CEF #D1EF7C #7CEF99
monochromatic
#A91AD6 #C145E8 #D37CEF #E5B3F6 #F6E4FC

Accessibility & contrast

On white

2.66
#D37CEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#D37CEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D37CEF
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D37CEF#FFFFFF#000000##000000
##D37CEF1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6799F3
Deuteranopia (green-blind)
#80A2EC
Tritanopia (blue-blind)
#D38CAB
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d37cef;
/* rgb */ color: rgb(211, 124, 239);
/* oklch */ color: oklch(72.3% 0.182 317.5);
Tailwind
colors: {
  custom: {
    50: '#e2a4f4',
    500: '#d37cef',
    950: '#000000',
  },
}
SCSS
$custom: #d37cef;
$custom-light: #e2a4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d37cef",
  "rgb": {
    "r": 211,
    "g": 124,
    "b": 239
  },
  "hsl": {
    "h": 285.391,
    "s": 78.231,
    "l": 71.176
  },
  "oklch": {
    "l": 0.72287,
    "c": 0.18208,
    "h": 317.5
  },
  "luminance": 0.34496
}

Semantic roles & 50–950 ramp

primary
#D37CEF
secondary
#DCF3D4
accent
#DA0B3E
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D37CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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