#C166CA#C166CA

#C166CA is a light, vivid purple. Relative luminance 0.251; OKLCH L 65.2% C 0.171 H 323.9°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#C166CA
RGBrgb(193, 102, 202)
HSLhsl(295, 49%, 60%)
HSVhsv(295, 50%, 79%)
CMYKcmyk(4.5%, 49.5%, 0%, 20.8%)
CIE-LABlab(57.18, 50.98, -36.64)
CIE-LCHlch(57.18, 62.78, 324.29°)
OKLaboklab(65.2% 0.1384 -0.101)
OKLCHoklch(65.2% 0.171 323.9)
XYZxyz(37.4034, 25.1062, 58.7415)
Luminance0.2510 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C166CA #6FCA66
analogous
#8F66CA #C166CA #CA66A1
triadic
#C166CA #CAC166 #66CAC1
tetradic
#C166CA #CA8F66 #6FCA66 #66A1CA
square
#C166CA #CA8F66 #6FCA66 #66A1CA
split-complementary
#C166CA #A1CA66 #66CA8F
monochromatic
#7F2F87 #AA3EB4 #C166CA #D393DA #E6C1E9

Accessibility & contrast

On white

3.49
#C166CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#C166CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C166CA
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C166CA#FFFFFF#000000##000000
##C166CA1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5982CD
Deuteranopia (green-blind)
#748DC7
Tritanopia (blue-blind)
#C4728F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #c166ca;
/* rgb */ color: rgb(193, 102, 202);
/* oklch */ color: oklch(65.2% 0.171 323.9);
Tailwind
colors: {
  custom: {
    50: '#d695da',
    500: '#c166ca',
    950: '#000000',
  },
}
SCSS
$custom: #c166ca;
$custom-light: #d695da;
$custom-dark: #000000;
JSON
{
  "hex": "#c166ca",
  "rgb": {
    "r": 193,
    "g": 102,
    "b": 202
  },
  "hsl": {
    "h": 294.6,
    "s": 48.544,
    "l": 59.608
  },
  "oklch": {
    "l": 0.65199,
    "c": 0.17131,
    "h": 323.9
  },
  "luminance": 0.25104
}

Semantic roles & 50–950 ramp

primary
#C166CA
secondary
#B6D9B2
accent
#D8505C
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #C166CA

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

Preview Lab → · Contrast checker → · Palette generator →

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