#C166DF#C166DF

#C166DF is a light, vivid purple. Relative luminance 0.262; OKLCH L 66.3% C 0.192 H 317.1°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#C166DF
RGBrgb(193, 102, 223)
HSLhsl(285, 65%, 64%)
HSVhsv(285, 54%, 87%)
CMYKcmyk(13.5%, 54.3%, 0%, 12.5%)
CIE-LABlab(58.20, 55.07, -46.91)
CIE-LCHlch(58.20, 72.34, 319.57°)
OKLaboklab(66.28% 0.1407 -0.1307)
OKLCHoklch(66.28% 0.192 317.1)
XYZxyz(40.0611, 26.1693, 72.7386)
Luminance0.2617 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C166DF #84DF66
analogous
#8466DF #C166DF #DF66C0
triadic
#C166DF #DFC166 #66DFC1
tetradic
#C166DF #DF8466 #84DF66 #66C0DF
square
#C166DF #DF8466 #84DF66 #66C0DF
split-complementary
#C166DF #C0DF66 #66DF84
monochromatic
#8723A8 #AC33D4 #C166DF #D699EA #EACBF4

Accessibility & contrast

On white

3.37
#C166DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#C166DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C166DF
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C166DF#FFFFFF#000000##000000
##C166DF1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B86E3
Deuteranopia (green-blind)
#698FDC
Tritanopia (blue-blind)
#C07999
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #c166df;
/* rgb */ color: rgb(193, 102, 223);
/* oklch */ color: oklch(66.3% 0.192 317.1);
Tailwind
colors: {
  custom: {
    50: '#d695e9',
    500: '#c166df',
    950: '#000000',
  },
}
SCSS
$custom: #c166df;
$custom-light: #d695e9;
$custom-dark: #000000;
JSON
{
  "hex": "#c166df",
  "rgb": {
    "r": 193,
    "g": 102,
    "b": 223
  },
  "hsl": {
    "h": 285.124,
    "s": 65.405,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66281,
    "c": 0.19205,
    "h": 317.1
  },
  "luminance": 0.26168
}

Semantic roles & 50–950 ramp

primary
#C166DF
secondary
#C6E6BB
accent
#CD1845
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C166DF

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

Preview Lab → · Contrast checker → · Palette generator →

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