#C166FA#C166FA

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

Color values

HEX#C166FA
RGBrgb(193, 102, 250)
HSLhsl(277, 94%, 69%)
HSVhsv(277, 59%, 98%)
CMYKcmyk(22.8%, 59.2%, 0%, 2%)
CIE-LABlab(59.66, 60.67, -59.63)
CIE-LCHlch(59.66, 85.07, 315.50°)
OKLaboklab(67.82% 0.1417 -0.1678)
OKLCHoklch(67.82% 0.22 310.2)
XYZxyz(43.9957, 27.7432, 93.4613)
Luminance0.2774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C166FA #9FFA66
analogous
#7766FA #C166FA #FA66E9
triadic
#C166FA #FAC166 #66FAC1
tetradic
#C166FA #FA7766 #9FFA66 #66E9FA
square
#C166FA #FA7766 #9FFA66 #66E9FA
split-complementary
#C166FA #E9FA66 #66FA77
monochromatic
#8C07DE #A92BF8 #C166FA #D9A1FC #F1DDFE

Accessibility & contrast

On white

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

On black

6.55
#C166FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C166FA
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C166FA#FFFFFF#000000##000000
##C166FA1.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C8CFF
Deuteranopia (green-blind)
#5691F6
Tritanopia (blue-blind)
#BA82A7
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #c166fa;
/* rgb */ color: rgb(193, 102, 250);
/* oklch */ color: oklch(67.8% 0.220 310.2);
Tailwind
colors: {
  custom: {
    50: '#d796fd',
    500: '#c166fa',
    950: '#000000',
  },
}
SCSS
$custom: #c166fa;
$custom-light: #d796fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c166fa",
  "rgb": {
    "r": 193,
    "g": 102,
    "b": 250
  },
  "hsl": {
    "h": 276.892,
    "s": 93.671,
    "l": 69.02
  },
  "oklch": {
    "l": 0.67819,
    "c": 0.21966,
    "h": 310.2
  },
  "luminance": 0.27742
}

Semantic roles & 50–950 ramp

primary
#C166FA
secondary
#D9F4C8
accent
#E60058
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C166FA

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

Preview Lab → · Contrast checker → · Palette generator →

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