#C166F0#C166F0

#C166F0 is a light, highly saturated violet. Relative luminance 0.271; OKLCH L 67.2% C 0.209 H 312.6°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#C166F0
RGBrgb(193, 102, 240)
HSLhsl(280, 82%, 67%)
HSVhsv(280, 58%, 94%)
CMYKcmyk(19.6%, 57.5%, 0%, 5.9%)
CIE-LABlab(59.10, 58.56, -54.98)
CIE-LCHlch(59.10, 80.32, 316.80°)
OKLaboklab(67.23% 0.1416 -0.1542)
OKLCHoklch(67.23% 0.209 312.6)
XYZxyz(42.4691, 27.1325, 85.4211)
Luminance0.2713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C166F0 #95F066
analogous
#7C66F0 #C166F0 #F066DA
triadic
#C166F0 #F0C166 #66F0C1
tetradic
#C166F0 #F07C66 #95F066 #66DAF0
square
#C166F0 #F07C66 #95F066 #66DAF0
split-complementary
#C166F0 #DAF066 #66F07C
monochromatic
#8B14C8 #AA2EEB #C166F0 #D89EF5 #EED5FB

Accessibility & contrast

On white

3.27
#C166F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#C166F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C166F0
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C166F0#FFFFFF#000000##000000
##C166F01.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A89F4
Deuteranopia (green-blind)
#5E90ED
Tritanopia (blue-blind)
#BC7FA2
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #c166f0;
/* rgb */ color: rgb(193, 102, 240);
/* oklch */ color: oklch(67.2% 0.209 312.6);
Tailwind
colors: {
  custom: {
    50: '#d796f5',
    500: '#c166f0',
    950: '#000000',
  },
}
SCSS
$custom: #c166f0;
$custom-light: #d796f5;
$custom-dark: #000000;
JSON
{
  "hex": "#c166f0",
  "rgb": {
    "r": 193,
    "g": 102,
    "b": 240
  },
  "hsl": {
    "h": 279.565,
    "s": 82.143,
    "l": 67.059
  },
  "oklch": {
    "l": 0.67231,
    "c": 0.20937,
    "h": 312.6
  },
  "luminance": 0.27131
}

Semantic roles & 50–950 ramp

primary
#C166F0
secondary
#D2EFC3
accent
#DF0750
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150E17
muted
#837E85

Preview Lab

Preview with #C166F0

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

Preview Lab → · Contrast checker → · Palette generator →

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