#C166B8#C166B8

#C166B8 is a light, vivid purple. Relative luminance 0.243; OKLCH L 64.4% C 0.155 H 331.0°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#C166B8
RGBrgb(193, 102, 184)
HSLhsl(306, 42%, 58%)
HSVhsv(306, 47%, 76%)
CMYKcmyk(0%, 47.2%, 4.7%, 24.3%)
CIE-LABlab(56.39, 47.70, -27.58)
CIE-LCHlch(56.39, 55.10, 329.97°)
OKLaboklab(64.35% 0.1352 -0.0751)
OKLCHoklch(64.35% 0.155 331)
XYZxyz(35.3951, 24.3029, 48.1647)
Luminance0.2430 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C166B8 #66C16F
analogous
#9C66C1 #C166B8 #C1668A
triadic
#C166B8 #B8C166 #66B8C1
tetradic
#C166B8 #C19C66 #66C16F #668AC1
square
#C166B8 #C19C66 #66C16F #668AC1
split-complementary
#C166B8 #8AC166 #66C19C
monochromatic
#7B3274 #A6439D #C166B8 #D392CC #E4BDE0

Accessibility & contrast

On white

3.58
#C166B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#C166B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C166B8
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C166B8#FFFFFF#000000##000000
##C166B81.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#627FBB
Deuteranopia (green-blind)
#7C8CB5
Tritanopia (blue-blind)
#C76D86
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #c166b8;
/* rgb */ color: rgb(193, 102, 184);
/* oklch */ color: oklch(64.4% 0.155 331.0);
Tailwind
colors: {
  custom: {
    50: '#d695cd',
    500: '#c166b8',
    950: '#000000',
  },
}
SCSS
$custom: #c166b8;
$custom-light: #d695cd;
$custom-dark: #000000;
JSON
{
  "hex": "#c166b8",
  "rgb": {
    "r": 193,
    "g": 102,
    "b": 184
  },
  "hsl": {
    "h": 305.934,
    "s": 42.326,
    "l": 57.843
  },
  "oklch": {
    "l": 0.64355,
    "c": 0.15467,
    "h": 331
  },
  "luminance": 0.24301
}

Semantic roles & 50–950 ramp

primary
#C166B8
secondary
#AFD4B3
accent
#D26256
background
#FDF9FC
surface
#FAF2F9
border
#D3CCD2
text
#140D13
muted
#837E82

Preview Lab

Preview with #C166B8

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

Preview Lab → · Contrast checker → · Palette generator →

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