#C166FB#C166FB

#C166FB is a light, highly saturated violet. Relative luminance 0.278; OKLCH L 67.9% C 0.221 H 309.9°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#C166FB
RGBrgb(193, 102, 251)
HSLhsl(277, 95%, 69%)
HSVhsv(277, 59%, 98%)
CMYKcmyk(23.1%, 59.4%, 0%, 1.6%)
CIE-LABlab(59.71, 60.89, -60.09)
CIE-LCHlch(59.71, 85.55, 315.38°)
OKLaboklab(67.88% 0.1417 -0.1692)
OKLCHoklch(67.88% 0.221 309.9)
XYZxyz(44.1529, 27.8061, 94.2892)
Luminance0.2781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C166FB #A0FB66
analogous
#7766FB #C166FB #FB66EB
triadic
#C166FB #FBC166 #66FBC1
tetradic
#C166FB #FB7766 #A0FB66 #66EBFB
square
#C166FB #FB7766 #A0FB66 #66EBFB
split-complementary
#C166FB #EBFB66 #66FB77
monochromatic
#8C06E1 #A92AF9 #C166FB #D9A2FD #F1DDFE

Accessibility & contrast

On white

3.20
#C166FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#C166FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C166FB
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C166FB#FFFFFF#000000##000000
##C166FB1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A8CFF
Deuteranopia (green-blind)
#5591F7
Tritanopia (blue-blind)
#B982A7
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #c166fb;
/* rgb */ color: rgb(193, 102, 251);
/* oklch */ color: oklch(67.9% 0.221 309.9);
Tailwind
colors: {
  custom: {
    50: '#d796fd',
    500: '#c166fb',
    950: '#000000',
  },
}
SCSS
$custom: #c166fb;
$custom-light: #d796fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c166fb",
  "rgb": {
    "r": 193,
    "g": 102,
    "b": 251
  },
  "hsl": {
    "h": 276.644,
    "s": 94.904,
    "l": 69.216
  },
  "oklch": {
    "l": 0.67879,
    "c": 0.2207,
    "h": 309.9
  },
  "luminance": 0.27805
}

Semantic roles & 50–950 ramp

primary
#C166FB
secondary
#DAF4C9
accent
#E60059
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C166FB

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

Preview Lab → · Contrast checker → · Palette generator →

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