#C166BA#C166BA

#C166BA is a light, vivid purple. Relative luminance 0.244; OKLCH L 64.4% C 0.156 H 330.1°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#C166BA
RGBrgb(193, 102, 186)
HSLhsl(305, 42%, 58%)
HSVhsv(305, 47%, 76%)
CMYKcmyk(0%, 47.2%, 3.6%, 24.3%)
CIE-LABlab(56.47, 48.05, -28.60)
CIE-LCHlch(56.47, 55.92, 329.24°)
OKLaboklab(64.44% 0.1356 -0.078)
OKLCHoklch(64.44% 0.156 330.1)
XYZxyz(35.6062, 24.3874, 49.2766)
Luminance0.2439 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C166BA #66C16D
analogous
#9A66C1 #C166BA #C1668D
triadic
#C166BA #BAC166 #66BAC1
tetradic
#C166BA #C19A66 #66C16D #668DC1
square
#C166BA #C19A66 #66C16D #668DC1
split-complementary
#C166BA #8DC166 #66C19A
monochromatic
#7B3275 #A6439F #C166BA #D392CE #E4BDE1

Accessibility & contrast

On white

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

On black

5.88
#C166BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C166BA
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C166BA#FFFFFF#000000##000000
##C166BA1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6180BD
Deuteranopia (green-blind)
#7B8CB7
Tritanopia (blue-blind)
#C76D87
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #c166ba;
/* rgb */ color: rgb(193, 102, 186);
/* oklch */ color: oklch(64.4% 0.156 330.1);
Tailwind
colors: {
  custom: {
    50: '#d695cf',
    500: '#c166ba',
    950: '#000000',
  },
}
SCSS
$custom: #c166ba;
$custom-light: #d695cf;
$custom-dark: #000000;
JSON
{
  "hex": "#c166ba",
  "rgb": {
    "r": 193,
    "g": 102,
    "b": 186
  },
  "hsl": {
    "h": 304.615,
    "s": 42.326,
    "l": 57.843
  },
  "oklch": {
    "l": 0.64445,
    "c": 0.15645,
    "h": 330.1
  },
  "luminance": 0.24385
}

Semantic roles & 50–950 ramp

primary
#C166BA
secondary
#AFD4B2
accent
#D25F56
background
#FDF9FC
surface
#FAF2F9
border
#D3CCD2
text
#140D13
muted
#837E82

Preview Lab

Preview with #C166BA

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

Preview Lab → · Contrast checker → · Palette generator →

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