#C166DA#C166DA

#C166DA is a light, vivid purple. Relative luminance 0.259; OKLCH L 66.0% C 0.187 H 318.6°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#C166DA
RGBrgb(193, 102, 218)
HSLhsl(287, 61%, 63%)
HSVhsv(287, 53%, 85%)
CMYKcmyk(11.5%, 53.2%, 0%, 14.5%)
CIE-LABlab(57.95, 54.07, -44.50)
CIE-LCHlch(57.95, 70.03, 320.55°)
OKLaboklab(66.01% 0.1403 -0.1237)
OKLCHoklch(66.01% 0.187 318.6)
XYZxyz(39.3969, 25.9037, 69.2407)
Luminance0.2590 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C166DA #7FDA66
analogous
#8766DA #C166DA #DA66B9
triadic
#C166DA #DAC166 #66DAC1
tetradic
#C166DA #DA8766 #7FDA66 #66B9DA
square
#C166DA #DA8766 #7FDA66 #66B9DA
split-complementary
#C166DA #B9DA66 #66DA87
monochromatic
#85269F #AD35CE #C166DA #D597E6 #E9C9F2

Accessibility & contrast

On white

3.40
#C166DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#C166DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C166DA
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C166DA#FFFFFF#000000##000000
##C166DA1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F85DE
Deuteranopia (green-blind)
#6C8ED7
Tritanopia (blue-blind)
#C17797
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #c166da;
/* rgb */ color: rgb(193, 102, 218);
/* oklch */ color: oklch(66.0% 0.187 318.6);
Tailwind
colors: {
  custom: {
    50: '#d695e6',
    500: '#c166da',
    950: '#000000',
  },
}
SCSS
$custom: #c166da;
$custom-light: #d695e6;
$custom-dark: #000000;
JSON
{
  "hex": "#c166da",
  "rgb": {
    "r": 193,
    "g": 102,
    "b": 218
  },
  "hsl": {
    "h": 287.069,
    "s": 61.053,
    "l": 62.745
  },
  "oklch": {
    "l": 0.66014,
    "c": 0.18703,
    "h": 318.6
  },
  "luminance": 0.25902
}

Semantic roles & 50–950 ramp

primary
#C166DA
secondary
#C2E3B9
accent
#C91D42
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C166DA

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

Preview Lab → · Contrast checker → · Palette generator →

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