#C166FC#C166FC

#C166FC is a light, highly saturated violet. Relative luminance 0.279; OKLCH L 67.9% C 0.222 H 309.7°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#C166FC
RGBrgb(193, 102, 252)
HSLhsl(276, 96%, 69%)
HSVhsv(276, 60%, 99%)
CMYKcmyk(23.4%, 59.5%, 0%, 1.2%)
CIE-LABlab(59.77, 61.10, -60.55)
CIE-LCHlch(59.77, 86.02, 315.26°)
OKLaboklab(67.94% 0.1417 -0.1705)
OKLCHoklch(67.94% 0.222 309.7)
XYZxyz(44.3110, 27.8693, 95.1216)
Luminance0.2787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C166FC #A1FC66
analogous
#7666FC #C166FC #FC66EC
triadic
#C166FC #FCC166 #66FCC1
tetradic
#C166FC #FC7666 #A1FC66 #66ECFC
square
#C166FC #FC7666 #A1FC66 #66ECFC
split-complementary
#C166FC #ECFC66 #66FC76
monochromatic
#8C04E3 #A92AFB #C166FC #D9A2FD #F2DEFE

Accessibility & contrast

On white

3.19
#C166FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#C166FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C166FC
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C166FC#FFFFFF#000000##000000
##C166FC1.003.196.576.57
#FFFFFF3.191.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#288CFF
Deuteranopia (green-blind)
#5491F8
Tritanopia (blue-blind)
#B983A8
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #c166fc;
/* rgb */ color: rgb(193, 102, 252);
/* oklch */ color: oklch(67.9% 0.222 309.7);
Tailwind
colors: {
  custom: {
    50: '#d796fe',
    500: '#c166fc',
    950: '#000000',
  },
}
SCSS
$custom: #c166fc;
$custom-light: #d796fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c166fc",
  "rgb": {
    "r": 193,
    "g": 102,
    "b": 252
  },
  "hsl": {
    "h": 276.4,
    "s": 96.154,
    "l": 69.412
  },
  "oklch": {
    "l": 0.67939,
    "c": 0.22173,
    "h": 309.7
  },
  "luminance": 0.27868
}

Semantic roles & 50–950 ramp

primary
#C166FC
secondary
#DAF5C9
accent
#E6005A
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C166FC

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

Preview Lab → · Contrast checker → · Palette generator →

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