#C166EE#C166EE

#C166EE is a light, highly saturated purple. Relative luminance 0.270; OKLCH L 67.1% C 0.207 H 313.1°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#C166EE
RGBrgb(193, 102, 238)
HSLhsl(280, 80%, 67%)
HSVhsv(280, 57%, 93%)
CMYKcmyk(18.9%, 57.1%, 0%, 6.7%)
CIE-LABlab(58.99, 58.14, -54.04)
CIE-LCHlch(58.99, 79.38, 317.09°)
OKLaboklab(67.12% 0.1415 -0.1515)
OKLCHoklch(67.12% 0.207 313.1)
XYZxyz(42.1737, 27.0144, 83.8650)
Luminance0.2701 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C166EE #93EE66
analogous
#7D66EE #C166EE #EE66D7
triadic
#C166EE #EEC166 #66EEC1
tetradic
#C166EE #EE7D66 #93EE66 #66D7EE
square
#C166EE #EE7D66 #93EE66 #66D7EE
split-complementary
#C166EE #D7EE66 #66EE7D
monochromatic
#8A16C4 #AB2FE8 #C166EE #D79DF4 #EED4FA

Accessibility & contrast

On white

3.28
#C166EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#C166EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C166EE
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C166EE#FFFFFF#000000##000000
##C166EE1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C89F2
Deuteranopia (green-blind)
#5F90EB
Tritanopia (blue-blind)
#BD7EA1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #c166ee;
/* rgb */ color: rgb(193, 102, 238);
/* oklch */ color: oklch(67.1% 0.207 313.1);
Tailwind
colors: {
  custom: {
    50: '#d796f4',
    500: '#c166ee',
    950: '#000000',
  },
}
SCSS
$custom: #c166ee;
$custom-light: #d796f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c166ee",
  "rgb": {
    "r": 193,
    "g": 102,
    "b": 238
  },
  "hsl": {
    "h": 280.147,
    "s": 80,
    "l": 66.667
  },
  "oklch": {
    "l": 0.67116,
    "c": 0.20732,
    "h": 313.1
  },
  "luminance": 0.27013
}

Semantic roles & 50–950 ramp

primary
#C166EE
secondary
#D0EEC2
accent
#DC094F
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150E17
muted
#837E85

Preview Lab

Preview with #C166EE

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

Preview Lab → · Contrast checker → · Palette generator →

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