#C166D8#C166D8

#C166D8 is a light, vivid purple. Relative luminance 0.258; OKLCH L 65.9% C 0.185 H 319.2°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#C166D8
RGBrgb(193, 102, 216)
HSLhsl(288, 59%, 62%)
HSVhsv(288, 53%, 85%)
CMYKcmyk(10.6%, 52.8%, 0%, 15.3%)
CIE-LABlab(57.85, 53.68, -43.52)
CIE-LCHlch(57.85, 69.11, 320.96°)
OKLaboklab(65.91% 0.1401 -0.1209)
OKLCHoklch(65.91% 0.185 319.2)
XYZxyz(39.1368, 25.7996, 67.8707)
Luminance0.2580 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C166D8 #7DD866
analogous
#8866D8 #C166D8 #D866B6
triadic
#C166D8 #D8C166 #66D8C1
tetradic
#C166D8 #D88866 #7DD866 #66B6D8
square
#C166D8 #D88866 #7DD866 #66B6D8
split-complementary
#C166D8 #B6D866 #66D888
monochromatic
#84289C #AD35CC #C166D8 #D597E4 #E9C8F1

Accessibility & contrast

On white

3.41
#C166D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#C166D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C166D8
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C166D8#FFFFFF#000000##000000
##C166D81.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5085DC
Deuteranopia (green-blind)
#6D8ED5
Tritanopia (blue-blind)
#C27796
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #c166d8;
/* rgb */ color: rgb(193, 102, 216);
/* oklch */ color: oklch(65.9% 0.185 319.2);
Tailwind
colors: {
  custom: {
    50: '#d695e4',
    500: '#c166d8',
    950: '#000000',
  },
}
SCSS
$custom: #c166d8;
$custom-light: #d695e4;
$custom-dark: #000000;
JSON
{
  "hex": "#c166d8",
  "rgb": {
    "r": 193,
    "g": 102,
    "b": 216
  },
  "hsl": {
    "h": 287.895,
    "s": 59.375,
    "l": 62.353
  },
  "oklch": {
    "l": 0.65909,
    "c": 0.18503,
    "h": 319.2
  },
  "luminance": 0.25798
}

Semantic roles & 50–950 ramp

primary
#C166D8
secondary
#C0E2B8
accent
#C71E40
background
#FDF9FE
surface
#FAF2FC
border
#D3CCD5
text
#150E15
muted
#837E84

Preview Lab

Preview with #C166D8

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

Preview Lab → · Contrast checker → · Palette generator →

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