#C166DB#C166DB

#C166DB is a light, vivid purple. Relative luminance 0.260; OKLCH L 66.1% C 0.188 H 318.3°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#C166DB
RGBrgb(193, 102, 219)
HSLhsl(287, 62%, 63%)
HSVhsv(287, 53%, 86%)
CMYKcmyk(11.9%, 53.4%, 0%, 14.1%)
CIE-LABlab(58.00, 54.27, -44.98)
CIE-LCHlch(58.00, 70.49, 320.35°)
OKLaboklab(66.07% 0.1404 -0.1251)
OKLCHoklch(66.07% 0.188 318.3)
XYZxyz(39.5281, 25.9562, 69.9320)
Luminance0.2596 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C166DB #80DB66
analogous
#8666DB #C166DB #DB66BA
triadic
#C166DB #DBC166 #66DBC1
tetradic
#C166DB #DB8666 #80DB66 #66BADB
square
#C166DB #DB8666 #80DB66 #66BADB
split-complementary
#C166DB #BADB66 #66DB86
monochromatic
#8526A1 #AD34CF #C166DB #D598E7 #E9C9F2

Accessibility & contrast

On white

3.39
#C166DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#C166DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C166DB
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C166DB#FFFFFF#000000##000000
##C166DB1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E85DF
Deuteranopia (green-blind)
#6C8ED8
Tritanopia (blue-blind)
#C17897
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #c166db;
/* rgb */ color: rgb(193, 102, 219);
/* oklch */ color: oklch(66.1% 0.188 318.3);
Tailwind
colors: {
  custom: {
    50: '#d695e6',
    500: '#c166db',
    950: '#000000',
  },
}
SCSS
$custom: #c166db;
$custom-light: #d695e6;
$custom-dark: #000000;
JSON
{
  "hex": "#c166db",
  "rgb": {
    "r": 193,
    "g": 102,
    "b": 219
  },
  "hsl": {
    "h": 286.667,
    "s": 61.905,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66067,
    "c": 0.18803,
    "h": 318.3
  },
  "luminance": 0.25955
}

Semantic roles & 50–950 ramp

primary
#C166DB
secondary
#C3E3B9
accent
#CA1C42
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #C166DB

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

Preview Lab → · Contrast checker → · Palette generator →

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