#C166F7#C166F7

#C166F7 is a light, highly saturated violet. Relative luminance 0.276; OKLCH L 67.6% C 0.217 H 310.9°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#C166F7
RGBrgb(193, 102, 247)
HSLhsl(278, 90%, 68%)
HSVhsv(278, 59%, 97%)
CMYKcmyk(21.9%, 58.7%, 0%, 3.1%)
CIE-LABlab(59.49, 60.03, -58.24)
CIE-LCHlch(59.49, 83.64, 315.87°)
OKLaboklab(67.64% 0.1417 -0.1638)
OKLCHoklch(67.64% 0.217 310.9)
XYZxyz(43.5291, 27.5565, 91.0035)
Luminance0.2756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C166F7 #9CF766
analogous
#7866F7 #C166F7 #F766E5
triadic
#C166F7 #F7C166 #66F7C1
tetradic
#C166F7 #F77866 #9CF766 #66E5F7
square
#C166F7 #F77866 #9CF766 #66E5F7
split-complementary
#C166F7 #E5F766 #66F778
monochromatic
#8B0BD7 #A92CF4 #C166F7 #D9A0FA #F0DAFD

Accessibility & contrast

On white

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

On black

6.51
#C166F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C166F7
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C166F7#FFFFFF#000000##000000
##C166F71.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#318BFC
Deuteranopia (green-blind)
#5891F4
Tritanopia (blue-blind)
#BA81A5
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #c166f7;
/* rgb */ color: rgb(193, 102, 247);
/* oklch */ color: oklch(67.6% 0.217 310.9);
Tailwind
colors: {
  custom: {
    50: '#d796fa',
    500: '#c166f7',
    950: '#000000',
  },
}
SCSS
$custom: #c166f7;
$custom-light: #d796fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c166f7",
  "rgb": {
    "r": 193,
    "g": 102,
    "b": 247
  },
  "hsl": {
    "h": 277.655,
    "s": 90.062,
    "l": 68.431
  },
  "oklch": {
    "l": 0.67641,
    "c": 0.21656,
    "h": 310.9
  },
  "luminance": 0.27556
}

Semantic roles & 50–950 ramp

primary
#C166F7
secondary
#D7F2C7
accent
#E60055
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C166F7

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

Preview Lab → · Contrast checker → · Palette generator →

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