#C166CD#C166CD

#C166CD is a light, vivid purple. Relative luminance 0.252; OKLCH L 65.3% C 0.174 H 322.8°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#C166CD
RGBrgb(193, 102, 205)
HSLhsl(293, 51%, 60%)
HSVhsv(293, 50%, 80%)
CMYKcmyk(5.9%, 50.2%, 0%, 19.6%)
CIE-LABlab(57.32, 51.55, -38.13)
CIE-LCHlch(57.32, 64.12, 323.51°)
OKLaboklab(65.35% 0.1388 -0.1053)
OKLCHoklch(65.35% 0.174 322.8)
XYZxyz(37.7620, 25.2497, 60.6304)
Luminance0.2525 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C166CD #72CD66
analogous
#8E66CD #C166CD #CD66A5
triadic
#C166CD #CDC166 #66CDC1
tetradic
#C166CD #CD8E66 #72CD66 #66A5CD
square
#C166CD #CD8E66 #72CD66 #66A5CD
split-complementary
#C166CD #A5CD66 #66CD8E
monochromatic
#802D8B #AB3DB9 #C166CD #D494DC #E6C2EB

Accessibility & contrast

On white

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

On black

6.05
#C166CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C166CD
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C166CD#FFFFFF#000000##000000
##C166CD1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5783D0
Deuteranopia (green-blind)
#738DCA
Tritanopia (blue-blind)
#C47390
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #c166cd;
/* rgb */ color: rgb(193, 102, 205);
/* oklch */ color: oklch(65.3% 0.174 322.8);
Tailwind
colors: {
  custom: {
    50: '#d695dc',
    500: '#c166cd',
    950: '#000000',
  },
}
SCSS
$custom: #c166cd;
$custom-light: #d695dc;
$custom-dark: #000000;
JSON
{
  "hex": "#c166cd",
  "rgb": {
    "r": 193,
    "g": 102,
    "b": 205
  },
  "hsl": {
    "h": 293.01,
    "s": 50.739,
    "l": 60.196
  },
  "oklch": {
    "l": 0.65347,
    "c": 0.17421,
    "h": 322.8
  },
  "luminance": 0.25248
}

Semantic roles & 50–950 ramp

primary
#C166CD
secondary
#B8DBB4
accent
#BE2739
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #C166CD

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

Preview Lab → · Contrast checker → · Palette generator →

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