#C162BC#C162BC

#C162BC is a light, vivid purple. Relative luminance 0.237; OKLCH L 64.0% C 0.165 H 329.3°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#C162BC
RGBrgb(193, 98, 188)
HSLhsl(303, 43%, 57%)
HSVhsv(303, 49%, 76%)
CMYKcmyk(0%, 49.2%, 2.6%, 24.3%)
CIE-LABlab(55.79, 50.42, -30.80)
CIE-LCHlch(55.79, 59.08, 328.58°)
OKLaboklab(63.97% 0.1417 -0.0842)
OKLCHoklch(63.97% 0.165 329.3)
XYZxyz(35.4367, 23.7057, 50.2763)
Luminance0.2370 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C162BC #62C167
analogous
#9762C1 #C162BC #C1628D
triadic
#C162BC #BCC162 #62BCC1
tetradic
#C162BC #C19762 #62C167 #628DC1
square
#C162BC #C19762 #62C167 #628DC1
split-complementary
#C162BC #8DC162 #62C197
monochromatic
#793075 #A5419F #C162BC #D28ECF #E4BAE1

Accessibility & contrast

On white

3.66
#C162BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#C162BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C162BC
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C162BC#FFFFFF#000000##000000
##C162BC1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7EBF
Deuteranopia (green-blind)
#788AB9
Tritanopia (blue-blind)
#C76B86
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #c162bc;
/* rgb */ color: rgb(193, 98, 188);
/* oklch */ color: oklch(64.0% 0.165 329.3);
Tailwind
colors: {
  custom: {
    50: '#d692d0',
    500: '#c162bc',
    950: '#000000',
  },
}
SCSS
$custom: #c162bc;
$custom-light: #d692d0;
$custom-dark: #000000;
JSON
{
  "hex": "#c162bc",
  "rgb": {
    "r": 193,
    "g": 98,
    "b": 188
  },
  "hsl": {
    "h": 303.158,
    "s": 43.379,
    "l": 57.059
  },
  "oklch": {
    "l": 0.63967,
    "c": 0.16487,
    "h": 329.3
  },
  "luminance": 0.23704
}

Semantic roles & 50–950 ramp

primary
#C162BC
secondary
#ACD3AE
accent
#D35B55
background
#FDF9FC
surface
#FAF1F9
border
#D3CBD2
text
#150D14
muted
#837E82

Preview Lab

Preview with #C162BC

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

Preview Lab → · Contrast checker → · Palette generator →

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