#C166CE#C166CE

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

Color values

HEX#C166CE
RGBrgb(193, 102, 206)
HSLhsl(293, 51%, 60%)
HSVhsv(293, 50%, 81%)
CMYKcmyk(6.3%, 50.5%, 0%, 19.2%)
CIE-LABlab(57.36, 51.74, -38.62)
CIE-LCHlch(57.36, 64.56, 323.26°)
OKLaboklab(65.4% 0.1389 -0.1067)
OKLCHoklch(65.4% 0.175 322.5)
XYZxyz(37.8831, 25.2981, 61.2681)
Luminance0.2530 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C166CE #73CE66
analogous
#8D66CE #C166CE #CE66A7
triadic
#C166CE #CEC166 #66CEC1
tetradic
#C166CE #CE8D66 #73CE66 #66A7CE
square
#C166CE #CE8D66 #73CE66 #66A7CE
split-complementary
#C166CE #A7CE66 #66CE8D
monochromatic
#812D8D #AB3CBB #C166CE #D494DD #E7C3EC

Accessibility & contrast

On white

3.47
#C166CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#C166CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C166CE
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C166CE#FFFFFF#000000##000000
##C166CE1.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5783D1
Deuteranopia (green-blind)
#728DCB
Tritanopia (blue-blind)
#C47391
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #c166ce;
/* rgb */ color: rgb(193, 102, 206);
/* oklch */ color: oklch(65.4% 0.175 322.5);
Tailwind
colors: {
  custom: {
    50: '#d695dd',
    500: '#c166ce',
    950: '#000000',
  },
}
SCSS
$custom: #c166ce;
$custom-light: #d695dd;
$custom-dark: #000000;
JSON
{
  "hex": "#c166ce",
  "rgb": {
    "r": 193,
    "g": 102,
    "b": 206
  },
  "hsl": {
    "h": 292.5,
    "s": 51.485,
    "l": 60.392
  },
  "oklch": {
    "l": 0.65397,
    "c": 0.17518,
    "h": 322.5
  },
  "luminance": 0.25296
}

Semantic roles & 50–950 ramp

primary
#C166CE
secondary
#B9DCB4
accent
#BF273A
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #C166CE

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

Preview Lab → · Contrast checker → · Palette generator →

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