#C166D2#C166D2

#C166D2 is a light, vivid purple. Relative luminance 0.255; OKLCH L 65.6% C 0.179 H 321.1°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#C166D2
RGBrgb(193, 102, 210)
HSLhsl(291, 55%, 61%)
HSVhsv(291, 51%, 82%)
CMYKcmyk(8.1%, 51.4%, 0%, 17.6%)
CIE-LABlab(57.55, 52.51, -40.59)
CIE-LCHlch(57.55, 66.37, 322.29°)
OKLaboklab(65.6% 0.1394 -0.1124)
OKLCHoklch(65.6% 0.179 321.1)
XYZxyz(38.3752, 25.4950, 63.8599)
Luminance0.2549 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C166D2 #77D266
analogous
#8B66D2 #C166D2 #D266AD
triadic
#C166D2 #D2C166 #66D2C1
tetradic
#C166D2 #D28B66 #77D266 #66ADD2
square
#C166D2 #D28B66 #77D266 #66ADD2
split-complementary
#C166D2 #ADD266 #66D28B
monochromatic
#822B93 #AC39C2 #C166D2 #D495E0 #E7C5EE

Accessibility & contrast

On white

3.44
#C166D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#C166D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C166D2
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C166D2#FFFFFF#000000##000000
##C166D21.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5484D6
Deuteranopia (green-blind)
#708ECF
Tritanopia (blue-blind)
#C37593
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #c166d2;
/* rgb */ color: rgb(193, 102, 210);
/* oklch */ color: oklch(65.6% 0.179 321.1);
Tailwind
colors: {
  custom: {
    50: '#d695e0',
    500: '#c166d2',
    950: '#000000',
  },
}
SCSS
$custom: #c166d2;
$custom-light: #d695e0;
$custom-dark: #000000;
JSON
{
  "hex": "#c166d2",
  "rgb": {
    "r": 193,
    "g": 102,
    "b": 210
  },
  "hsl": {
    "h": 290.556,
    "s": 54.545,
    "l": 61.176
  },
  "oklch": {
    "l": 0.65599,
    "c": 0.1791,
    "h": 321.1
  },
  "luminance": 0.25493
}

Semantic roles & 50–950 ramp

primary
#C166D2
secondary
#BCDEB6
accent
#C2233C
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #C166D2

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

Preview Lab → · Contrast checker → · Palette generator →

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