#C166F4#C166F4

#C166F4 is a light, highly saturated violet. Relative luminance 0.274; OKLCH L 67.5% C 0.213 H 311.6°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#C166F4
RGBrgb(193, 102, 244)
HSLhsl(278, 87%, 68%)
HSVhsv(278, 58%, 96%)
CMYKcmyk(20.9%, 58.2%, 0%, 4.3%)
CIE-LABlab(59.32, 59.40, -56.85)
CIE-LCHlch(59.32, 82.22, 316.26°)
OKLaboklab(67.46% 0.1417 -0.1597)
OKLCHoklch(67.46% 0.213 311.6)
XYZxyz(43.0699, 27.3728, 88.5850)
Luminance0.2737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C166F4 #99F466
analogous
#7A66F4 #C166F4 #F466E0
triadic
#C166F4 #F4C166 #66F4C1
tetradic
#C166F4 #F47A66 #99F466 #66E0F4
square
#C166F4 #F47A66 #99F466 #66E0F4
split-complementary
#C166F4 #E0F466 #66F47A
monochromatic
#8B0FD1 #AA2DF0 #C166F4 #D89FF8 #EFD8FC

Accessibility & contrast

On white

3.24
#C166F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#C166F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C166F4
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C166F4#FFFFFF#000000##000000
##C166F41.003.246.476.47
#FFFFFF3.241.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#358AF9
Deuteranopia (green-blind)
#5B91F1
Tritanopia (blue-blind)
#BB80A4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #c166f4;
/* rgb */ color: rgb(193, 102, 244);
/* oklch */ color: oklch(67.5% 0.213 311.6);
Tailwind
colors: {
  custom: {
    50: '#d796f8',
    500: '#c166f4',
    950: '#000000',
  },
}
SCSS
$custom: #c166f4;
$custom-light: #d796f8;
$custom-dark: #000000;
JSON
{
  "hex": "#c166f4",
  "rgb": {
    "r": 193,
    "g": 102,
    "b": 244
  },
  "hsl": {
    "h": 278.451,
    "s": 86.585,
    "l": 67.843
  },
  "oklch": {
    "l": 0.67464,
    "c": 0.21347,
    "h": 311.6
  },
  "luminance": 0.27372
}

Semantic roles & 50–950 ramp

primary
#C166F4
secondary
#D5F1C5
accent
#E30253
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C166F4

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

Preview Lab → · Contrast checker → · Palette generator →

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