#C166DE#C166DE

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

Color values

HEX#C166DE
RGBrgb(193, 102, 222)
HSLhsl(286, 65%, 64%)
HSVhsv(286, 54%, 87%)
CMYKcmyk(13.1%, 54.1%, 0%, 12.9%)
CIE-LABlab(58.15, 54.87, -46.43)
CIE-LCHlch(58.15, 71.88, 319.76°)
OKLaboklab(66.23% 0.1406 -0.1293)
OKLCHoklch(66.23% 0.191 317.4)
XYZxyz(39.9266, 26.1156, 72.0307)
Luminance0.2611 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C166DE #83DE66
analogous
#8566DE #C166DE #DE66BF
triadic
#C166DE #DEC166 #66DEC1
tetradic
#C166DE #DE8566 #83DE66 #66BFDE
square
#C166DE #DE8566 #83DE66 #66BFDE
split-complementary
#C166DE #BFDE66 #66DE85
monochromatic
#8624A6 #AD34D3 #C166DE #D598E9 #EACBF4

Accessibility & contrast

On white

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

On black

6.22
#C166DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C166DE
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C166DE#FFFFFF#000000##000000
##C166DE1.003.376.226.22
#FFFFFF3.371.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C86E2
Deuteranopia (green-blind)
#6A8FDB
Tritanopia (blue-blind)
#C07999
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #c166de;
/* rgb */ color: rgb(193, 102, 222);
/* oklch */ color: oklch(66.2% 0.191 317.4);
Tailwind
colors: {
  custom: {
    50: '#d695e9',
    500: '#c166de',
    950: '#000000',
  },
}
SCSS
$custom: #c166de;
$custom-light: #d695e9;
$custom-dark: #000000;
JSON
{
  "hex": "#c166de",
  "rgb": {
    "r": 193,
    "g": 102,
    "b": 222
  },
  "hsl": {
    "h": 285.5,
    "s": 64.516,
    "l": 63.529
  },
  "oklch": {
    "l": 0.66228,
    "c": 0.19104,
    "h": 317.4
  },
  "luminance": 0.26114
}

Semantic roles & 50–950 ramp

primary
#C166DE
secondary
#C5E5BB
accent
#CC1944
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C166DE

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

Preview Lab → · Contrast checker → · Palette generator →

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