#D670EC#D670EC

#D670EC is a light, vivid purple. Relative luminance 0.319; OKLCH L 70.8% C 0.199 H 320.3°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#D670EC
RGBrgb(214, 112, 236)
HSLhsl(289, 77%, 68%)
HSVhsv(289, 53%, 93%)
CMYKcmyk(9.3%, 52.5%, 0%, 7.5%)
CIE-LABlab(63.30, 58.21, -45.94)
CIE-LCHlch(63.30, 74.15, 321.72°)
OKLaboklab(70.8% 0.1533 -0.1274)
OKLCHoklch(70.8% 0.199 320.3)
XYZxyz(48.6642, 31.9426, 82.9428)
Luminance0.3194 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D670EC #86EC70
analogous
#9870EC #D670EC #EC70C4
triadic
#D670EC #ECD670 #70ECD6
tetradic
#D670EC #EC9870 #86EC70 #70C4EC
square
#D670EC #EC9870 #86EC70 #70C4EC
split-complementary
#D670EC #C4EC70 #70EC98
monochromatic
#A91AC7 #C73AE5 #D670EC #E5A6F3 #F5DCFA

Accessibility & contrast

On white

2.84
#D670EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#D670EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D670EC
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D670EC#FFFFFF#000000##000000
##D670EC1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A92F0
Deuteranopia (green-blind)
#7A9DE9
Tritanopia (blue-blind)
#D782A4
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d670ec;
/* rgb */ color: rgb(214, 112, 236);
/* oklch */ color: oklch(70.8% 0.199 320.3);
Tailwind
colors: {
  custom: {
    50: '#e59df2',
    500: '#d670ec',
    950: '#000000',
  },
}
SCSS
$custom: #d670ec;
$custom-light: #e59df2;
$custom-dark: #000000;
JSON
{
  "hex": "#d670ec",
  "rgb": {
    "r": 214,
    "g": 112,
    "b": 236
  },
  "hsl": {
    "h": 289.355,
    "s": 76.543,
    "l": 68.235
  },
  "oklch": {
    "l": 0.70796,
    "c": 0.19938,
    "h": 320.3
  },
  "luminance": 0.31941
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D670EC

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

Preview Lab → · Contrast checker → · Palette generator →

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