#C168BF#C168BF

#C168BF is a light, vivid purple. Relative luminance 0.250; OKLCH L 65.0% C 0.158 H 328.0°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#C168BF
RGBrgb(193, 104, 191)
HSLhsl(301, 42%, 58%)
HSVhsv(301, 46%, 76%)
CMYKcmyk(0%, 46.1%, 1%, 24.3%)
CIE-LABlab(57.08, 47.93, -30.53)
CIE-LCHlch(57.08, 56.83, 327.51°)
OKLaboklab(64.96% 0.1337 -0.0835)
OKLCHoklch(64.96% 0.158 328)
XYZxyz(36.3460, 25.0016, 52.1914)
Luminance0.2500 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C168BF #68C16A
analogous
#9668C1 #C168BF #C16892
triadic
#C168BF #BFC168 #68BFC1
tetradic
#C168BF #C19668 #68C16A #6892C1
square
#C168BF #C19668 #68C16A #6892C1
split-complementary
#C168BF #92C168 #68C196
monochromatic
#7C337A #A745A5 #C168BF #D393D1 #E5BFE4

Accessibility & contrast

On white

3.50
#C168BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#C168BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C168BF
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C168BF#FFFFFF#000000##000000
##C168BF1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6182C2
Deuteranopia (green-blind)
#7A8DBC
Tritanopia (blue-blind)
#C6718B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #c168bf;
/* rgb */ color: rgb(193, 104, 191);
/* oklch */ color: oklch(65.0% 0.158 328.0);
Tailwind
colors: {
  custom: {
    50: '#d696d2',
    500: '#c168bf',
    950: '#000000',
  },
}
SCSS
$custom: #c168bf;
$custom-light: #d696d2;
$custom-dark: #000000;
JSON
{
  "hex": "#c168bf",
  "rgb": {
    "r": 193,
    "g": 104,
    "b": 191
  },
  "hsl": {
    "h": 301.348,
    "s": 41.784,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64963,
    "c": 0.15764,
    "h": 328
  },
  "luminance": 0.25
}

Semantic roles & 50–950 ramp

primary
#C168BF
secondary
#B1D4B1
accent
#D25956
background
#FDF9FC
surface
#FAF2F9
border
#D3CCD2
text
#140E14
muted
#837E82

Preview Lab

Preview with #C168BF

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

Preview Lab → · Contrast checker → · Palette generator →

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