#C166C0#C166C0

#C166C0 is a light, vivid purple. Relative luminance 0.246; OKLCH L 64.7% C 0.162 H 327.6°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#C166C0
RGBrgb(193, 102, 192)
HSLhsl(301, 42%, 58%)
HSVhsv(301, 47%, 76%)
CMYKcmyk(0%, 47.2%, 0.5%, 24.3%)
CIE-LABlab(56.73, 49.13, -31.64)
CIE-LCHlch(56.73, 58.44, 327.22°)
OKLaboklab(64.72% 0.1368 -0.0866)
OKLCHoklch(64.72% 0.162 327.6)
XYZxyz(36.2575, 24.6479, 52.7067)
Luminance0.2465 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C166C0 #66C167
analogous
#9466C1 #C166C0 #C16693
triadic
#C166C0 #C0C166 #66C0C1
tetradic
#C166C0 #C19466 #66C167 #6693C1
square
#C166C0 #C19466 #66C167 #6693C1
split-complementary
#C166C0 #93C166 #66C194
monochromatic
#7B327A #A643A5 #C166C0 #D392D2 #E4BDE4

Accessibility & contrast

On white

3.54
#C166C0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#C166C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C166C0
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C166C0#FFFFFF#000000##000000
##C166C01.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E81C3
Deuteranopia (green-blind)
#798CBD
Tritanopia (blue-blind)
#C66F8A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #c166c0;
/* rgb */ color: rgb(193, 102, 192);
/* oklch */ color: oklch(64.7% 0.162 327.6);
Tailwind
colors: {
  custom: {
    50: '#d695d3',
    500: '#c166c0',
    950: '#000000',
  },
}
SCSS
$custom: #c166c0;
$custom-light: #d695d3;
$custom-dark: #000000;
JSON
{
  "hex": "#c166c0",
  "rgb": {
    "r": 193,
    "g": 102,
    "b": 192
  },
  "hsl": {
    "h": 300.659,
    "s": 42.326,
    "l": 57.843
  },
  "oklch": {
    "l": 0.6472,
    "c": 0.1619,
    "h": 327.6
  },
  "luminance": 0.24646
}

Semantic roles & 50–950 ramp

primary
#C166C0
secondary
#AFD4B0
accent
#D25756
background
#FDF9FD
surface
#FAF2FA
border
#D3CCD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #C166C0

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

Preview Lab → · Contrast checker → · Palette generator →

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