#C166CB#C166CB

#C166CB is a light, vivid purple. Relative luminance 0.252; OKLCH L 65.2% C 0.172 H 323.5°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#C166CB
RGBrgb(193, 102, 203)
HSLhsl(294, 49%, 60%)
HSVhsv(294, 50%, 80%)
CMYKcmyk(4.9%, 49.8%, 0%, 20.4%)
CIE-LABlab(57.23, 51.17, -37.14)
CIE-LCHlch(57.23, 63.23, 324.03°)
OKLaboklab(65.25% 0.1385 -0.1024)
OKLCHoklch(65.25% 0.172 323.5)
XYZxyz(37.5221, 25.1538, 59.3670)
Luminance0.2515 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C166CB #70CB66
analogous
#8E66CB #C166CB #CB66A3
triadic
#C166CB #CBC166 #66CBC1
tetradic
#C166CB #CB8E66 #70CB66 #66A3CB
square
#C166CB #CB8E66 #70CB66 #66A3CB
split-complementary
#C166CB #A3CB66 #66CB8E
monochromatic
#7F2E88 #AA3EB6 #C166CB #D494DB #E6C1EA

Accessibility & contrast

On white

3.48
#C166CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#C166CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C166CB
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C166CB#FFFFFF#000000##000000
##C166CB1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5882CE
Deuteranopia (green-blind)
#748DC8
Tritanopia (blue-blind)
#C4738F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #c166cb;
/* rgb */ color: rgb(193, 102, 203);
/* oklch */ color: oklch(65.2% 0.172 323.5);
Tailwind
colors: {
  custom: {
    50: '#d695db',
    500: '#c166cb',
    950: '#000000',
  },
}
SCSS
$custom: #c166cb;
$custom-light: #d695db;
$custom-dark: #000000;
JSON
{
  "hex": "#c166cb",
  "rgb": {
    "r": 193,
    "g": 102,
    "b": 203
  },
  "hsl": {
    "h": 294.059,
    "s": 49.268,
    "l": 59.804
  },
  "oklch": {
    "l": 0.65248,
    "c": 0.17228,
    "h": 323.5
  },
  "luminance": 0.25152
}

Semantic roles & 50–950 ramp

primary
#C166CB
secondary
#B7DAB3
accent
#D94F5D
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #C166CB

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

Preview Lab → · Contrast checker → · Palette generator →

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