#D37DF2#D37DF2

#D37DF2 is a light, vivid purple. Relative luminance 0.349; OKLCH L 72.6% C 0.184 H 316.5°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#D37DF2
RGBrgb(211, 125, 242)
HSLhsl(284, 82%, 72%)
HSVhsv(284, 48%, 95%)
CMYKcmyk(12.8%, 48.3%, 0%, 5.1%)
CIE-LABlab(65.69, 52.10, -45.51)
CIE-LCHlch(65.69, 69.17, 318.87°)
OKLaboklab(72.58% 0.1332 -0.1263)
OKLCHoklch(72.58% 0.184 316.5)
XYZxyz(50.2222, 34.9285, 88.0835)
Luminance0.3493 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D37DF2 #9CF27D
analogous
#997DF2 #D37DF2 #F27DD6
triadic
#D37DF2 #F2D37D #7DF2D3
tetradic
#D37DF2 #F2997D #9CF27D #7DD6F2
square
#D37DF2 #F2997D #9CF27D #7DD6F2
split-complementary
#D37DF2 #D6F27D #7DF299
monochromatic
#A916DE #C045EC #D37DF2 #E6B5F8 #F6E3FC

Accessibility & contrast

On white

2.63
#D37DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#D37DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D37DF2
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D37DF2#FFFFFF#000000##000000
##D37DF21.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#669AF6
Deuteranopia (green-blind)
#7FA2EF
Tritanopia (blue-blind)
#D28EAC
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d37df2;
/* rgb */ color: rgb(211, 125, 242);
/* oklch */ color: oklch(72.6% 0.184 316.5);
Tailwind
colors: {
  custom: {
    50: '#e3a5f7',
    500: '#d37df2',
    950: '#000000',
  },
}
SCSS
$custom: #d37df2;
$custom-light: #e3a5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d37df2",
  "rgb": {
    "r": 211,
    "g": 125,
    "b": 242
  },
  "hsl": {
    "h": 284.103,
    "s": 81.818,
    "l": 71.961
  },
  "oklch": {
    "l": 0.72583,
    "c": 0.18359,
    "h": 316.5
  },
  "luminance": 0.34927
}

Semantic roles & 50–950 ramp

primary
#D37DF2
secondary
#DFF4D7
accent
#DE0740
background
#FEFAFF
surface
#FCF4FE
border
#D5CED6
text
#160F17
muted
#847F85

Preview Lab

Preview with #D37DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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