#C166BB#C166BB

#C166BB is a light, vivid purple. Relative luminance 0.244; OKLCH L 64.5% C 0.157 H 329.7°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#C166BB
RGBrgb(193, 102, 187)
HSLhsl(304, 42%, 58%)
HSVhsv(304, 47%, 76%)
CMYKcmyk(0%, 47.2%, 3.1%, 24.3%)
CIE-LABlab(56.52, 48.23, -29.11)
CIE-LCHlch(56.52, 56.33, 328.89°)
OKLaboklab(64.49% 0.1358 -0.0794)
OKLCHoklch(64.49% 0.157 329.7)
XYZxyz(35.7129, 24.4301, 49.8385)
Luminance0.2443 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C166BB #66C16C
analogous
#9966C1 #C166BB #C1668D
triadic
#C166BB #BBC166 #66BBC1
tetradic
#C166BB #C19966 #66C16C #668DC1
square
#C166BB #C19966 #66C16C #668DC1
split-complementary
#C166BB #8DC166 #66C199
monochromatic
#7B3276 #A643A0 #C166BB #D392CE #E4BDE2

Accessibility & contrast

On white

3.57
#C166BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#C166BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C166BB
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C166BB#FFFFFF#000000##000000
##C166BB1.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6180BE
Deuteranopia (green-blind)
#7B8CB8
Tritanopia (blue-blind)
#C76E88
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #c166bb;
/* rgb */ color: rgb(193, 102, 187);
/* oklch */ color: oklch(64.5% 0.157 329.7);
Tailwind
colors: {
  custom: {
    50: '#d695cf',
    500: '#c166bb',
    950: '#000000',
  },
}
SCSS
$custom: #c166bb;
$custom-light: #d695cf;
$custom-dark: #000000;
JSON
{
  "hex": "#c166bb",
  "rgb": {
    "r": 193,
    "g": 102,
    "b": 187
  },
  "hsl": {
    "h": 303.956,
    "s": 42.326,
    "l": 57.843
  },
  "oklch": {
    "l": 0.6449,
    "c": 0.15734,
    "h": 329.7
  },
  "luminance": 0.24428
}

Semantic roles & 50–950 ramp

primary
#C166BB
secondary
#AFD4B2
accent
#D25E56
background
#FDF9FC
surface
#FAF2F9
border
#D3CCD2
text
#150D14
muted
#837E82

Preview Lab

Preview with #C166BB

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

Preview Lab → · Contrast checker → · Palette generator →

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