#D671EC#D671EC

#D671EC is a light, vivid purple. Relative luminance 0.322; OKLCH L 70.9% C 0.198 H 320.2°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#D671EC
RGBrgb(214, 113, 236)
HSLhsl(289, 76%, 68%)
HSVhsv(289, 52%, 93%)
CMYKcmyk(9.3%, 52.1%, 0%, 7.5%)
CIE-LABlab(63.48, 57.72, -45.65)
CIE-LCHlch(63.48, 73.59, 321.66°)
OKLaboklab(70.93% 0.152 -0.1266)
OKLCHoklch(70.93% 0.198 320.2)
XYZxyz(48.7752, 32.1645, 82.9798)
Luminance0.3216 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D671EC #87EC71
analogous
#9871EC #D671EC #EC71C5
triadic
#D671EC #ECD671 #71ECD6
tetradic
#D671EC #EC9871 #87EC71 #71C5EC
square
#D671EC #EC9871 #87EC71 #71C5EC
split-complementary
#D671EC #C5EC71 #71EC98
monochromatic
#A91BC8 #C63BE5 #D671EC #E6A7F3 #F5DDFA

Accessibility & contrast

On white

2.83
#D671EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#D671EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D671EC
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D671EC#FFFFFF#000000##000000
##D671EC1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B93F0
Deuteranopia (green-blind)
#7B9DE9
Tritanopia (blue-blind)
#D782A4
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d671ec;
/* rgb */ color: rgb(214, 113, 236);
/* oklch */ color: oklch(70.9% 0.198 320.2);
Tailwind
colors: {
  custom: {
    50: '#e59ef2',
    500: '#d671ec',
    950: '#000000',
  },
}
SCSS
$custom: #d671ec;
$custom-light: #e59ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#d671ec",
  "rgb": {
    "r": 214,
    "g": 113,
    "b": 236
  },
  "hsl": {
    "h": 289.268,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.70931,
    "c": 0.19784,
    "h": 320.2
  },
  "luminance": 0.32163
}

Semantic roles & 50–950 ramp

primary
#D671EC
secondary
#D1EFCA
accent
#D90D31
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160F17
muted
#847E85

Preview Lab

Preview with #D671EC

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

Preview Lab → · Contrast checker → · Palette generator →

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