#D672EC#D672EC

#D672EC is a light, vivid purple. Relative luminance 0.324; OKLCH L 71.1% C 0.196 H 320.2°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#D672EC
RGBrgb(214, 114, 236)
HSLhsl(289, 76%, 69%)
HSVhsv(289, 52%, 93%)
CMYKcmyk(9.3%, 51.7%, 0%, 7.5%)
CIE-LABlab(63.66, 57.24, -45.36)
CIE-LCHlch(63.66, 73.03, 321.60°)
OKLaboklab(71.07% 0.1507 -0.1258)
OKLCHoklch(71.07% 0.196 320.2)
XYZxyz(48.8873, 32.3889, 83.0171)
Luminance0.3239 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D672EC #88EC72
analogous
#9972EC #D672EC #EC72C5
triadic
#D672EC #ECD672 #72ECD6
tetradic
#D672EC #EC9972 #88EC72 #72C5EC
square
#D672EC #EC9972 #88EC72 #72C5EC
split-complementary
#D672EC #C5EC72 #72EC99
monochromatic
#A91BC9 #C63CE5 #D672EC #E6A8F3 #F5DEFB

Accessibility & contrast

On white

2.81
#D672EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#D672EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D672EC
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D672EC#FFFFFF#000000##000000
##D672EC1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C93F0
Deuteranopia (green-blind)
#7C9EE9
Tritanopia (blue-blind)
#D783A5
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d672ec;
/* rgb */ color: rgb(214, 114, 236);
/* oklch */ color: oklch(71.1% 0.196 320.2);
Tailwind
colors: {
  custom: {
    50: '#e59ef2',
    500: '#d672ec',
    950: '#000000',
  },
}
SCSS
$custom: #d672ec;
$custom-light: #e59ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#d672ec",
  "rgb": {
    "r": 214,
    "g": 114,
    "b": 236
  },
  "hsl": {
    "h": 289.18,
    "s": 76.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.71067,
    "c": 0.19629,
    "h": 320.2
  },
  "luminance": 0.32387
}

Semantic roles & 50–950 ramp

primary
#D672EC
secondary
#D1EFCB
accent
#D80D32
background
#FEFAFE
surface
#FDF3FD
border
#D5CDD5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D672EC

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

Preview Lab → · Contrast checker → · Palette generator →

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