#C166E7#C166E7

#C166E7 is a light, highly saturated purple. Relative luminance 0.266; OKLCH L 66.7% C 0.200 H 314.9°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#C166E7
RGBrgb(193, 102, 231)
HSLhsl(282, 73%, 65%)
HSVhsv(282, 56%, 91%)
CMYKcmyk(16.5%, 55.8%, 0%, 9.4%)
CIE-LABlab(58.61, 56.69, -50.73)
CIE-LCHlch(58.61, 76.08, 318.17°)
OKLaboklab(66.72% 0.1412 -0.1418)
OKLCHoklch(66.72% 0.2 314.9)
XYZxyz(41.1652, 26.6110, 78.5538)
Luminance0.2661 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C166E7 #8CE766
analogous
#8166E7 #C166E7 #E766CC
triadic
#C166E7 #E7C166 #66E7C1
tetradic
#C166E7 #E78166 #8CE766 #66CCE7
square
#C166E7 #E78166 #8CE766 #66CCE7
split-complementary
#C166E7 #CCE766 #66E781
monochromatic
#891DB6 #AC31DF #C166E7 #D69BEF #ECD0F8

Accessibility & contrast

On white

3.32
#C166E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#C166E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C166E7
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C166E7#FFFFFF#000000##000000
##C166E71.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4488EB
Deuteranopia (green-blind)
#648FE4
Tritanopia (blue-blind)
#BE7C9D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #c166e7;
/* rgb */ color: rgb(193, 102, 231);
/* oklch */ color: oklch(66.7% 0.200 314.9);
Tailwind
colors: {
  custom: {
    50: '#d695ef',
    500: '#c166e7',
    950: '#000000',
  },
}
SCSS
$custom: #c166e7;
$custom-light: #d695ef;
$custom-dark: #000000;
JSON
{
  "hex": "#c166e7",
  "rgb": {
    "r": 193,
    "g": 102,
    "b": 231
  },
  "hsl": {
    "h": 282.326,
    "s": 72.881,
    "l": 65.294
  },
  "oklch": {
    "l": 0.66721,
    "c": 0.20016,
    "h": 314.9
  },
  "luminance": 0.2661
}

Semantic roles & 50–950 ramp

primary
#C166E7
secondary
#CBEABF
accent
#D5114A
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C166E7

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

Preview Lab → · Contrast checker → · Palette generator →

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