#D167F2#D167F2

#D167F2 is a light, highly saturated purple. Relative luminance 0.297; OKLCH L 69.3% C 0.216 H 317.5°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#D167F2
RGBrgb(209, 103, 242)
HSLhsl(286, 84%, 68%)
HSVhsv(286, 57%, 95%)
CMYKcmyk(13.6%, 57.4%, 0%, 5.1%)
CIE-LABlab(61.37, 62.38, -52.36)
CIE-LCHlch(61.37, 81.44, 319.99°)
OKLaboklab(69.35% 0.1594 -0.1461)
OKLCHoklch(69.35% 0.216 317.5)
XYZxyz(47.1695, 29.6684, 87.2291)
Luminance0.2967 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D167F2 #88F267
analogous
#8B67F2 #D167F2 #F267CE
triadic
#D167F2 #F2D167 #67F2D1
tetradic
#D167F2 #F28B67 #88F267 #67CEF2
square
#D167F2 #F28B67 #88F267 #67CEF2
split-complementary
#D167F2 #CEF267 #67F28B
monochromatic
#A112CD #C02FED #D167F2 #E29FF7 #F3D8FC

Accessibility & contrast

On white

3.03
#D167F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#D167F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D167F2
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D167F2#FFFFFF#000000##000000
##D167F21.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#448DF6
Deuteranopia (green-blind)
#6C98EE
Tritanopia (blue-blind)
#D07EA3
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d167f2;
/* rgb */ color: rgb(209, 103, 242);
/* oklch */ color: oklch(69.3% 0.216 317.5);
Tailwind
colors: {
  custom: {
    50: '#e297f7',
    500: '#d167f2',
    950: '#000000',
  },
}
SCSS
$custom: #d167f2;
$custom-light: #e297f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d167f2",
  "rgb": {
    "r": 209,
    "g": 103,
    "b": 242
  },
  "hsl": {
    "h": 285.755,
    "s": 84.242,
    "l": 67.647
  },
  "oklch": {
    "l": 0.69347,
    "c": 0.21627,
    "h": 317.5
  },
  "luminance": 0.29667
}

Semantic roles & 50–950 ramp

primary
#D167F2
secondary
#CFF0C5
accent
#E10539
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D167F2

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

Preview Lab → · Contrast checker → · Palette generator →

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