#C166B7#C166B7

#C166B7 is a light, vivid purple. Relative luminance 0.243; OKLCH L 64.3% C 0.154 H 331.4°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#C166B7
RGBrgb(193, 102, 183)
HSLhsl(307, 42%, 58%)
HSVhsv(307, 47%, 76%)
CMYKcmyk(0%, 47.2%, 5.2%, 24.3%)
CIE-LABlab(56.35, 47.53, -27.07)
CIE-LCHlch(56.35, 54.69, 330.34°)
OKLaboklab(64.31% 0.135 -0.0736)
OKLCHoklch(64.31% 0.154 331.4)
XYZxyz(35.2907, 24.2612, 47.6146)
Luminance0.2426 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C166B7 #66C170
analogous
#9D66C1 #C166B7 #C1668A
triadic
#C166B7 #B7C166 #66B7C1
tetradic
#C166B7 #C19D66 #66C170 #668AC1
square
#C166B7 #C19D66 #66C170 #668AC1
split-complementary
#C166B7 #8AC166 #66C19D
monochromatic
#7B3273 #A6439C #C166B7 #D392CB #E4BDE0

Accessibility & contrast

On white

3.59
#C166B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#C166B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C166B7
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C166B7#FFFFFF#000000##000000
##C166B71.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#637FBA
Deuteranopia (green-blind)
#7C8CB4
Tritanopia (blue-blind)
#C86D86
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #c166b7;
/* rgb */ color: rgb(193, 102, 183);
/* oklch */ color: oklch(64.3% 0.154 331.4);
Tailwind
colors: {
  custom: {
    50: '#d695cd',
    500: '#c166b7',
    950: '#000000',
  },
}
SCSS
$custom: #c166b7;
$custom-light: #d695cd;
$custom-dark: #000000;
JSON
{
  "hex": "#c166b7",
  "rgb": {
    "r": 193,
    "g": 102,
    "b": 183
  },
  "hsl": {
    "h": 306.593,
    "s": 42.326,
    "l": 57.843
  },
  "oklch": {
    "l": 0.64311,
    "c": 0.1538,
    "h": 331.4
  },
  "luminance": 0.24259
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C166B7

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

Preview Lab → · Contrast checker → · Palette generator →

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