#D167EC#D167EC

#D167EC is a light, highly saturated purple. Relative luminance 0.293; OKLCH L 69.0% C 0.211 H 319.1°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#D167EC
RGBrgb(209, 103, 236)
HSLhsl(288, 78%, 66%)
HSVhsv(288, 56%, 93%)
CMYKcmyk(11.4%, 56.4%, 0%, 7.5%)
CIE-LABlab(61.06, 61.22, -49.52)
CIE-LCHlch(61.06, 78.74, 321.03°)
OKLaboklab(69.02% 0.1591 -0.1379)
OKLCHoklch(69.02% 0.211 319.1)
XYZxyz(46.2831, 29.3138, 82.5608)
Luminance0.2931 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D167EC #82EC67
analogous
#8F67EC #D167EC #EC67C4
triadic
#D167EC #ECD167 #67ECD1
tetradic
#D167EC #EC8F67 #82EC67 #67C4EC
square
#D167EC #EC8F67 #82EC67 #67C4EC
split-complementary
#D167EC #C4EC67 #67EC8F
monochromatic
#9E18C1 #C131E5 #D167EC #E19DF3 #F2D4FA

Accessibility & contrast

On white

3.06
#D167EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#D167EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D167EC
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D167EC#FFFFFF#000000##000000
##D167EC1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8CF0
Deuteranopia (green-blind)
#6F97E9
Tritanopia (blue-blind)
#D17CA0
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d167ec;
/* rgb */ color: rgb(209, 103, 236);
/* oklch */ color: oklch(69.0% 0.211 319.1);
Tailwind
colors: {
  custom: {
    50: '#e297f3',
    500: '#d167ec',
    950: '#000000',
  },
}
SCSS
$custom: #d167ec;
$custom-light: #e297f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d167ec",
  "rgb": {
    "r": 209,
    "g": 103,
    "b": 236
  },
  "hsl": {
    "h": 287.82,
    "s": 77.778,
    "l": 66.471
  },
  "oklch": {
    "l": 0.69021,
    "c": 0.21052,
    "h": 319.1
  },
  "luminance": 0.29312
}

Semantic roles & 50–950 ramp

primary
#D167EC
secondary
#CBEDC2
accent
#DA0B35
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #D167EC

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

Preview Lab → · Contrast checker → · Palette generator →

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