#C166D4#C166D4

#C166D4 is a light, vivid purple. Relative luminance 0.256; OKLCH L 65.7% C 0.181 H 320.5°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#C166D4
RGBrgb(193, 102, 212)
HSLhsl(290, 56%, 62%)
HSVhsv(290, 52%, 83%)
CMYKcmyk(9%, 51.9%, 0%, 16.9%)
CIE-LABlab(57.65, 52.89, -41.57)
CIE-LCHlch(57.65, 67.28, 321.83°)
OKLaboklab(65.7% 0.1397 -0.1152)
OKLCHoklch(65.7% 0.181 320.5)
XYZxyz(38.6259, 25.5953, 65.1803)
Luminance0.2559 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C166D4 #79D466
analogous
#8A66D4 #C166D4 #D466B0
triadic
#C166D4 #D4C166 #66D4C1
tetradic
#C166D4 #D48A66 #79D466 #66B0D4
square
#C166D4 #D48A66 #79D466 #66B0D4
split-complementary
#C166D4 #B0D466 #66D48A
monochromatic
#832A96 #AD37C5 #C166D4 #D496E1 #E8C6EF

Accessibility & contrast

On white

3.43
#C166D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#C166D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C166D4
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C166D4#FFFFFF#000000##000000
##C166D41.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5384D8
Deuteranopia (green-blind)
#6F8ED1
Tritanopia (blue-blind)
#C27594
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #c166d4;
/* rgb */ color: rgb(193, 102, 212);
/* oklch */ color: oklch(65.7% 0.181 320.5);
Tailwind
colors: {
  custom: {
    50: '#d695e1',
    500: '#c166d4',
    950: '#000000',
  },
}
SCSS
$custom: #c166d4;
$custom-light: #d695e1;
$custom-dark: #000000;
JSON
{
  "hex": "#c166d4",
  "rgb": {
    "r": 193,
    "g": 102,
    "b": 212
  },
  "hsl": {
    "h": 289.636,
    "s": 56.122,
    "l": 61.569
  },
  "oklch": {
    "l": 0.65701,
    "c": 0.18106,
    "h": 320.5
  },
  "luminance": 0.25594
}

Semantic roles & 50–950 ramp

primary
#C166D4
secondary
#BEDFB6
accent
#C4223E
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #C166D4

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

Preview Lab → · Contrast checker → · Palette generator →

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