#D631C4#D631C4

#D631C4 is a light, highly saturated purple. Relative luminance 0.205; OKLCH L 62.2% C 0.247 H 333.2°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#D631C4
RGBrgb(214, 49, 196)
HSLhsl(307, 67%, 52%)
HSVhsv(307, 77%, 84%)
CMYKcmyk(0%, 77.1%, 8.4%, 16.1%)
CIE-LABlab(52.38, 76.16, -40.54)
CIE-LCHlch(52.38, 86.28, 331.97°)
OKLaboklab(62.22% 0.2201 -0.1114)
OKLCHoklch(62.22% 0.247 333.2)
XYZxyz(38.7939, 20.4817, 54.1240)
Luminance0.2048 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D631C4 #31D643
analogous
#9531D6 #D631C4 #D63172
triadic
#D631C4 #C4D631 #31C4D6
tetradic
#D631C4 #D69531 #31D643 #3172D6
square
#D631C4 #D69531 #31D643 #3172D6
split-complementary
#D631C4 #72D631 #31D695
monochromatic
#75176B #A8219A #D631C4 #E064D3 #EA97E1

Accessibility & contrast

On white

4.12
#D631C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#D631C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D631C4
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D631C4#FFFFFF#000000##000000
##D631C41.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#286EC8
Deuteranopia (green-blind)
#6B85C0
Tritanopia (blue-blind)
#E04479
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d631c4;
/* rgb */ color: rgb(214, 49, 196);
/* oklch */ color: oklch(62.2% 0.247 333.2);
Tailwind
colors: {
  custom: {
    50: '#e77cd6',
    500: '#d631c4',
    950: '#000000',
  },
}
SCSS
$custom: #d631c4;
$custom-light: #e77cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#d631c4",
  "rgb": {
    "r": 214,
    "g": 49,
    "b": 196
  },
  "hsl": {
    "h": 306.545,
    "s": 66.802,
    "l": 51.569
  },
  "oklch": {
    "l": 0.62225,
    "c": 0.24669,
    "h": 333.2
  },
  "luminance": 0.20478
}

Semantic roles & 50–950 ramp

primary
#D631C4
secondary
#8DD695
accent
#EA513E
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#170B14
muted
#857C83

Preview Lab

Preview with #D631C4

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

Preview Lab → · Contrast checker → · Palette generator →

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