#C162C2#C162C2

#C162C2 is a light, vivid purple. Relative luminance 0.240; OKLCH L 64.3% C 0.170 H 326.9°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#C162C2
RGBrgb(193, 98, 194)
HSLhsl(299, 44%, 57%)
HSVhsv(299, 49%, 76%)
CMYKcmyk(0.5%, 49.5%, 0%, 23.9%)
CIE-LABlab(56.06, 51.50, -33.83)
CIE-LCHlch(56.06, 61.61, 326.70°)
OKLaboklab(64.25% 0.1427 -0.0929)
OKLCHoklch(64.25% 0.17 326.9)
XYZxyz(36.0970, 23.9698, 53.7538)
Luminance0.2397 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C162C2 #63C262
analogous
#9162C2 #C162C2 #C26293
triadic
#C162C2 #C2C162 #62C2C1
tetradic
#C162C2 #C29162 #63C262 #6293C2
square
#C162C2 #C29162 #63C262 #6293C2
split-complementary
#C162C2 #93C262 #62C291
monochromatic
#792F7A #A541A6 #C162C2 #D28ED3 #E4BAE4

Accessibility & contrast

On white

3.62
#C162C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#C162C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C162C2
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C162C2#FFFFFF#000000##000000
##C162C21.003.625.795.79
#FFFFFF3.621.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#597FC5
Deuteranopia (green-blind)
#758BBF
Tritanopia (blue-blind)
#C66D89
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #c162c2;
/* rgb */ color: rgb(193, 98, 194);
/* oklch */ color: oklch(64.3% 0.170 326.9);
Tailwind
colors: {
  custom: {
    50: '#d692d5',
    500: '#c162c2',
    950: '#000000',
  },
}
SCSS
$custom: #c162c2;
$custom-light: #d692d5;
$custom-dark: #000000;
JSON
{
  "hex": "#c162c2",
  "rgb": {
    "r": 193,
    "g": 98,
    "b": 194
  },
  "hsl": {
    "h": 299.375,
    "s": 44.037,
    "l": 57.255
  },
  "oklch": {
    "l": 0.64251,
    "c": 0.1703,
    "h": 326.9
  },
  "luminance": 0.23968
}

Semantic roles & 50–950 ramp

primary
#C162C2
secondary
#ADD3AC
accent
#D45455
background
#FDF9FD
surface
#FAF1FA
border
#D3CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #C162C2

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

Preview Lab → · Contrast checker → · Palette generator →

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