#D164F7#D164F7

#D164F7 is a light, highly saturated purple. Relative luminance 0.294; OKLCH L 69.3% C 0.225 H 316.4°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#D164F7
RGBrgb(209, 100, 247)
HSLhsl(284, 90%, 68%)
HSVhsv(284, 60%, 97%)
CMYKcmyk(15.4%, 59.5%, 0%, 3.1%)
CIE-LABlab(61.12, 64.75, -55.52)
CIE-LCHlch(61.12, 85.29, 319.39°)
OKLaboklab(69.25% 0.1632 -0.1553)
OKLCHoklch(69.25% 0.225 316.4)
XYZxyz(47.6376, 29.3868, 91.1405)
Luminance0.2939 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D164F7 #8AF764
analogous
#8764F7 #D164F7 #F764D3
triadic
#D164F7 #F7D164 #64F7D1
tetradic
#D164F7 #F78764 #8AF764 #64D3F7
square
#D164F7 #F78764 #8AF764 #64D3F7
split-complementary
#D164F7 #D3F764 #64F787
monochromatic
#A10BD6 #C02AF4 #D164F7 #E29EFA #F4D8FD

Accessibility & contrast

On white

3.05
#D164F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#D164F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D164F7
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D164F7#FFFFFF#000000##000000
##D164F71.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#398DFC
Deuteranopia (green-blind)
#6697F3
Tritanopia (blue-blind)
#CF7DA5
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d164f7;
/* rgb */ color: rgb(209, 100, 247);
/* oklch */ color: oklch(69.3% 0.225 316.4);
Tailwind
colors: {
  custom: {
    50: '#e296fa',
    500: '#d164f7',
    950: '#000000',
  },
}
SCSS
$custom: #d164f7;
$custom-light: #e296fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d164f7",
  "rgb": {
    "r": 209,
    "g": 100,
    "b": 247
  },
  "hsl": {
    "h": 284.49,
    "s": 90.184,
    "l": 68.039
  },
  "oklch": {
    "l": 0.69254,
    "c": 0.22532,
    "h": 316.4
  },
  "luminance": 0.29385
}

Semantic roles & 50–950 ramp

primary
#D164F7
secondary
#D1F2C5
accent
#E6003B
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D164F7

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

Preview Lab → · Contrast checker → · Palette generator →

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