#C162C5#C162C5

#C162C5 is a light, vivid purple. Relative luminance 0.241; OKLCH L 64.4% C 0.173 H 325.8°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#C162C5
RGBrgb(193, 98, 197)
HSLhsl(298, 46%, 58%)
HSVhsv(298, 50%, 77%)
CMYKcmyk(2%, 50.3%, 0%, 22.7%)
CIE-LABlab(56.19, 52.04, -35.33)
CIE-LCHlch(56.19, 62.90, 325.83°)
OKLaboklab(64.4% 0.1432 -0.0972)
OKLCHoklch(64.4% 0.173 325.8)
XYZxyz(36.4373, 24.1059, 55.5461)
Luminance0.2410 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C162C5 #66C562
analogous
#8F62C5 #C162C5 #C56297
triadic
#C162C5 #C5C162 #62C5C1
tetradic
#C162C5 #C58F62 #66C562 #6297C5
square
#C162C5 #C58F62 #66C562 #6297C5
split-complementary
#C162C5 #97C562 #62C58F
monochromatic
#7B2F7E #A63FAB #C162C5 #D38FD6 #E4BBE6

Accessibility & contrast

On white

3.61
#C162C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#C162C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C162C5
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C162C5#FFFFFF#000000##000000
##C162C51.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#577FC8
Deuteranopia (green-blind)
#748BC2
Tritanopia (blue-blind)
#C56D8B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #c162c5;
/* rgb */ color: rgb(193, 98, 197);
/* oklch */ color: oklch(64.4% 0.173 325.8);
Tailwind
colors: {
  custom: {
    50: '#d692d7',
    500: '#c162c5',
    950: '#000000',
  },
}
SCSS
$custom: #c162c5;
$custom-light: #d692d7;
$custom-dark: #000000;
JSON
{
  "hex": "#c162c5",
  "rgb": {
    "r": 193,
    "g": 98,
    "b": 197
  },
  "hsl": {
    "h": 297.576,
    "s": 46.047,
    "l": 57.843
  },
  "oklch": {
    "l": 0.64396,
    "c": 0.17306,
    "h": 325.8
  },
  "luminance": 0.24104
}

Semantic roles & 50–950 ramp

primary
#C162C5
secondary
#AFD5AE
accent
#D65257
background
#FDF9FD
surface
#FAF1FA
border
#D3CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #C162C5

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

Preview Lab → · Contrast checker → · Palette generator →

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