#D37CFB#D37CFB

#D37CFB is a light, vivid purple. Relative luminance 0.352; OKLCH L 72.9% C 0.195 H 314.2°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#D37CFB
RGBrgb(211, 124, 251)
HSLhsl(281, 94%, 74%)
HSVhsv(281, 51%, 98%)
CMYKcmyk(15.9%, 50.6%, 0%, 1.6%)
CIE-LABlab(65.93, 54.44, -50.08)
CIE-LCHlch(65.93, 73.97, 317.39°)
OKLaboklab(72.9% 0.1356 -0.1396)
OKLCHoklch(72.9% 0.195 314.2)
XYZxyz(51.4814, 35.2306, 95.3363)
Luminance0.3523 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D37CFB #A4FB7C
analogous
#937CFB #D37CFB #FB7CE4
triadic
#D37CFB #FBD37C #7CFBD3
tetradic
#D37CFB #FB937C #A4FB7C #7CE4FB
square
#D37CFB #FB937C #A4FB7C #7CE4FB
split-complementary
#D37CFB #E4FB7C #7CFB93
monochromatic
#AA07F5 #BF41F9 #D37CFB #E7B7FD #F5E1FE

Accessibility & contrast

On white

2.61
#D37CFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#D37CFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D37CFB
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D37CFB#FFFFFF#000000##000000
##D37CFB1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9BFF
Deuteranopia (green-blind)
#79A2F8
Tritanopia (blue-blind)
#D090B0
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d37cfb;
/* rgb */ color: rgb(211, 124, 251);
/* oklch */ color: oklch(72.9% 0.195 314.2);
Tailwind
colors: {
  custom: {
    50: '#e3a5fd',
    500: '#d37cfb',
    950: '#000000',
  },
}
SCSS
$custom: #d37cfb;
$custom-light: #e3a5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d37cfb",
  "rgb": {
    "r": 211,
    "g": 124,
    "b": 251
  },
  "hsl": {
    "h": 281.102,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.72898,
    "c": 0.1946,
    "h": 314.2
  },
  "luminance": 0.35229
}

Semantic roles & 50–950 ramp

primary
#D37CFB
secondary
#DFF6D5
accent
#E60048
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D37CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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