#C166BD#C166BD

#C166BD is a light, vivid purple. Relative luminance 0.245; OKLCH L 64.6% C 0.159 H 328.9°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#C166BD
RGBrgb(193, 102, 189)
HSLhsl(303, 42%, 58%)
HSVhsv(303, 47%, 76%)
CMYKcmyk(0%, 47.2%, 2.1%, 24.3%)
CIE-LABlab(56.60, 48.59, -30.12)
CIE-LCHlch(56.60, 57.17, 328.20°)
OKLaboklab(64.58% 0.1362 -0.0823)
OKLCHoklch(64.58% 0.159 328.9)
XYZxyz(35.9285, 24.5163, 50.9739)
Luminance0.2451 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C166BD #66C16A
analogous
#9766C1 #C166BD #C16690
triadic
#C166BD #BDC166 #66BDC1
tetradic
#C166BD #C19766 #66C16A #6690C1
square
#C166BD #C19766 #66C16A #6690C1
split-complementary
#C166BD #90C166 #66C197
monochromatic
#7B3278 #A643A2 #C166BD #D392D0 #E4BDE3

Accessibility & contrast

On white

3.56
#C166BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#C166BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C166BD
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C166BD#FFFFFF#000000##000000
##C166BD1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6080C0
Deuteranopia (green-blind)
#7A8CBA
Tritanopia (blue-blind)
#C76E89
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #c166bd;
/* rgb */ color: rgb(193, 102, 189);
/* oklch */ color: oklch(64.6% 0.159 328.9);
Tailwind
colors: {
  custom: {
    50: '#d695d1',
    500: '#c166bd',
    950: '#000000',
  },
}
SCSS
$custom: #c166bd;
$custom-light: #d695d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c166bd",
  "rgb": {
    "r": 193,
    "g": 102,
    "b": 189
  },
  "hsl": {
    "h": 302.637,
    "s": 42.326,
    "l": 57.843
  },
  "oklch": {
    "l": 0.64581,
    "c": 0.15916,
    "h": 328.9
  },
  "luminance": 0.24514
}

Semantic roles & 50–950 ramp

primary
#C166BD
secondary
#AFD4B1
accent
#D25B56
background
#FDF9FC
surface
#FAF2F9
border
#D3CCD2
text
#150D14
muted
#837E82

Preview Lab

Preview with #C166BD

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

Preview Lab → · Contrast checker → · Palette generator →

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