#D37AF3#D37AF3

#D37AF3 is a light, vivid purple. Relative luminance 0.342; OKLCH L 72.2% C 0.189 H 316.5°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#D37AF3
RGBrgb(211, 122, 243)
HSLhsl(284, 83%, 72%)
HSVhsv(284, 50%, 95%)
CMYKcmyk(13.2%, 49.8%, 0%, 4.7%)
CIE-LABlab(65.15, 53.83, -46.91)
CIE-LCHlch(65.15, 71.40, 318.93°)
OKLaboklab(72.2% 0.1374 -0.1304)
OKLCHoklch(72.2% 0.189 316.5)
XYZxyz(49.9988, 34.2406, 88.7520)
Luminance0.3424 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D37AF3 #9AF37A
analogous
#977AF3 #D37AF3 #F37AD7
triadic
#D37AF3 #F3D37A #7AF3D3
tetradic
#D37AF3 #F3977A #9AF37A #7AD7F3
square
#D37AF3 #F3977A #9AF37A #7AD7F3
split-complementary
#D37AF3 #D7F37A #7AF397
monochromatic
#A914DF #C042EE #D37AF3 #E6B2F8 #F6E3FC

Accessibility & contrast

On white

2.68
#D37AF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#D37AF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D37AF3
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D37AF3#FFFFFF#000000##000000
##D37AF31.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6199F7
Deuteranopia (green-blind)
#7CA1F0
Tritanopia (blue-blind)
#D28CAC
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d37af3;
/* rgb */ color: rgb(211, 122, 243);
/* oklch */ color: oklch(72.2% 0.189 316.5);
Tailwind
colors: {
  custom: {
    50: '#e3a3f7',
    500: '#d37af3',
    950: '#000000',
  },
}
SCSS
$custom: #d37af3;
$custom-light: #e3a3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d37af3",
  "rgb": {
    "r": 211,
    "g": 122,
    "b": 243
  },
  "hsl": {
    "h": 284.132,
    "s": 83.448,
    "l": 71.569
  },
  "oklch": {
    "l": 0.72199,
    "c": 0.18939,
    "h": 316.5
  },
  "luminance": 0.34239
}

Semantic roles & 50–950 ramp

primary
#D37AF3
secondary
#DDF4D5
accent
#E0063F
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D37AF3

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

Preview Lab → · Contrast checker → · Palette generator →

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