#C166F8#C166F8

#C166F8 is a light, highly saturated violet. Relative luminance 0.276; OKLCH L 67.7% C 0.218 H 310.6°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#C166F8
RGBrgb(193, 102, 248)
HSLhsl(277, 91%, 69%)
HSVhsv(277, 59%, 97%)
CMYKcmyk(22.2%, 58.9%, 0%, 2.7%)
CIE-LABlab(59.54, 60.25, -58.71)
CIE-LCHlch(59.54, 84.12, 315.74°)
OKLaboklab(67.7% 0.1417 -0.1651)
OKLCHoklch(67.7% 0.218 310.6)
XYZxyz(43.6838, 27.6184, 91.8184)
Luminance0.2762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C166F8 #9DF866
analogous
#7866F8 #C166F8 #F866E6
triadic
#C166F8 #F8C166 #66F8C1
tetradic
#C166F8 #F87866 #9DF866 #66E6F8
square
#C166F8 #F87866 #9DF866 #66E6F8
split-complementary
#C166F8 #E6F866 #66F878
monochromatic
#8B0ADA #A92BF5 #C166F8 #D9A1FB #F0DBFD

Accessibility & contrast

On white

3.22
#C166F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#C166F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C166F8
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C166F8#FFFFFF#000000##000000
##C166F81.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F8BFD
Deuteranopia (green-blind)
#5791F5
Tritanopia (blue-blind)
#BA81A6
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #c166f8;
/* rgb */ color: rgb(193, 102, 248);
/* oklch */ color: oklch(67.7% 0.218 310.6);
Tailwind
colors: {
  custom: {
    50: '#d796fb',
    500: '#c166f8',
    950: '#000000',
  },
}
SCSS
$custom: #c166f8;
$custom-light: #d796fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c166f8",
  "rgb": {
    "r": 193,
    "g": 102,
    "b": 248
  },
  "hsl": {
    "h": 277.397,
    "s": 91.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.677,
    "c": 0.2176,
    "h": 310.6
  },
  "luminance": 0.27618
}

Semantic roles & 50–950 ramp

primary
#C166F8
secondary
#D8F3C7
accent
#E60056
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C166F8

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

Preview Lab → · Contrast checker → · Palette generator →

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