#C166F6#C166F6

#C166F6 is a light, highly saturated violet. Relative luminance 0.275; OKLCH L 67.6% C 0.216 H 311.1°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#C166F6
RGBrgb(193, 102, 246)
HSLhsl(278, 89%, 68%)
HSVhsv(278, 59%, 96%)
CMYKcmyk(21.5%, 58.5%, 0%, 3.5%)
CIE-LABlab(59.43, 59.82, -57.78)
CIE-LCHlch(59.43, 83.17, 315.99°)
OKLaboklab(67.58% 0.1417 -0.1624)
OKLCHoklch(67.58% 0.216 311.1)
XYZxyz(43.3752, 27.4950, 90.1930)
Luminance0.2749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C166F6 #9BF666
analogous
#7966F6 #C166F6 #F666E3
triadic
#C166F6 #F6C166 #66F6C1
tetradic
#C166F6 #F67966 #9BF666 #66E3F6
square
#C166F6 #F67966 #9BF666 #66E3F6
split-complementary
#C166F6 #E3F666 #66F679
monochromatic
#8B0DD5 #AA2CF3 #C166F6 #D8A0F9 #F0DAFD

Accessibility & contrast

On white

3.23
#C166F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#C166F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C166F6
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C166F6#FFFFFF#000000##000000
##C166F61.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#328BFB
Deuteranopia (green-blind)
#5991F3
Tritanopia (blue-blind)
#BB81A5
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #c166f6;
/* rgb */ color: rgb(193, 102, 246);
/* oklch */ color: oklch(67.6% 0.216 311.1);
Tailwind
colors: {
  custom: {
    50: '#d796fa',
    500: '#c166f6',
    950: '#000000',
  },
}
SCSS
$custom: #c166f6;
$custom-light: #d796fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c166f6",
  "rgb": {
    "r": 193,
    "g": 102,
    "b": 246
  },
  "hsl": {
    "h": 277.917,
    "s": 88.889,
    "l": 68.235
  },
  "oklch": {
    "l": 0.67582,
    "c": 0.21554,
    "h": 311.1
  },
  "luminance": 0.27494
}

Semantic roles & 50–950 ramp

primary
#C166F6
secondary
#D6F2C6
accent
#E60054
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C166F6

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

Preview Lab → · Contrast checker → · Palette generator →

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