#D37FF7#D37FF7

#D37FF7 is a light, vivid purple. Relative luminance 0.357; OKLCH L 73.1% C 0.186 H 314.9°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#D37FF7
RGBrgb(211, 127, 247)
HSLhsl(282, 88%, 73%)
HSVhsv(282, 49%, 97%)
CMYKcmyk(14.6%, 48.6%, 0%, 3.1%)
CIE-LABlab(66.32, 52.09, -47.26)
CIE-LCHlch(66.32, 70.33, 317.78°)
OKLaboklab(73.13% 0.1312 -0.1314)
OKLCHoklch(73.13% 0.186 314.9)
XYZxyz(51.2392, 35.7444, 92.1779)
Luminance0.3574 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D37FF7 #A3F77F
analogous
#977FF7 #D37FF7 #F77FDF
triadic
#D37FF7 #F7D37F #7FF7D3
tetradic
#D37FF7 #F7977F #A3F77F #7FDFF7
square
#D37FF7 #F7977F #A3F77F #7FDFF7
split-complementary
#D37FF7 #DFF77F #7FF797
monochromatic
#AA0FED #BF45F3 #D37FF7 #E7B9FB #F5E2FD

Accessibility & contrast

On white

2.58
#D37FF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#D37FF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D37FF7
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D37FF7#FFFFFF#000000##000000
##D37FF71.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#669CFB
Deuteranopia (green-blind)
#7EA4F4
Tritanopia (blue-blind)
#D191B0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d37ff7;
/* rgb */ color: rgb(211, 127, 247);
/* oklch */ color: oklch(73.1% 0.186 314.9);
Tailwind
colors: {
  custom: {
    50: '#e3a6fa',
    500: '#d37ff7',
    950: '#000000',
  },
}
SCSS
$custom: #d37ff7;
$custom-light: #e3a6fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d37ff7",
  "rgb": {
    "r": 211,
    "g": 127,
    "b": 247
  },
  "hsl": {
    "h": 282,
    "s": 88.235,
    "l": 73.333
  },
  "oklch": {
    "l": 0.73128,
    "c": 0.18567,
    "h": 314.9
  },
  "luminance": 0.35743
}

Semantic roles & 50–950 ramp

primary
#D37FF7
secondary
#DFF5D6
accent
#E50145
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D37FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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