#C166E1#C166E1

#C166E1 is a light, vivid purple. Relative luminance 0.263; OKLCH L 66.4% C 0.194 H 316.5°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#C166E1
RGBrgb(193, 102, 225)
HSLhsl(284, 67%, 64%)
HSVhsv(284, 55%, 88%)
CMYKcmyk(14.2%, 54.7%, 0%, 11.8%)
CIE-LABlab(58.30, 55.47, -47.87)
CIE-LCHlch(58.30, 73.27, 319.21°)
OKLaboklab(66.39% 0.1409 -0.1335)
OKLCHoklch(66.39% 0.194 316.5)
XYZxyz(40.3323, 26.2778, 74.1671)
Luminance0.2628 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C166E1 #86E166
analogous
#8466E1 #C166E1 #E166C4
triadic
#C166E1 #E1C166 #66E1C1
tetradic
#C166E1 #E18466 #86E166 #66C4E1
square
#C166E1 #E18466 #86E166 #66C4E1
split-complementary
#C166E1 #C4E166 #66E184
monochromatic
#8722AB #AC33D7 #C166E1 #D699EB #EACCF5

Accessibility & contrast

On white

3.36
#C166E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#C166E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C166E1
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C166E1#FFFFFF#000000##000000
##C166E11.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4986E5
Deuteranopia (green-blind)
#688FDE
Tritanopia (blue-blind)
#C07A9A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #c166e1;
/* rgb */ color: rgb(193, 102, 225);
/* oklch */ color: oklch(66.4% 0.194 316.5);
Tailwind
colors: {
  custom: {
    50: '#d695eb',
    500: '#c166e1',
    950: '#000000',
  },
}
SCSS
$custom: #c166e1;
$custom-light: #d695eb;
$custom-dark: #000000;
JSON
{
  "hex": "#c166e1",
  "rgb": {
    "r": 193,
    "g": 102,
    "b": 225
  },
  "hsl": {
    "h": 284.39,
    "s": 67.213,
    "l": 64.118
  },
  "oklch": {
    "l": 0.6639,
    "c": 0.19406,
    "h": 316.5
  },
  "luminance": 0.26276
}

Semantic roles & 50–950 ramp

primary
#C166E1
secondary
#C7E7BC
accent
#CF1646
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C166E1

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

Preview Lab → · Contrast checker → · Palette generator →

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