#D37AFF#D37AFF

#D37AFF is a light, highly saturated purple. Relative luminance 0.350; OKLCH L 72.8% C 0.202 H 313.3°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#D37AFF
RGBrgb(211, 122, 255)
HSLhsl(280, 100%, 74%)
HSVhsv(280, 52%, 100%)
CMYKcmyk(17.3%, 52.2%, 0%, 0%)
CIE-LABlab(65.74, 56.27, -52.57)
CIE-LCHlch(65.74, 77.01, 316.95°)
OKLaboklab(72.82% 0.1386 -0.1468)
OKLCHoklch(72.82% 0.202 313.3)
XYZxyz(51.8705, 34.9893, 98.6095)
Luminance0.3499 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D37AFF #A6FF7A
analogous
#917AFF #D37AFF #FF7AE9
triadic
#D37AFF #FFD37A #7AFFD3
tetradic
#D37AFF #FF917A #A6FF7A #7AE9FF
square
#D37AFF #FF917A #A6FF7A #7AE9FF
split-complementary
#D37AFF #E9FF7A #7AFF91
monochromatic
#AA00FF #BF3DFF #D37AFF #E7B7FF #F5E0FF

Accessibility & contrast

On white

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

On black

8.00
#D37AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D37AFF
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D37AFF#FFFFFF#000000##000000
##D37AFF1.002.638.008.00
#FFFFFF2.631.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#599BFF
Deuteranopia (green-blind)
#75A2FC
Tritanopia (blue-blind)
#CF90B1
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d37aff;
/* rgb */ color: rgb(211, 122, 255);
/* oklch */ color: oklch(72.8% 0.202 313.3);
Tailwind
colors: {
  custom: {
    50: '#e3a3ff',
    500: '#d37aff',
    950: '#000000',
  },
}
SCSS
$custom: #d37aff;
$custom-light: #e3a3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d37aff",
  "rgb": {
    "r": 211,
    "g": 122,
    "b": 255
  },
  "hsl": {
    "h": 280.15,
    "s": 100,
    "l": 73.922
  },
  "oklch": {
    "l": 0.72823,
    "c": 0.20187,
    "h": 313.3
  },
  "luminance": 0.34988
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D37AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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