#C166D5#C166D5

#C166D5 is a light, vivid purple. Relative luminance 0.256; OKLCH L 65.8% C 0.182 H 320.2°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#C166D5
RGBrgb(193, 102, 213)
HSLhsl(289, 57%, 62%)
HSVhsv(289, 52%, 84%)
CMYKcmyk(9.4%, 52.1%, 0%, 16.5%)
CIE-LABlab(57.70, 53.09, -42.06)
CIE-LCHlch(57.70, 67.73, 321.61°)
OKLaboklab(65.75% 0.1398 -0.1166)
OKLCHoklch(65.75% 0.182 320.2)
XYZxyz(38.7525, 25.6459, 65.8467)
Luminance0.2564 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C166D5 #7AD566
analogous
#8A66D5 #C166D5 #D566B2
triadic
#C166D5 #D5C166 #66D5C1
tetradic
#C166D5 #D58A66 #7AD566 #66B2D5
square
#C166D5 #D58A66 #7AD566 #66B2D5
split-complementary
#C166D5 #B2D566 #66D58A
monochromatic
#832997 #AD37C7 #C166D5 #D496E2 #E8C6EF

Accessibility & contrast

On white

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

On black

6.13
#C166D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C166D5
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C166D5#FFFFFF#000000##000000
##C166D51.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5284D9
Deuteranopia (green-blind)
#6F8ED2
Tritanopia (blue-blind)
#C27694
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #c166d5;
/* rgb */ color: rgb(193, 102, 213);
/* oklch */ color: oklch(65.8% 0.182 320.2);
Tailwind
colors: {
  custom: {
    50: '#d695e2',
    500: '#c166d5',
    950: '#000000',
  },
}
SCSS
$custom: #c166d5;
$custom-light: #d695e2;
$custom-dark: #000000;
JSON
{
  "hex": "#c166d5",
  "rgb": {
    "r": 193,
    "g": 102,
    "b": 213
  },
  "hsl": {
    "h": 289.189,
    "s": 56.923,
    "l": 61.765
  },
  "oklch": {
    "l": 0.65753,
    "c": 0.18205,
    "h": 320.2
  },
  "luminance": 0.25644
}

Semantic roles & 50–950 ramp

primary
#C166D5
secondary
#BEE0B7
accent
#C4213E
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #C166D5

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

Preview Lab → · Contrast checker → · Palette generator →

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