#D37FFC#D37FFC

#D37FFC is a light, vivid purple. Relative luminance 0.361; OKLCH L 73.4% C 0.191 H 313.6°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#D37FFC
RGBrgb(211, 127, 252)
HSLhsl(280, 95%, 74%)
HSVhsv(280, 50%, 99%)
CMYKcmyk(16.3%, 49.6%, 0%, 1.2%)
CIE-LABlab(66.56, 53.12, -49.62)
CIE-LCHlch(66.56, 72.69, 316.95°)
OKLaboklab(73.38% 0.1317 -0.1383)
OKLCHoklch(73.38% 0.191 313.6)
XYZxyz(52.0211, 36.0572, 96.2959)
Luminance0.3606 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D37FFC #A8FC7F
analogous
#957FFC #D37FFC #FC7FE7
triadic
#D37FFC #FCD37F #7FFCD3
tetradic
#D37FFC #FC957F #A8FC7F #7FE7FC
square
#D37FFC #FC957F #A8FC7F #7FE7FC
split-complementary
#D37FFC #E7FC7F #7FFC95
monochromatic
#AA07F9 #BE43FB #D37FFC #E8BBFD #F5E1FE

Accessibility & contrast

On white

2.56
#D37FFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#D37FFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D37FFC
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D37FFC#FFFFFF#000000##000000
##D37FFC1.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#629DFF
Deuteranopia (green-blind)
#7CA4F9
Tritanopia (blue-blind)
#D093B2
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d37ffc;
/* rgb */ color: rgb(211, 127, 252);
/* oklch */ color: oklch(73.4% 0.191 313.6);
Tailwind
colors: {
  custom: {
    50: '#e3a6fe',
    500: '#d37ffc',
    950: '#000000',
  },
}
SCSS
$custom: #d37ffc;
$custom-light: #e3a6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d37ffc",
  "rgb": {
    "r": 211,
    "g": 127,
    "b": 252
  },
  "hsl": {
    "h": 280.32,
    "s": 95.42,
    "l": 74.314
  },
  "oklch": {
    "l": 0.73384,
    "c": 0.19098,
    "h": 313.6
  },
  "luminance": 0.36056
}

Semantic roles & 50–950 ramp

primary
#D37FFC
secondary
#E0F7D4
accent
#E6004B
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #D37FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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