#C166FF#C166FF

#C166FF is a light, highly saturated violet. Relative luminance 0.281; OKLCH L 68.1% C 0.225 H 309.1°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#C166FF
RGBrgb(193, 102, 255)
HSLhsl(276, 100%, 70%)
HSVhsv(276, 60%, 100%)
CMYKcmyk(24.3%, 60%, 0%, 0%)
CIE-LABlab(59.94, 61.75, -61.93)
CIE-LCHlch(59.94, 87.45, 314.92°)
OKLaboklab(68.12% 0.1417 -0.1746)
OKLCHoklch(68.12% 0.225 309.1)
XYZxyz(44.7901, 28.0610, 97.6451)
Luminance0.2806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C166FF #A4FF66
analogous
#7466FF #C166FF #FF66F1
triadic
#C166FF #FFC166 #66FFC1
tetradic
#C166FF #FF7466 #A4FF66 #66F1FF
square
#C166FF #FF7466 #A4FF66 #66F1FF
split-complementary
#C166FF #F1FF66 #66FF74
monochromatic
#8C00EB #A829FF #C166FF #DAA3FF #F3E0FF

Accessibility & contrast

On white

3.18
#C166FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#C166FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C166FF
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C166FF#FFFFFF#000000##000000
##C166FF1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#228DFF
Deuteranopia (green-blind)
#5192FB
Tritanopia (blue-blind)
#B884A9
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #c166ff;
/* rgb */ color: rgb(193, 102, 255);
/* oklch */ color: oklch(68.1% 0.225 309.1);
Tailwind
colors: {
  custom: {
    50: '#d896ff',
    500: '#c166ff',
    950: '#000000',
  },
}
SCSS
$custom: #c166ff;
$custom-light: #d896ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c166ff",
  "rgb": {
    "r": 193,
    "g": 102,
    "b": 255
  },
  "hsl": {
    "h": 275.686,
    "s": 100,
    "l": 70
  },
  "oklch": {
    "l": 0.68121,
    "c": 0.22482,
    "h": 309.1
  },
  "luminance": 0.2806
}

Semantic roles & 50–950 ramp

primary
#C166FF
secondary
#DCF6CB
accent
#E6005D
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C166FF

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

Preview Lab → · Contrast checker → · Palette generator →

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