#C166EA#C166EA

#C166EA is a light, highly saturated purple. Relative luminance 0.268; OKLCH L 66.9% C 0.203 H 314.1°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#C166EA
RGBrgb(193, 102, 234)
HSLhsl(281, 76%, 66%)
HSVhsv(281, 56%, 92%)
CMYKcmyk(17.5%, 56.4%, 0%, 8.2%)
CIE-LABlab(58.77, 57.31, -52.16)
CIE-LCHlch(58.77, 77.49, 317.70°)
OKLaboklab(66.89% 0.1414 -0.146)
OKLCHoklch(66.89% 0.203 314.1)
XYZxyz(41.5925, 26.7819, 80.8044)
Luminance0.2678 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C166EA #8FEA66
analogous
#7F66EA #C166EA #EA66D1
triadic
#C166EA #EAC166 #66EAC1
tetradic
#C166EA #EA7F66 #8FEA66 #66D1EA
square
#C166EA #EA7F66 #8FEA66 #66D1EA
split-complementary
#C166EA #D1EA66 #66EA7F
monochromatic
#891ABC #AB30E3 #C166EA #D79CF1 #EDD2F9

Accessibility & contrast

On white

3.30
#C166EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#C166EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C166EA
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C166EA#FFFFFF#000000##000000
##C166EA1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4188EE
Deuteranopia (green-blind)
#6290E7
Tritanopia (blue-blind)
#BE7C9F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #c166ea;
/* rgb */ color: rgb(193, 102, 234);
/* oklch */ color: oklch(66.9% 0.203 314.1);
Tailwind
colors: {
  custom: {
    50: '#d795f1',
    500: '#c166ea',
    950: '#000000',
  },
}
SCSS
$custom: #c166ea;
$custom-light: #d795f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c166ea",
  "rgb": {
    "r": 193,
    "g": 102,
    "b": 234
  },
  "hsl": {
    "h": 281.364,
    "s": 75.862,
    "l": 65.882
  },
  "oklch": {
    "l": 0.66889,
    "c": 0.20322,
    "h": 314.1
  },
  "luminance": 0.26781
}

Semantic roles & 50–950 ramp

primary
#C166EA
secondary
#CEECC0
accent
#D80D4C
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #C166EA

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

Preview Lab → · Contrast checker → · Palette generator →

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