#D37FF2#D37FF2

#D37FF2 is a light, vivid purple. Relative luminance 0.354; OKLCH L 72.9% C 0.180 H 316.3°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#D37FF2
RGBrgb(211, 127, 242)
HSLhsl(284, 82%, 72%)
HSVhsv(284, 48%, 95%)
CMYKcmyk(12.8%, 47.5%, 0%, 5.1%)
CIE-LABlab(66.09, 51.07, -44.88)
CIE-LCHlch(66.09, 67.99, 318.69°)
OKLaboklab(72.88% 0.1305 -0.1245)
OKLCHoklch(72.88% 0.18 316.3)
XYZxyz(50.4780, 35.4399, 88.1687)
Luminance0.3544 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D37FF2 #9EF27F
analogous
#9A7FF2 #D37FF2 #F27FD8
triadic
#D37FF2 #F2D37F #7FF2D3
tetradic
#D37FF2 #F29A7F #9EF27F #7FD8F2
square
#D37FF2 #F29A7F #9EF27F #7FD8F2
split-complementary
#D37FF2 #D8F27F #7FF29A
monochromatic
#AA17E0 #C047EC #D37FF2 #E6B7F8 #F5E3FC

Accessibility & contrast

On white

2.60
#D37FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#D37FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D37FF2
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D37FF2#FFFFFF#000000##000000
##D37FF21.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#699BF6
Deuteranopia (green-blind)
#81A3EF
Tritanopia (blue-blind)
#D290AD
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d37ff2;
/* rgb */ color: rgb(211, 127, 242);
/* oklch */ color: oklch(72.9% 0.180 316.3);
Tailwind
colors: {
  custom: {
    50: '#e2a6f7',
    500: '#d37ff2',
    950: '#000000',
  },
}
SCSS
$custom: #d37ff2;
$custom-light: #e2a6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d37ff2",
  "rgb": {
    "r": 211,
    "g": 127,
    "b": 242
  },
  "hsl": {
    "h": 283.826,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.72878,
    "c": 0.18039,
    "h": 316.3
  },
  "luminance": 0.35438
}

Semantic roles & 50–950 ramp

primary
#D37FF2
secondary
#DFF4D7
accent
#DE0841
background
#FEFAFF
surface
#FCF4FE
border
#D5CED6
text
#161017
muted
#847F85

Preview Lab

Preview with #D37FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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