#C162C1#C162C1

#C162C1 is a light, vivid purple. Relative luminance 0.239; OKLCH L 64.2% C 0.169 H 327.3°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#C162C1
RGBrgb(193, 98, 193)
HSLhsl(300, 43%, 57%)
HSVhsv(300, 49%, 76%)
CMYKcmyk(0%, 49.2%, 0%, 24.3%)
CIE-LABlab(56.01, 51.31, -33.33)
CIE-LCHlch(56.01, 61.19, 327.00°)
OKLaboklab(64.2% 0.1426 -0.0914)
OKLCHoklch(64.2% 0.169 327.3)
XYZxyz(35.9850, 23.9250, 53.1643)
Luminance0.2392 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C162C1 #62C162
analogous
#9262C1 #C162C1 #C16292
triadic
#C162C1 #C1C162 #62C1C1
tetradic
#C162C1 #C19262 #62C162 #6292C1
square
#C162C1 #C19262 #62C162 #6292C1
split-complementary
#C162C1 #92C162 #62C192
monochromatic
#793079 #A541A5 #C162C1 #D28ED2 #E4BAE4

Accessibility & contrast

On white

3.63
#C162C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#C162C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C162C1
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C162C1#FFFFFF#000000##000000
##C162C11.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#597EC4
Deuteranopia (green-blind)
#758BBE
Tritanopia (blue-blind)
#C66C89
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #c162c1;
/* rgb */ color: rgb(193, 98, 193);
/* oklch */ color: oklch(64.2% 0.169 327.3);
Tailwind
colors: {
  custom: {
    50: '#d692d4',
    500: '#c162c1',
    950: '#000000',
  },
}
SCSS
$custom: #c162c1;
$custom-light: #d692d4;
$custom-dark: #000000;
JSON
{
  "hex": "#c162c1",
  "rgb": {
    "r": 193,
    "g": 98,
    "b": 193
  },
  "hsl": {
    "h": 300,
    "s": 43.379,
    "l": 57.059
  },
  "oklch": {
    "l": 0.64203,
    "c": 0.16938,
    "h": 327.3
  },
  "luminance": 0.23923
}

Semantic roles & 50–950 ramp

primary
#C162C1
secondary
#ACD3AC
accent
#D35555
background
#FDF9FD
surface
#FAF1FA
border
#D3CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #C162C1

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

Preview Lab → · Contrast checker → · Palette generator →

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