#D37FEB#D37FEB

#D37FEB is a light, vivid purple. Relative luminance 0.350; OKLCH L 72.5% C 0.173 H 318.4°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#D37FEB
RGBrgb(211, 127, 235)
HSLhsl(287, 73%, 71%)
HSVhsv(287, 46%, 92%)
CMYKcmyk(10.2%, 46%, 0%, 7.8%)
CIE-LABlab(65.77, 49.68, -41.52)
CIE-LCHlch(65.77, 64.74, 320.11°)
OKLaboklab(72.54% 0.1295 -0.1148)
OKLCHoklch(72.54% 0.173 318.4)
XYZxyz(49.4467, 35.0274, 82.7374)
Luminance0.3503 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D37FEB #97EB7F
analogous
#9D7FEB #D37FEB #EB7FCD
triadic
#D37FEB #EBD37F #7FEBD3
tetradic
#D37FEB #EB9D7F #97EB7F #7FCDEB
square
#D37FEB #EB9D7F #97EB7F #7FCDEB
split-complementary
#D37FEB #CDEB7F #7FEB9D
monochromatic
#A820CF #C14AE3 #D37FEB #E5B4F3 #F6E5FB

Accessibility & contrast

On white

2.62
#D37FEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#D37FEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D37FEB
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D37FEB#FFFFFF#000000##000000
##D37FEB1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9AEF
Deuteranopia (green-blind)
#84A3E8
Tritanopia (blue-blind)
#D38EAA
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d37feb;
/* rgb */ color: rgb(211, 127, 235);
/* oklch */ color: oklch(72.5% 0.173 318.4);
Tailwind
colors: {
  custom: {
    50: '#e2a6f2',
    500: '#d37feb',
    950: '#000000',
  },
}
SCSS
$custom: #d37feb;
$custom-light: #e2a6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d37feb",
  "rgb": {
    "r": 211,
    "g": 127,
    "b": 235
  },
  "hsl": {
    "h": 286.667,
    "s": 72.973,
    "l": 70.98
  },
  "oklch": {
    "l": 0.72536,
    "c": 0.17309,
    "h": 318.4
  },
  "luminance": 0.35026
}

Semantic roles & 50–950 ramp

primary
#D37FEB
secondary
#DBF1D5
accent
#D5103C
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D37FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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