#C162B7#C162B7

#C162B7 is a light, vivid purple. Relative luminance 0.235; OKLCH L 63.7% C 0.160 H 331.3°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#C162B7
RGBrgb(193, 98, 183)
HSLhsl(306, 43%, 57%)
HSVhsv(306, 49%, 76%)
CMYKcmyk(0%, 49.2%, 5.2%, 24.3%)
CIE-LABlab(55.58, 49.54, -28.26)
CIE-LCHlch(55.58, 57.04, 330.30°)
OKLaboklab(63.74% 0.1408 -0.077)
OKLCHoklch(63.74% 0.16 331.3)
XYZxyz(34.9070, 23.4938, 47.4867)
Luminance0.2349 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C162B7 #62C16C
analogous
#9C62C1 #C162B7 #C16288
triadic
#C162B7 #B7C162 #62B7C1
tetradic
#C162B7 #C19C62 #62C16C #6288C1
square
#C162B7 #C19C62 #62C16C #6288C1
split-complementary
#C162B7 #88C162 #62C19C
monochromatic
#793071 #A5419A #C162B7 #D28ECB #E4BADF

Accessibility & contrast

On white

3.69
#C162B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#C162B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C162B7
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C162B7#FFFFFF#000000##000000
##C162B71.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7DBA
Deuteranopia (green-blind)
#7A8AB4
Tritanopia (blue-blind)
#C86984
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #c162b7;
/* rgb */ color: rgb(193, 98, 183);
/* oklch */ color: oklch(63.7% 0.160 331.3);
Tailwind
colors: {
  custom: {
    50: '#d692cd',
    500: '#c162b7',
    950: '#000000',
  },
}
SCSS
$custom: #c162b7;
$custom-light: #d692cd;
$custom-dark: #000000;
JSON
{
  "hex": "#c162b7",
  "rgb": {
    "r": 193,
    "g": 98,
    "b": 183
  },
  "hsl": {
    "h": 306.316,
    "s": 43.379,
    "l": 57.059
  },
  "oklch": {
    "l": 0.63738,
    "c": 0.16047,
    "h": 331.3
  },
  "luminance": 0.23492
}

Semantic roles & 50–950 ramp

primary
#C162B7
secondary
#ACD3B0
accent
#D36255
background
#FDF9FC
surface
#FAF1F9
border
#D3CBD2
text
#150D13
muted
#837E82

Preview Lab

Preview with #C162B7

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

Preview Lab → · Contrast checker → · Palette generator →

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