#C170BF#C170BF

#C170BF is a light, vivid purple. Relative luminance 0.267; OKLCH L 66.2% C 0.144 H 327.9°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#C170BF
RGBrgb(193, 112, 191)
HSLhsl(301, 40%, 60%)
HSVhsv(301, 42%, 76%)
CMYKcmyk(0%, 42%, 1%, 24.3%)
CIE-LABlab(58.69, 43.79, -28.03)
CIE-LCHlch(58.69, 51.99, 327.37°)
OKLaboklab(66.16% 0.122 -0.0765)
OKLCHoklch(66.16% 0.144 327.9)
XYZxyz(37.1898, 26.6892, 52.4727)
Luminance0.2669 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C170BF #70C172
analogous
#9A70C1 #C170BF #C17097
triadic
#C170BF #BFC170 #70BFC1
tetradic
#C170BF #C19A70 #70C172 #7097C1
square
#C170BF #C19A70 #70C172 #7097C1
split-complementary
#C170BF #97C170 #70C19A
monochromatic
#7F377E #AA4AA8 #C170BF #D49BD2 #E6C5E5

Accessibility & contrast

On white

3.31
#C170BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#C170BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C170BF
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C170BF#FFFFFF#000000##000000
##C170BF1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A86C2
Deuteranopia (green-blind)
#8091BC
Tritanopia (blue-blind)
#C6778F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #c170bf;
/* rgb */ color: rgb(193, 112, 191);
/* oklch */ color: oklch(66.2% 0.144 327.9);
Tailwind
colors: {
  custom: {
    50: '#d59bd2',
    500: '#c170bf',
    950: '#000000',
  },
}
SCSS
$custom: #c170bf;
$custom-light: #d59bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#c170bf",
  "rgb": {
    "r": 193,
    "g": 112,
    "b": 191
  },
  "hsl": {
    "h": 301.481,
    "s": 39.512,
    "l": 59.804
  },
  "oklch": {
    "l": 0.66163,
    "c": 0.14401,
    "h": 327.9
  },
  "luminance": 0.26687
}

Semantic roles & 50–950 ramp

primary
#C170BF
secondary
#B7D6B8
accent
#CF5B58
background
#FDF9FC
surface
#FAF2F9
border
#D3CCD2
text
#140E14
muted
#837E82

Preview Lab

Preview with #C170BF

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

Preview Lab → · Contrast checker → · Palette generator →

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