#C166DD#C166DD

#C166DD is a light, vivid purple. Relative luminance 0.261; OKLCH L 66.2% C 0.190 H 317.7°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#C166DD
RGBrgb(193, 102, 221)
HSLhsl(286, 64%, 63%)
HSVhsv(286, 54%, 87%)
CMYKcmyk(12.7%, 53.8%, 0%, 13.3%)
CIE-LABlab(58.10, 54.67, -45.95)
CIE-LCHlch(58.10, 71.41, 319.95°)
OKLaboklab(66.17% 0.1406 -0.1279)
OKLCHoklch(66.17% 0.19 317.7)
XYZxyz(39.7930, 26.0621, 71.3269)
Luminance0.2606 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C166DD #82DD66
analogous
#8566DD #C166DD #DD66BD
triadic
#C166DD #DDC166 #66DDC1
tetradic
#C166DD #DD8566 #82DD66 #66BDDD
square
#C166DD #DD8566 #82DD66 #66BDDD
split-complementary
#C166DD #BDDD66 #66DD85
monochromatic
#8624A4 #AD34D2 #C166DD #D598E8 #EACAF3

Accessibility & contrast

On white

3.38
#C166DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#C166DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C166DD
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C166DD#FFFFFF#000000##000000
##C166DD1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C86E1
Deuteranopia (green-blind)
#6A8FDA
Tritanopia (blue-blind)
#C07898
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #c166dd;
/* rgb */ color: rgb(193, 102, 221);
/* oklch */ color: oklch(66.2% 0.190 317.7);
Tailwind
colors: {
  custom: {
    50: '#d695e8',
    500: '#c166dd',
    950: '#000000',
  },
}
SCSS
$custom: #c166dd;
$custom-light: #d695e8;
$custom-dark: #000000;
JSON
{
  "hex": "#c166dd",
  "rgb": {
    "r": 193,
    "g": 102,
    "b": 221
  },
  "hsl": {
    "h": 285.882,
    "s": 63.636,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66174,
    "c": 0.19003,
    "h": 317.7
  },
  "luminance": 0.26061
}

Semantic roles & 50–950 ramp

primary
#C166DD
secondary
#C4E5BA
accent
#CB1A44
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C166DD

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

Preview Lab → · Contrast checker → · Palette generator →

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