#C166C2#C166C2

#C166C2 is a light, vivid purple. Relative luminance 0.247; OKLCH L 64.8% C 0.164 H 326.9°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#C166C2
RGBrgb(193, 102, 194)
HSLhsl(299, 43%, 58%)
HSVhsv(299, 47%, 76%)
CMYKcmyk(0.5%, 47.4%, 0%, 23.9%)
CIE-LABlab(56.82, 49.49, -32.65)
CIE-LCHlch(56.82, 59.29, 326.59°)
OKLaboklab(64.81% 0.1371 -0.0895)
OKLCHoklch(64.81% 0.164 326.9)
XYZxyz(36.4806, 24.7371, 53.8817)
Luminance0.2473 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C166C2 #67C266
analogous
#9366C2 #C166C2 #C26695
triadic
#C166C2 #C2C166 #66C2C1
tetradic
#C166C2 #C29366 #67C266 #6695C2
square
#C166C2 #C29366 #67C266 #6695C2
split-complementary
#C166C2 #95C266 #66C293
monochromatic
#7B317C #A743A8 #C166C2 #D392D3 #E4BEE5

Accessibility & contrast

On white

3.53
#C166C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#C166C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C166C2
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C166C2#FFFFFF#000000##000000
##C166C21.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D81C5
Deuteranopia (green-blind)
#788CBF
Tritanopia (blue-blind)
#C6708B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #c166c2;
/* rgb */ color: rgb(193, 102, 194);
/* oklch */ color: oklch(64.8% 0.164 326.9);
Tailwind
colors: {
  custom: {
    50: '#d695d4',
    500: '#c166c2',
    950: '#000000',
  },
}
SCSS
$custom: #c166c2;
$custom-light: #d695d4;
$custom-dark: #000000;
JSON
{
  "hex": "#c166c2",
  "rgb": {
    "r": 193,
    "g": 102,
    "b": 194
  },
  "hsl": {
    "h": 299.348,
    "s": 42.991,
    "l": 58.039
  },
  "oklch": {
    "l": 0.64814,
    "c": 0.16376,
    "h": 326.9
  },
  "luminance": 0.24735
}

Semantic roles & 50–950 ramp

primary
#C166C2
secondary
#B0D4B0
accent
#D35556
background
#FDF9FD
surface
#FAF2FA
border
#D3CCD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #C166C2

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

Preview Lab → · Contrast checker → · Palette generator →

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