#D37EFD#D37EFD

#D37EFD is a light, vivid purple. Relative luminance 0.359; OKLCH L 73.3% C 0.194 H 313.5°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#D37EFD
RGBrgb(211, 126, 253)
HSLhsl(280, 97%, 74%)
HSVhsv(280, 50%, 99%)
CMYKcmyk(16.6%, 50.2%, 0%, 0.8%)
CIE-LABlab(66.42, 53.83, -50.41)
CIE-LCHlch(66.42, 73.75, 316.88°)
OKLaboklab(73.29% 0.1332 -0.1405)
OKLCHoklch(73.29% 0.194 313.5)
XYZxyz(52.0515, 35.8637, 97.0899)
Luminance0.3586 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D37EFD #A8FD7E
analogous
#937EFD #D37EFD #FD7EE8
triadic
#D37EFD #FDD37E #7EFDD3
tetradic
#D37EFD #FD937E #A8FD7E #7EE8FD
square
#D37EFD #FD937E #A8FD7E #7EE8FD
split-complementary
#D37EFD #E8FD7E #7EFD93
monochromatic
#AA05FB #BE42FC #D37EFD #E8BAFE #F5E1FF

Accessibility & contrast

On white

2.57
#D37EFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#D37EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D37EFD
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D37EFD#FFFFFF#000000##000000
##D37EFD1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#609DFF
Deuteranopia (green-blind)
#7AA4FA
Tritanopia (blue-blind)
#CF92B2
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d37efd;
/* rgb */ color: rgb(211, 126, 253);
/* oklch */ color: oklch(73.3% 0.194 313.5);
Tailwind
colors: {
  custom: {
    50: '#e3a6fe',
    500: '#d37efd',
    950: '#000000',
  },
}
SCSS
$custom: #d37efd;
$custom-light: #e3a6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d37efd",
  "rgb": {
    "r": 211,
    "g": 126,
    "b": 253
  },
  "hsl": {
    "h": 280.157,
    "s": 96.947,
    "l": 74.314
  },
  "oklch": {
    "l": 0.7329,
    "c": 0.19361,
    "h": 313.5
  },
  "luminance": 0.35862
}

Semantic roles & 50–950 ramp

primary
#D37EFD
secondary
#E0F7D4
accent
#E6004C
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #D37EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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