#C166B3#C166B3

#C166B3 is a light, vivid purple. Relative luminance 0.241; OKLCH L 64.1% C 0.150 H 333.2°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#C166B3
RGBrgb(193, 102, 179)
HSLhsl(309, 42%, 58%)
HSVhsv(309, 47%, 76%)
CMYKcmyk(0%, 47.2%, 7.3%, 24.3%)
CIE-LABlab(56.18, 46.83, -25.02)
CIE-LCHlch(56.18, 53.09, 331.89°)
OKLaboklab(64.13% 0.1342 -0.0678)
OKLCHoklch(64.13% 0.15 333.2)
XYZxyz(34.8802, 24.0970, 45.4531)
Luminance0.2409 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C166B3 #66C174
analogous
#A266C1 #C166B3 #C16685
triadic
#C166B3 #B3C166 #66B3C1
tetradic
#C166B3 #C1A266 #66C174 #6685C1
square
#C166B3 #C1A266 #66C174 #6685C1
split-complementary
#C166B3 #85C166 #66C1A2
monochromatic
#7B3270 #A64397 #C166B3 #D392C9 #E4BDDE

Accessibility & contrast

On white

3.61
#C166B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#C166B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C166B3
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C166B3#FFFFFF#000000##000000
##C166B31.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#647EB6
Deuteranopia (green-blind)
#7E8BB0
Tritanopia (blue-blind)
#C86B84
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #c166b3;
/* rgb */ color: rgb(193, 102, 179);
/* oklch */ color: oklch(64.1% 0.150 333.2);
Tailwind
colors: {
  custom: {
    50: '#d694ca',
    500: '#c166b3',
    950: '#000000',
  },
}
SCSS
$custom: #c166b3;
$custom-light: #d694ca;
$custom-dark: #000000;
JSON
{
  "hex": "#c166b3",
  "rgb": {
    "r": 193,
    "g": 102,
    "b": 179
  },
  "hsl": {
    "h": 309.231,
    "s": 42.326,
    "l": 57.843
  },
  "oklch": {
    "l": 0.64135,
    "c": 0.15034,
    "h": 333.2
  },
  "luminance": 0.24095
}

Semantic roles & 50–950 ramp

primary
#C166B3
secondary
#AFD4B5
accent
#D26956
background
#FDF9FC
surface
#FAF2F8
border
#D3CCD1
text
#140D13
muted
#837E82

Preview Lab

Preview with #C166B3

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

Preview Lab → · Contrast checker → · Palette generator →

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