#D37AFA#D37AFA

#D37AFA is a light, vivid purple. Relative luminance 0.347; OKLCH L 72.6% C 0.197 H 314.6°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#D37AFA
RGBrgb(211, 122, 250)
HSLhsl(282, 93%, 73%)
HSVhsv(282, 51%, 98%)
CMYKcmyk(15.6%, 51.2%, 0%, 2%)
CIE-LABlab(65.49, 55.24, -50.22)
CIE-LCHlch(65.49, 74.66, 317.73°)
OKLaboklab(72.56% 0.1381 -0.14)
OKLCHoklch(72.56% 0.197 314.6)
XYZxyz(51.0761, 34.6715, 94.4256)
Luminance0.3467 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D37AFA #A1FA7A
analogous
#937AFA #D37AFA #FA7AE1
triadic
#D37AFA #FAD37A #7AFAD3
tetradic
#D37AFA #FA937A #A1FA7A #7AE1FA
square
#D37AFA #FA937A #A1FA7A #7AE1FA
split-complementary
#D37AFA #E1FA7A #7AFA93
monochromatic
#AA09F1 #BF3FF8 #D37AFA #E7B5FC #F5E2FE

Accessibility & contrast

On white

2.65
#D37AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#D37AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D37AFA
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D37AFA#FFFFFF#000000##000000
##D37AFA1.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C9AFE
Deuteranopia (green-blind)
#78A1F7
Tritanopia (blue-blind)
#D08EAF
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d37afa;
/* rgb */ color: rgb(211, 122, 250);
/* oklch */ color: oklch(72.6% 0.197 314.6);
Tailwind
colors: {
  custom: {
    50: '#e3a3fc',
    500: '#d37afa',
    950: '#000000',
  },
}
SCSS
$custom: #d37afa;
$custom-light: #e3a3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d37afa",
  "rgb": {
    "r": 211,
    "g": 122,
    "b": 250
  },
  "hsl": {
    "h": 281.719,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.7256,
    "c": 0.19665,
    "h": 314.6
  },
  "luminance": 0.3467
}

Semantic roles & 50–950 ramp

primary
#D37AFA
secondary
#DFF6D5
accent
#E60046
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D37AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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