#D37EF2#D37EF2

#D37EF2 is a light, vivid purple. Relative luminance 0.352; OKLCH L 72.7% C 0.182 H 316.4°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#D37EF2
RGBrgb(211, 126, 242)
HSLhsl(284, 82%, 72%)
HSVhsv(284, 48%, 95%)
CMYKcmyk(12.8%, 47.9%, 0%, 5.1%)
CIE-LABlab(65.89, 51.59, -45.19)
CIE-LCHlch(65.89, 68.58, 318.78°)
OKLaboklab(72.73% 0.1319 -0.1254)
OKLCHoklch(72.73% 0.182 316.4)
XYZxyz(50.3495, 35.1829, 88.1259)
Luminance0.3518 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D37EF2 #9DF27E
analogous
#997EF2 #D37EF2 #F27ED7
triadic
#D37EF2 #F2D37E #7EF2D3
tetradic
#D37EF2 #F2997E #9DF27E #7ED7F2
square
#D37EF2 #F2997E #9DF27E #7ED7F2
split-complementary
#D37EF2 #D7F27E #7EF299
monochromatic
#AA16DF #C046EC #D37EF2 #E6B6F8 #F6E3FC

Accessibility & contrast

On white

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

On black

8.04
#D37EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D37EF2
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D37EF2#FFFFFF#000000##000000
##D37EF21.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#679BF6
Deuteranopia (green-blind)
#80A3EF
Tritanopia (blue-blind)
#D28FAD
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d37ef2;
/* rgb */ color: rgb(211, 126, 242);
/* oklch */ color: oklch(72.7% 0.182 316.4);
Tailwind
colors: {
  custom: {
    50: '#e2a6f7',
    500: '#d37ef2',
    950: '#000000',
  },
}
SCSS
$custom: #d37ef2;
$custom-light: #e2a6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d37ef2",
  "rgb": {
    "r": 211,
    "g": 126,
    "b": 242
  },
  "hsl": {
    "h": 283.966,
    "s": 81.69,
    "l": 72.157
  },
  "oklch": {
    "l": 0.7273,
    "c": 0.182,
    "h": 316.4
  },
  "luminance": 0.35181
}

Semantic roles & 50–950 ramp

primary
#D37EF2
secondary
#DFF4D7
accent
#DE0741
background
#FEFAFF
surface
#FCF4FE
border
#D5CED6
text
#160F17
muted
#847F85

Preview Lab

Preview with #D37EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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