#D165CC#D165CC

#D165CC is a light, vivid purple. Relative luminance 0.272; OKLCH L 67.1% C 0.184 H 329.2°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#D165CC
RGBrgb(209, 101, 204)
HSLhsl(303, 54%, 61%)
HSVhsv(303, 52%, 82%)
CMYKcmyk(0%, 51.7%, 2.4%, 18%)
CIE-LABlab(59.18, 56.31, -34.50)
CIE-LCHlch(59.18, 66.04, 328.51°)
OKLaboklab(67.15% 0.1583 -0.0945)
OKLCHoklch(67.15% 0.184 329.2)
XYZxyz(41.8468, 27.2248, 60.1658)
Luminance0.2722 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D165CC #65D16A
analogous
#A065D1 #D165CC #D16596
triadic
#D165CC #CCD165 #65CCD1
tetradic
#D165CC #D1A065 #65D16A #6596D1
square
#D165CC #D1A065 #65D16A #6596D1
split-complementary
#D165CC #96D165 #65D1A0
monochromatic
#902B8C #C039B9 #D165CC #DF94DC #EDC3EB

Accessibility & contrast

On white

3.26
#D165CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#D165CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D165CC
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D165CC#FFFFFF#000000##000000
##D165CC1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D85CF
Deuteranopia (green-blind)
#7E94C9
Tritanopia (blue-blind)
#D76F8F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d165cc;
/* rgb */ color: rgb(209, 101, 204);
/* oklch */ color: oklch(67.1% 0.184 329.2);
Tailwind
colors: {
  custom: {
    50: '#e195dc',
    500: '#d165cc',
    950: '#000000',
  },
}
SCSS
$custom: #d165cc;
$custom-light: #e195dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d165cc",
  "rgb": {
    "r": 209,
    "g": 101,
    "b": 204
  },
  "hsl": {
    "h": 302.778,
    "s": 54,
    "l": 60.784
  },
  "oklch": {
    "l": 0.67147,
    "c": 0.18432,
    "h": 329.2
  },
  "luminance": 0.27222
}

Semantic roles & 50–950 ramp

primary
#D165CC
secondary
#B4DDB6
accent
#C12B24
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160E15
muted
#847E83

Preview Lab

Preview with #D165CC

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

Preview Lab → · Contrast checker → · Palette generator →

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