#D37FDB#D37FDB

#D37FDB is a light, vivid purple. Relative luminance 0.341; OKLCH L 71.8% C 0.157 H 323.9°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#D37FDB
RGBrgb(211, 127, 219)
HSLhsl(295, 56%, 68%)
HSVhsv(295, 42%, 86%)
CMYKcmyk(3.7%, 42%, 0%, 14.1%)
CIE-LABlab(65.08, 46.59, -33.73)
CIE-LCHlch(65.08, 57.52, 324.09°)
OKLaboklab(71.79% 0.1267 -0.0925)
OKLCHoklch(71.79% 0.157 323.9)
XYZxyz(47.2383, 34.1441, 71.1063)
Luminance0.3414 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D37FDB #87DB7F
analogous
#A57FDB #D37FDB #DB7FB5
triadic
#D37FDB #DBD37F #7FDBD3
tetradic
#D37FDB #DBA57F #87DB7F #7FB5DB
square
#D37FDB #DBA57F #87DB7F #7FB5DB
split-complementary
#D37FDB #B5DB7F #7FDBA5
monochromatic
#A431AF #C34FCE #D37FDB #E3AFE8 #F4DFF6

Accessibility & contrast

On white

2.68
#D37FDB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#D37FDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D37FDB
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D37FDB#FFFFFF#000000##000000
##D37FDB1.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7598DE
Deuteranopia (green-blind)
#8CA1D8
Tritanopia (blue-blind)
#D689A3
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d37fdb;
/* rgb */ color: rgb(211, 127, 219);
/* oklch */ color: oklch(71.8% 0.157 323.9);
Tailwind
colors: {
  custom: {
    50: '#e2a6e6',
    500: '#d37fdb',
    950: '#000000',
  },
}
SCSS
$custom: #d37fdb;
$custom-light: #e2a6e6;
$custom-dark: #000000;
JSON
{
  "hex": "#d37fdb",
  "rgb": {
    "r": 211,
    "g": 127,
    "b": 219
  },
  "hsl": {
    "h": 294.783,
    "s": 56.098,
    "l": 67.843
  },
  "oklch": {
    "l": 0.71791,
    "c": 0.15686,
    "h": 323.9
  },
  "luminance": 0.34142
}

Semantic roles & 50–950 ramp

primary
#D37FDB
secondary
#CFE9CD
accent
#C42230
background
#FEFAFE
surface
#FCF4FC
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D37FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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