#C162BD#C162BD

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

Color values

HEX#C162BD
RGBrgb(193, 98, 189)
HSLhsl(303, 43%, 57%)
HSVhsv(303, 49%, 76%)
CMYKcmyk(0%, 49.2%, 2.1%, 24.3%)
CIE-LABlab(55.84, 50.60, -31.31)
CIE-LCHlch(55.84, 59.50, 328.25°)
OKLaboklab(64.01% 0.1419 -0.0857)
OKLCHoklch(64.01% 0.166 328.9)
XYZxyz(35.5448, 23.7490, 50.8460)
Luminance0.2375 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C162BD #62C166
analogous
#9562C1 #C162BD #C1628E
triadic
#C162BD #BDC162 #62BDC1
tetradic
#C162BD #C19562 #62C166 #628EC1
square
#C162BD #C19562 #62C166 #628EC1
split-complementary
#C162BD #8EC162 #62C195
monochromatic
#793076 #A541A1 #C162BD #D28ECF #E4BAE2

Accessibility & contrast

On white

3.65
#C162BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#C162BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C162BD
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C162BD#FFFFFF#000000##000000
##C162BD1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7EC0
Deuteranopia (green-blind)
#778ABA
Tritanopia (blue-blind)
#C76B87
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #c162bd;
/* rgb */ color: rgb(193, 98, 189);
/* oklch */ color: oklch(64.0% 0.166 328.9);
Tailwind
colors: {
  custom: {
    50: '#d692d1',
    500: '#c162bd',
    950: '#000000',
  },
}
SCSS
$custom: #c162bd;
$custom-light: #d692d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c162bd",
  "rgb": {
    "r": 193,
    "g": 98,
    "b": 189
  },
  "hsl": {
    "h": 302.526,
    "s": 43.379,
    "l": 57.059
  },
  "oklch": {
    "l": 0.64014,
    "c": 0.16576,
    "h": 328.9
  },
  "luminance": 0.23747
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C162BD

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

Preview Lab → · Contrast checker → · Palette generator →

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