#C166DC#C166DC

#C166DC is a light, vivid purple. Relative luminance 0.260; OKLCH L 66.1% C 0.189 H 318.0°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#C166DC
RGBrgb(193, 102, 220)
HSLhsl(286, 63%, 63%)
HSVhsv(286, 54%, 86%)
CMYKcmyk(12.3%, 53.6%, 0%, 13.7%)
CIE-LABlab(58.05, 54.47, -45.46)
CIE-LCHlch(58.05, 70.95, 320.15°)
OKLaboklab(66.12% 0.1405 -0.1265)
OKLCHoklch(66.12% 0.189 318)
XYZxyz(39.6602, 26.0090, 70.6274)
Luminance0.2601 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C166DC #81DC66
analogous
#8666DC #C166DC #DC66BC
triadic
#C166DC #DCC166 #66DCC1
tetradic
#C166DC #DC8666 #81DC66 #66BCDC
square
#C166DC #DC8666 #81DC66 #66BCDC
split-complementary
#C166DC #BCDC66 #66DC86
monochromatic
#8625A2 #AD34D1 #C166DC #D598E7 #E9CAF3

Accessibility & contrast

On white

3.39
#C166DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#C166DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C166DC
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C166DC#FFFFFF#000000##000000
##C166DC1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D86E0
Deuteranopia (green-blind)
#6B8FD9
Tritanopia (blue-blind)
#C17898
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #c166dc;
/* rgb */ color: rgb(193, 102, 220);
/* oklch */ color: oklch(66.1% 0.189 318.0);
Tailwind
colors: {
  custom: {
    50: '#d695e7',
    500: '#c166dc',
    950: '#000000',
  },
}
SCSS
$custom: #c166dc;
$custom-light: #d695e7;
$custom-dark: #000000;
JSON
{
  "hex": "#c166dc",
  "rgb": {
    "r": 193,
    "g": 102,
    "b": 220
  },
  "hsl": {
    "h": 286.271,
    "s": 62.766,
    "l": 63.137
  },
  "oklch": {
    "l": 0.66121,
    "c": 0.18903,
    "h": 318
  },
  "luminance": 0.26008
}

Semantic roles & 50–950 ramp

primary
#C166DC
secondary
#C3E4BA
accent
#CB1B43
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C166DC

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

Preview Lab → · Contrast checker → · Palette generator →

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