#C166D7#C166D7

#C166D7 is a light, vivid purple. Relative luminance 0.257; OKLCH L 65.9% C 0.184 H 319.5°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#C166D7
RGBrgb(193, 102, 215)
HSLhsl(288, 59%, 62%)
HSVhsv(288, 53%, 84%)
CMYKcmyk(10.2%, 52.6%, 0%, 15.7%)
CIE-LABlab(57.80, 53.48, -43.04)
CIE-LCHlch(57.80, 68.65, 321.17°)
OKLaboklab(65.86% 0.14 -0.1195)
OKLCHoklch(65.86% 0.184 319.5)
XYZxyz(39.0079, 25.7480, 67.1919)
Luminance0.2575 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C166D7 #7CD766
analogous
#8966D7 #C166D7 #D766B4
triadic
#C166D7 #D7C166 #66D7C1
tetradic
#C166D7 #D78966 #7CD766 #66B4D7
square
#C166D7 #D78966 #7CD766 #66B4D7
split-complementary
#C166D7 #B4D766 #66D789
monochromatic
#84289A #AD35CA #C166D7 #D597E4 #E8C7F0

Accessibility & contrast

On white

3.42
#C166D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#C166D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C166D7
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C166D7#FFFFFF#000000##000000
##C166D71.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5185DB
Deuteranopia (green-blind)
#6E8ED4
Tritanopia (blue-blind)
#C27695
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #c166d7;
/* rgb */ color: rgb(193, 102, 215);
/* oklch */ color: oklch(65.9% 0.184 319.5);
Tailwind
colors: {
  custom: {
    50: '#d695e4',
    500: '#c166d7',
    950: '#000000',
  },
}
SCSS
$custom: #c166d7;
$custom-light: #d695e4;
$custom-dark: #000000;
JSON
{
  "hex": "#c166d7",
  "rgb": {
    "r": 193,
    "g": 102,
    "b": 215
  },
  "hsl": {
    "h": 288.319,
    "s": 58.549,
    "l": 62.157
  },
  "oklch": {
    "l": 0.65857,
    "c": 0.18403,
    "h": 319.5
  },
  "luminance": 0.25746
}

Semantic roles & 50–950 ramp

primary
#C166D7
secondary
#C0E1B8
accent
#C61F40
background
#FDF9FE
surface
#FAF2FC
border
#D3CCD5
text
#150E15
muted
#837E84

Preview Lab

Preview with #C166D7

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

Preview Lab → · Contrast checker → · Palette generator →

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