#C166B4#C166B4

#C166B4 is a light, vivid purple. Relative luminance 0.241; OKLCH L 64.2% C 0.151 H 332.7°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#C166B4
RGBrgb(193, 102, 180)
HSLhsl(309, 42%, 58%)
HSVhsv(309, 47%, 76%)
CMYKcmyk(0%, 47.2%, 6.7%, 24.3%)
CIE-LABlab(56.23, 47.00, -25.53)
CIE-LCHlch(56.23, 53.49, 331.49°)
OKLaboklab(64.18% 0.1344 -0.0693)
OKLCHoklch(64.18% 0.151 332.7)
XYZxyz(34.9817, 24.1376, 45.9876)
Luminance0.2414 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C166B4 #66C173
analogous
#A066C1 #C166B4 #C16687
triadic
#C166B4 #B4C166 #66B4C1
tetradic
#C166B4 #C1A066 #66C173 #6687C1
square
#C166B4 #C1A066 #66C173 #6687C1
split-complementary
#C166B4 #87C166 #66C1A0
monochromatic
#7B3270 #A64398 #C166B4 #D392C9 #E4BDDF

Accessibility & contrast

On white

3.60
#C166B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#C166B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C166B4
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C166B4#FFFFFF#000000##000000
##C166B41.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#647FB7
Deuteranopia (green-blind)
#7D8CB1
Tritanopia (blue-blind)
#C86C85
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #c166b4;
/* rgb */ color: rgb(193, 102, 180);
/* oklch */ color: oklch(64.2% 0.151 332.7);
Tailwind
colors: {
  custom: {
    50: '#d694ca',
    500: '#c166b4',
    950: '#000000',
  },
}
SCSS
$custom: #c166b4;
$custom-light: #d694ca;
$custom-dark: #000000;
JSON
{
  "hex": "#c166b4",
  "rgb": {
    "r": 193,
    "g": 102,
    "b": 180
  },
  "hsl": {
    "h": 308.571,
    "s": 42.326,
    "l": 57.843
  },
  "oklch": {
    "l": 0.64179,
    "c": 0.1512,
    "h": 332.7
  },
  "luminance": 0.24135
}

Semantic roles & 50–950 ramp

primary
#C166B4
secondary
#AFD4B4
accent
#D26756
background
#FDF9FC
surface
#FAF2F8
border
#D3CCD1
text
#140D13
muted
#837E82

Preview Lab

Preview with #C166B4

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

Preview Lab → · Contrast checker → · Palette generator →

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