#C164D5#C164D5

#C164D5 is a light, vivid purple. Relative luminance 0.253; OKLCH L 65.5% C 0.185 H 320.3°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#C164D5
RGBrgb(193, 100, 213)
HSLhsl(289, 57%, 61%)
HSVhsv(289, 53%, 84%)
CMYKcmyk(9.4%, 53.1%, 0%, 16.5%)
CIE-LABlab(57.33, 54.08, -42.65)
CIE-LCHlch(57.33, 68.88, 321.74°)
OKLaboklab(65.48% 0.1425 -0.1183)
OKLCHoklch(65.48% 0.185 320.3)
XYZxyz(38.5583, 25.2575, 65.7820)
Luminance0.2526 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C164D5 #78D564
analogous
#8964D5 #C164D5 #D564B0
triadic
#C164D5 #D5C164 #64D5C1
tetradic
#C164D5 #D58964 #78D564 #64B0D5
square
#C164D5 #D58964 #78D564 #64B0D5
split-complementary
#C164D5 #B0D564 #64D589
monochromatic
#832996 #AD36C6 #C164D5 #D494E2 #E8C4EF

Accessibility & contrast

On white

3.47
#C164D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#C164D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C164D5
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C164D5#FFFFFF#000000##000000
##C164D51.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F83D9
Deuteranopia (green-blind)
#6D8DD2
Tritanopia (blue-blind)
#C27493
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #c164d5;
/* rgb */ color: rgb(193, 100, 213);
/* oklch */ color: oklch(65.5% 0.185 320.3);
Tailwind
colors: {
  custom: {
    50: '#d694e2',
    500: '#c164d5',
    950: '#000000',
  },
}
SCSS
$custom: #c164d5;
$custom-light: #d694e2;
$custom-dark: #000000;
JSON
{
  "hex": "#c164d5",
  "rgb": {
    "r": 193,
    "g": 100,
    "b": 213
  },
  "hsl": {
    "h": 289.381,
    "s": 57.36,
    "l": 61.373
  },
  "oklch": {
    "l": 0.65478,
    "c": 0.18519,
    "h": 320.3
  },
  "luminance": 0.25256
}

Semantic roles & 50–950 ramp

primary
#C164D5
secondary
#BDE0B5
accent
#C5213E
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #C164D5

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

Preview Lab → · Contrast checker → · Palette generator →

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