#D37ECB#D37ECB

#D37ECB is a light, vivid purple. Relative luminance 0.331; OKLCH L 70.9% C 0.143 H 330.4°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#D37ECB
RGBrgb(211, 126, 203)
HSLhsl(306, 49%, 66%)
HSVhsv(306, 40%, 83%)
CMYKcmyk(0%, 40.3%, 3.8%, 17.3%)
CIE-LABlab(64.23, 44.18, -26.09)
CIE-LCHlch(64.23, 51.31, 329.43°)
OKLaboklab(70.95% 0.1247 -0.0708)
OKLCHoklch(70.95% 0.143 330.4)
XYZxyz(45.1038, 33.0846, 60.4985)
Luminance0.3308 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D37ECB #7ED386
analogous
#B07ED3 #D37ECB #D37EA0
triadic
#D37ECB #CBD37E #7ECBD3
tetradic
#D37ECB #D3B07E #7ED386 #7EA0D3
square
#D37ECB #D3B07E #7ED386 #7EA0D3
split-complementary
#D37ECB #A0D37E #7ED3B0
monochromatic
#A03796 #C350B9 #D37ECB #E3ACDD #F2D9F0

Accessibility & contrast

On white

2.76
#D37ECB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#D37ECB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D37ECB
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D37ECB#FFFFFF#000000##000000
##D37ECB1.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B94CE
Deuteranopia (green-blind)
#91A0C8
Tritanopia (blue-blind)
#D9849B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d37ecb;
/* rgb */ color: rgb(211, 126, 203);
/* oklch */ color: oklch(70.9% 0.143 330.4);
Tailwind
colors: {
  custom: {
    50: '#e2a5db',
    500: '#d37ecb',
    950: '#000000',
  },
}
SCSS
$custom: #d37ecb;
$custom-light: #e2a5db;
$custom-dark: #000000;
JSON
{
  "hex": "#d37ecb",
  "rgb": {
    "r": 211,
    "g": 126,
    "b": 203
  },
  "hsl": {
    "h": 305.647,
    "s": 49.133,
    "l": 66.078
  },
  "oklch": {
    "l": 0.70945,
    "c": 0.14337,
    "h": 330.4
  },
  "luminance": 0.33082
}

Semantic roles & 50–950 ramp

primary
#D37ECB
secondary
#C8E4CB
accent
#BC3729
background
#FEFAFD
surface
#FCF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #D37ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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