#C166CF#C166CF

#C166CF is a light, vivid purple. Relative luminance 0.253; OKLCH L 65.4% C 0.176 H 322.1°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#C166CF
RGBrgb(193, 102, 207)
HSLhsl(292, 52%, 61%)
HSVhsv(292, 51%, 81%)
CMYKcmyk(6.8%, 50.7%, 0%, 18.8%)
CIE-LABlab(57.41, 51.93, -39.12)
CIE-LCHlch(57.41, 65.01, 323.01°)
OKLaboklab(65.45% 0.1391 -0.1081)
OKLCHoklch(65.45% 0.176 322.1)
XYZxyz(38.0050, 25.3469, 61.9099)
Luminance0.2535 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C166CF #74CF66
analogous
#8C66CF #C166CF #CF66A8
triadic
#C166CF #CFC166 #66CFC1
tetradic
#C166CF #CF8C66 #74CF66 #66A8CF
square
#C166CF #CF8C66 #74CF66 #66A8CF
split-complementary
#C166CF #A8CF66 #66CF8C
monochromatic
#812D8E #AB3BBD #C166CF #D495DE #E7C3EC

Accessibility & contrast

On white

3.46
#C166CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#C166CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C166CF
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C166CF#FFFFFF#000000##000000
##C166CF1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5683D3
Deuteranopia (green-blind)
#728DCC
Tritanopia (blue-blind)
#C37491
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #c166cf;
/* rgb */ color: rgb(193, 102, 207);
/* oklch */ color: oklch(65.4% 0.176 322.1);
Tailwind
colors: {
  custom: {
    50: '#d695de',
    500: '#c166cf',
    950: '#000000',
  },
}
SCSS
$custom: #c166cf;
$custom-light: #d695de;
$custom-dark: #000000;
JSON
{
  "hex": "#c166cf",
  "rgb": {
    "r": 193,
    "g": 102,
    "b": 207
  },
  "hsl": {
    "h": 292,
    "s": 52.239,
    "l": 60.588
  },
  "oklch": {
    "l": 0.65447,
    "c": 0.17615,
    "h": 322.1
  },
  "luminance": 0.25345
}

Semantic roles & 50–950 ramp

primary
#C166CF
secondary
#BADCB4
accent
#C0263A
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #C166CF

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

Preview Lab → · Contrast checker → · Palette generator →

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