#C166F5#C166F5

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

Color values

HEX#C166F5
RGBrgb(193, 102, 245)
HSLhsl(278, 88%, 68%)
HSVhsv(278, 58%, 96%)
CMYKcmyk(21.2%, 58.4%, 0%, 3.9%)
CIE-LABlab(59.37, 59.61, -57.32)
CIE-LCHlch(59.37, 82.69, 316.12°)
OKLaboklab(67.52% 0.1417 -0.1611)
OKLCHoklch(67.52% 0.215 311.3)
XYZxyz(43.2221, 27.4337, 89.3869)
Luminance0.2743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C166F5 #9AF566
analogous
#7966F5 #C166F5 #F566E1
triadic
#C166F5 #F5C166 #66F5C1
tetradic
#C166F5 #F57966 #9AF566 #66E1F5
square
#C166F5 #F57966 #9AF566 #66E1F5
split-complementary
#C166F5 #E1F566 #66F579
monochromatic
#8B0ED3 #AA2DF1 #C166F5 #D89FF9 #F0D9FD

Accessibility & contrast

On white

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

On black

6.49
#C166F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C166F5
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C166F5#FFFFFF#000000##000000
##C166F51.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#348AFA
Deuteranopia (green-blind)
#5A91F2
Tritanopia (blue-blind)
#BB80A4
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #c166f5;
/* rgb */ color: rgb(193, 102, 245);
/* oklch */ color: oklch(67.5% 0.215 311.3);
Tailwind
colors: {
  custom: {
    50: '#d796f9',
    500: '#c166f5',
    950: '#000000',
  },
}
SCSS
$custom: #c166f5;
$custom-light: #d796f9;
$custom-dark: #000000;
JSON
{
  "hex": "#c166f5",
  "rgb": {
    "r": 193,
    "g": 102,
    "b": 245
  },
  "hsl": {
    "h": 278.182,
    "s": 87.73,
    "l": 68.039
  },
  "oklch": {
    "l": 0.67523,
    "c": 0.21451,
    "h": 311.3
  },
  "luminance": 0.27433
}

Semantic roles & 50–950 ramp

primary
#C166F5
secondary
#D5F1C6
accent
#E40154
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85

Preview Lab

Preview with #C166F5

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

Preview Lab → · Contrast checker → · Palette generator →

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