#C168BD#C168BD

#C168BD is a light, vivid purple. Relative luminance 0.249; OKLCH L 64.9% C 0.156 H 328.8°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#C168BD
RGBrgb(193, 104, 189)
HSLhsl(303, 42%, 58%)
HSVhsv(303, 46%, 76%)
CMYKcmyk(0%, 46.1%, 2.1%, 24.3%)
CIE-LABlab(56.99, 47.57, -29.52)
CIE-LCHlch(56.99, 55.98, 328.18°)
OKLaboklab(64.87% 0.1333 -0.0806)
OKLCHoklch(64.87% 0.156 328.8)
XYZxyz(36.1274, 24.9142, 51.0402)
Luminance0.2491 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C168BD #68C16C
analogous
#9868C1 #C168BD #C16890
triadic
#C168BD #BDC168 #68BDC1
tetradic
#C168BD #C19868 #68C16C #6890C1
square
#C168BD #C19868 #68C16C #6890C1
split-complementary
#C168BD #90C168 #68C198
monochromatic
#7C3378 #A745A3 #C168BD #D393D0 #E5BFE3

Accessibility & contrast

On white

3.51
#C168BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#C168BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C168BD
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C168BD#FFFFFF#000000##000000
##C168BD1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6281C0
Deuteranopia (green-blind)
#7B8DBA
Tritanopia (blue-blind)
#C7708A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #c168bd;
/* rgb */ color: rgb(193, 104, 189);
/* oklch */ color: oklch(64.9% 0.156 328.8);
Tailwind
colors: {
  custom: {
    50: '#d696d1',
    500: '#c168bd',
    950: '#000000',
  },
}
SCSS
$custom: #c168bd;
$custom-light: #d696d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c168bd",
  "rgb": {
    "r": 193,
    "g": 104,
    "b": 189
  },
  "hsl": {
    "h": 302.697,
    "s": 41.784,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64872,
    "c": 0.15581,
    "h": 328.8
  },
  "luminance": 0.24912
}

Semantic roles & 50–950 ramp

primary
#C168BD
secondary
#B1D4B2
accent
#D25C56
background
#FDF9FC
surface
#FAF2F9
border
#D3CCD2
text
#140E14
muted
#837E82

Preview Lab

Preview with #C168BD

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

Preview Lab → · Contrast checker → · Palette generator →

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