#C166E0#C166E0

#C166E0 is a light, vivid purple. Relative luminance 0.262; OKLCH L 66.3% C 0.193 H 316.8°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#C166E0
RGBrgb(193, 102, 224)
HSLhsl(285, 66%, 64%)
HSVhsv(285, 54%, 88%)
CMYKcmyk(13.8%, 54.5%, 0%, 12.2%)
CIE-LABlab(58.25, 55.27, -47.39)
CIE-LCHlch(58.25, 72.81, 319.39°)
OKLaboklab(66.34% 0.1408 -0.1321)
OKLCHoklch(66.34% 0.193 316.8)
XYZxyz(40.1963, 26.2234, 73.4508)
Luminance0.2622 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C166E0 #85E066
analogous
#8466E0 #C166E0 #E066C2
triadic
#C166E0 #E0C166 #66E0C1
tetradic
#C166E0 #E08466 #85E066 #66C2E0
square
#C166E0 #E08466 #85E066 #66C2E0
split-complementary
#C166E0 #C2E066 #66E084
monochromatic
#8722A9 #AC33D6 #C166E0 #D699EA #EACCF5

Accessibility & contrast

On white

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

On black

6.24
#C166E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C166E0
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C166E0#FFFFFF#000000##000000
##C166E01.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A86E4
Deuteranopia (green-blind)
#698FDD
Tritanopia (blue-blind)
#C0799A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #c166e0;
/* rgb */ color: rgb(193, 102, 224);
/* oklch */ color: oklch(66.3% 0.193 316.8);
Tailwind
colors: {
  custom: {
    50: '#d695ea',
    500: '#c166e0',
    950: '#000000',
  },
}
SCSS
$custom: #c166e0;
$custom-light: #d695ea;
$custom-dark: #000000;
JSON
{
  "hex": "#c166e0",
  "rgb": {
    "r": 193,
    "g": 102,
    "b": 224
  },
  "hsl": {
    "h": 284.754,
    "s": 66.304,
    "l": 63.922
  },
  "oklch": {
    "l": 0.66336,
    "c": 0.19306,
    "h": 316.8
  },
  "luminance": 0.26222
}

Semantic roles & 50–950 ramp

primary
#C166E0
secondary
#C6E6BC
accent
#CE1746
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C166E0

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

Preview Lab → · Contrast checker → · Palette generator →

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