#C166BF#C166BF

#C166BF is a light, vivid purple. Relative luminance 0.246; OKLCH L 64.7% C 0.161 H 328.0°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#C166BF
RGBrgb(193, 102, 191)
HSLhsl(301, 42%, 58%)
HSVhsv(301, 47%, 76%)
CMYKcmyk(0%, 47.2%, 1%, 24.3%)
CIE-LABlab(56.69, 48.95, -31.13)
CIE-LCHlch(56.69, 58.01, 327.54°)
OKLaboklab(64.67% 0.1366 -0.0852)
OKLCHoklch(64.67% 0.161 328)
XYZxyz(36.1471, 24.6037, 52.1251)
Luminance0.2460 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C166BF #66C168
analogous
#9666C1 #C166BF #C16691
triadic
#C166BF #BFC166 #66BFC1
tetradic
#C166BF #C19666 #66C168 #6691C1
square
#C166BF #C19666 #66C168 #6691C1
split-complementary
#C166BF #91C166 #66C196
monochromatic
#7B3279 #A643A4 #C166BF #D392D1 #E4BDE3

Accessibility & contrast

On white

3.55
#C166BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#C166BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C166BF
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C166BF#FFFFFF#000000##000000
##C166BF1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F80C2
Deuteranopia (green-blind)
#798CBC
Tritanopia (blue-blind)
#C66F8A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #c166bf;
/* rgb */ color: rgb(193, 102, 191);
/* oklch */ color: oklch(64.7% 0.161 328.0);
Tailwind
colors: {
  custom: {
    50: '#d695d2',
    500: '#c166bf',
    950: '#000000',
  },
}
SCSS
$custom: #c166bf;
$custom-light: #d695d2;
$custom-dark: #000000;
JSON
{
  "hex": "#c166bf",
  "rgb": {
    "r": 193,
    "g": 102,
    "b": 191
  },
  "hsl": {
    "h": 301.319,
    "s": 42.326,
    "l": 57.843
  },
  "oklch": {
    "l": 0.64674,
    "c": 0.16098,
    "h": 328
  },
  "luminance": 0.24602
}

Semantic roles & 50–950 ramp

primary
#C166BF
secondary
#AFD4B0
accent
#D25856
background
#FDF9FC
surface
#FAF2F9
border
#D3CCD2
text
#150D14
muted
#837E82

Preview Lab

Preview with #C166BF

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

Preview Lab → · Contrast checker → · Palette generator →

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