#C166CC#C166CC

#C166CC is a light, vivid purple. Relative luminance 0.252; OKLCH L 65.3% C 0.173 H 323.2°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#C166CC
RGBrgb(193, 102, 204)
HSLhsl(294, 50%, 60%)
HSVhsv(294, 50%, 80%)
CMYKcmyk(5.4%, 50%, 0%, 20%)
CIE-LABlab(57.27, 51.36, -37.64)
CIE-LCHlch(57.27, 63.67, 323.76°)
OKLaboklab(65.3% 0.1387 -0.1038)
OKLCHoklch(65.3% 0.173 323.2)
XYZxyz(37.6417, 25.2016, 59.9967)
Luminance0.2520 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C166CC #71CC66
analogous
#8E66CC #C166CC #CC66A4
triadic
#C166CC #CCC166 #66CCC1
tetradic
#C166CC #CC8E66 #71CC66 #66A4CC
square
#C166CC #CC8E66 #71CC66 #66A4CC
split-complementary
#C166CC #A4CC66 #66CC8E
monochromatic
#802E8A #AA3DB8 #C166CC #D494DB #E6C2EB

Accessibility & contrast

On white

3.48
#C166CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#C166CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C166CC
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C166CC#FFFFFF#000000##000000
##C166CC1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5883CF
Deuteranopia (green-blind)
#738DC9
Tritanopia (blue-blind)
#C47390
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #c166cc;
/* rgb */ color: rgb(193, 102, 204);
/* oklch */ color: oklch(65.3% 0.173 323.2);
Tailwind
colors: {
  custom: {
    50: '#d695dc',
    500: '#c166cc',
    950: '#000000',
  },
}
SCSS
$custom: #c166cc;
$custom-light: #d695dc;
$custom-dark: #000000;
JSON
{
  "hex": "#c166cc",
  "rgb": {
    "r": 193,
    "g": 102,
    "b": 204
  },
  "hsl": {
    "h": 293.529,
    "s": 50,
    "l": 60
  },
  "oklch": {
    "l": 0.65297,
    "c": 0.17325,
    "h": 323.2
  },
  "luminance": 0.252
}

Semantic roles & 50–950 ramp

primary
#C166CC
secondary
#B8DBB3
accent
#DA4E5D
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #C166CC

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

Preview Lab → · Contrast checker → · Palette generator →

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