#D37AFD#D37AFD

#D37AFD is a light, vivid purple. Relative luminance 0.349; OKLCH L 72.7% C 0.200 H 313.8°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#D37AFD
RGBrgb(211, 122, 253)
HSLhsl(281, 97%, 74%)
HSVhsv(281, 52%, 99%)
CMYKcmyk(16.6%, 51.8%, 0%, 0.8%)
CIE-LABlab(65.64, 55.86, -51.63)
CIE-LCHlch(65.64, 76.07, 317.25°)
OKLaboklab(72.72% 0.1384 -0.1441)
OKLCHoklch(72.72% 0.2 313.8)
XYZxyz(51.5502, 34.8612, 96.9228)
Luminance0.3486 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D37AFD #A4FD7A
analogous
#917AFD #D37AFD #FD7AE6
triadic
#D37AFD #FDD37A #7AFDD3
tetradic
#D37AFD #FD917A #A4FD7A #7AE6FD
square
#D37AFD #FD917A #A4FD7A #7AE6FD
split-complementary
#D37AFD #E6FD7A #7AFD91
monochromatic
#AA04F9 #BF3EFC #D37AFD #E7B6FE #F5E1FF

Accessibility & contrast

On white

2.63
#D37AFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#D37AFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D37AFD
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D37AFD#FFFFFF#000000##000000
##D37AFD1.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A9AFF
Deuteranopia (green-blind)
#77A2FA
Tritanopia (blue-blind)
#CF8FB0
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d37afd;
/* rgb */ color: rgb(211, 122, 253);
/* oklch */ color: oklch(72.7% 0.200 313.8);
Tailwind
colors: {
  custom: {
    50: '#e3a3fe',
    500: '#d37afd',
    950: '#000000',
  },
}
SCSS
$custom: #d37afd;
$custom-light: #e3a3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d37afd",
  "rgb": {
    "r": 211,
    "g": 122,
    "b": 253
  },
  "hsl": {
    "h": 280.763,
    "s": 97.037,
    "l": 73.529
  },
  "oklch": {
    "l": 0.72717,
    "c": 0.19978,
    "h": 313.8
  },
  "luminance": 0.3486
}

Semantic roles & 50–950 ramp

primary
#D37AFD
secondary
#DFF7D4
accent
#E6004A
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D37AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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