#C166F9#C166F9

#C166F9 is a light, highly saturated violet. Relative luminance 0.277; OKLCH L 67.8% C 0.219 H 310.4°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#C166F9
RGBrgb(193, 102, 249)
HSLhsl(277, 92%, 69%)
HSVhsv(277, 59%, 98%)
CMYKcmyk(22.5%, 59%, 0%, 2.4%)
CIE-LABlab(59.60, 60.46, -59.17)
CIE-LCHlch(59.60, 84.60, 315.62°)
OKLaboklab(67.76% 0.1417 -0.1665)
OKLCHoklch(67.76% 0.219 310.4)
XYZxyz(43.8393, 27.6806, 92.6376)
Luminance0.2768 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C166F9 #9EF966
analogous
#7866F9 #C166F9 #F966E8
triadic
#C166F9 #F9C166 #66F9C1
tetradic
#C166F9 #F97866 #9EF966 #66E8F9
square
#C166F9 #F97866 #9EF966 #66E8F9
split-complementary
#C166F9 #E8F966 #66F978
monochromatic
#8B09DC #A92BF7 #C166F9 #D9A1FB #F1DCFE

Accessibility & contrast

On white

3.21
#C166F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#C166F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C166F9
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C166F9#FFFFFF#000000##000000
##C166F91.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E8BFE
Deuteranopia (green-blind)
#5791F5
Tritanopia (blue-blind)
#BA82A6
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #c166f9;
/* rgb */ color: rgb(193, 102, 249);
/* oklch */ color: oklch(67.8% 0.219 310.4);
Tailwind
colors: {
  custom: {
    50: '#d796fc',
    500: '#c166f9',
    950: '#000000',
  },
}
SCSS
$custom: #c166f9;
$custom-light: #d796fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c166f9",
  "rgb": {
    "r": 193,
    "g": 102,
    "b": 249
  },
  "hsl": {
    "h": 277.143,
    "s": 92.453,
    "l": 68.824
  },
  "oklch": {
    "l": 0.6776,
    "c": 0.21863,
    "h": 310.4
  },
  "luminance": 0.2768
}

Semantic roles & 50–950 ramp

primary
#C166F9
secondary
#D8F3C8
accent
#E60057
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C166F9

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

Preview Lab → · Contrast checker → · Palette generator →

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