#C166E9#C166E9

#C166E9 is a light, highly saturated purple. Relative luminance 0.267; OKLCH L 66.8% C 0.202 H 314.3°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#C166E9
RGBrgb(193, 102, 233)
HSLhsl(282, 75%, 66%)
HSVhsv(282, 56%, 91%)
CMYKcmyk(17.2%, 56.2%, 0%, 8.6%)
CIE-LABlab(58.72, 57.10, -51.68)
CIE-LCHlch(58.72, 77.02, 317.85°)
OKLaboklab(66.83% 0.1413 -0.1446)
OKLCHoklch(66.83% 0.202 314.3)
XYZxyz(41.4493, 26.7246, 80.0499)
Luminance0.2672 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C166E9 #8EE966
analogous
#7F66E9 #C166E9 #E966D0
triadic
#C166E9 #E9C166 #66E9C1
tetradic
#C166E9 #E97F66 #8EE966 #66D0E9
square
#C166E9 #E97F66 #8EE966 #66D0E9
split-complementary
#C166E9 #D0E966 #66E97F
monochromatic
#891BBA #AB30E1 #C166E9 #D79CF1 #ECD1F8

Accessibility & contrast

On white

3.31
#C166E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#C166E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C166E9
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C166E9#FFFFFF#000000##000000
##C166E91.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4288ED
Deuteranopia (green-blind)
#6390E6
Tritanopia (blue-blind)
#BE7C9E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #c166e9;
/* rgb */ color: rgb(193, 102, 233);
/* oklch */ color: oklch(66.8% 0.202 314.3);
Tailwind
colors: {
  custom: {
    50: '#d795f0',
    500: '#c166e9',
    950: '#000000',
  },
}
SCSS
$custom: #c166e9;
$custom-light: #d795f0;
$custom-dark: #000000;
JSON
{
  "hex": "#c166e9",
  "rgb": {
    "r": 193,
    "g": 102,
    "b": 233
  },
  "hsl": {
    "h": 281.679,
    "s": 74.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.66833,
    "c": 0.2022,
    "h": 314.3
  },
  "luminance": 0.26723
}

Semantic roles & 50–950 ramp

primary
#C166E9
secondary
#CDEBC0
accent
#D70E4C
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #C166E9

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

Preview Lab → · Contrast checker → · Palette generator →

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