#D631E2#D631E2

#D631E2 is a light, highly saturated purple. Relative luminance 0.220; OKLCH L 63.9% C 0.268 H 325.0°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#D631E2
RGBrgb(214, 49, 226)
HSLhsl(296, 75%, 54%)
HSVhsv(296, 78%, 89%)
CMYKcmyk(5.3%, 78.3%, 0%, 11.4%)
CIE-LABlab(54.01, 80.73, -55.08)
CIE-LCHlch(54.01, 97.73, 325.70°)
OKLaboklab(63.92% 0.2195 -0.1536)
OKLCHoklch(63.92% 0.268 325)
XYZxyz(42.5563, 21.9866, 73.9391)
Luminance0.2198 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D631E2 #3DE231
analogous
#7E31E2 #D631E2 #E23196
triadic
#D631E2 #E2D631 #31E2D6
tetradic
#D631E2 #E27E31 #3DE231 #3196E2
square
#D631E2 #E27E31 #3DE231 #3196E2
split-complementary
#D631E2 #96E231 #31E27E
monochromatic
#7E1386 #B01ABB #D631E2 #E167EA #EB9CF1

Accessibility & contrast

On white

3.89
#D631E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#D631E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D631E2
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D631E2#FFFFFF#000000##000000
##D631E21.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E7
Deuteranopia (green-blind)
#5988DE
Tritanopia (blue-blind)
#DB548A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d631e2;
/* rgb */ color: rgb(214, 49, 226);
/* oklch */ color: oklch(63.9% 0.268 325.0);
Tailwind
colors: {
  custom: {
    50: '#e77dec',
    500: '#d631e2',
    950: '#000000',
  },
}
SCSS
$custom: #d631e2;
$custom-light: #e77dec;
$custom-dark: #000000;
JSON
{
  "hex": "#d631e2",
  "rgb": {
    "r": 214,
    "g": 49,
    "b": 226
  },
  "hsl": {
    "h": 295.932,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.63916,
    "c": 0.26788,
    "h": 325
  },
  "luminance": 0.21984
}

Semantic roles & 50–950 ramp

primary
#D631E2
secondary
#97DD92
accent
#F23643
background
#FEF8FE
surface
#FDEFFD
border
#D5CAD5
text
#170B16
muted
#857C84

Preview Lab

Preview with #D631E2

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

Preview Lab → · Contrast checker → · Palette generator →

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