#D37AFE#D37AFE

#D37AFE is a light, highly saturated purple. Relative luminance 0.349; OKLCH L 72.8% C 0.201 H 313.6°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#D37AFE
RGBrgb(211, 122, 254)
HSLhsl(280, 99%, 74%)
HSVhsv(280, 52%, 100%)
CMYKcmyk(16.9%, 52%, 0%, 0.4%)
CIE-LABlab(65.69, 56.06, -52.10)
CIE-LCHlch(65.69, 76.54, 317.10°)
OKLaboklab(72.77% 0.1385 -0.1455)
OKLCHoklch(72.77% 0.201 313.6)
XYZxyz(51.7099, 34.9250, 97.7639)
Luminance0.3492 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D37AFE #A5FE7A
analogous
#917AFE #D37AFE #FE7AE7
triadic
#D37AFE #FED37A #7AFED3
tetradic
#D37AFE #FE917A #A5FE7A #7AE7FE
square
#D37AFE #FE917A #A5FE7A #7AE7FE
split-complementary
#D37AFE #E7FE7A #7AFE91
monochromatic
#AA02FC #BF3DFE #D37AFE #E7B7FE #F5E1FF

Accessibility & contrast

On white

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

On black

7.98
#D37AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D37AFE
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D37AFE#FFFFFF#000000##000000
##D37AFE1.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#599BFF
Deuteranopia (green-blind)
#76A2FB
Tritanopia (blue-blind)
#CF8FB1
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d37afe;
/* rgb */ color: rgb(211, 122, 254);
/* oklch */ color: oklch(72.8% 0.201 313.6);
Tailwind
colors: {
  custom: {
    50: '#e3a3ff',
    500: '#d37afe',
    950: '#000000',
  },
}
SCSS
$custom: #d37afe;
$custom-light: #e3a3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d37afe",
  "rgb": {
    "r": 211,
    "g": 122,
    "b": 254
  },
  "hsl": {
    "h": 280.455,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.7277,
    "c": 0.20083,
    "h": 313.6
  },
  "luminance": 0.34924
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D37AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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