#C162C7#C162C7

#C162C7 is a light, vivid purple. Relative luminance 0.242; OKLCH L 64.5% C 0.175 H 325.1°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#C162C7
RGBrgb(193, 98, 199)
HSLhsl(296, 47%, 58%)
HSVhsv(296, 51%, 78%)
CMYKcmyk(3%, 50.8%, 0%, 22%)
CIE-LABlab(56.29, 52.41, -36.33)
CIE-LCHlch(56.29, 63.77, 325.27°)
OKLaboklab(64.49% 0.1435 -0.1001)
OKLCHoklch(64.49% 0.175 325.1)
XYZxyz(36.6680, 24.1982, 56.7611)
Luminance0.2420 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C162C7 #68C762
analogous
#8E62C7 #C162C7 #C7629A
triadic
#C162C7 #C7C162 #62C7C1
tetradic
#C162C7 #C78E62 #68C762 #629AC7
square
#C162C7 #C78E62 #68C762 #629AC7
split-complementary
#C162C7 #9AC762 #62C78E
monochromatic
#7C2E81 #A73EAE #C162C7 #D38FD7 #E5BCE7

Accessibility & contrast

On white

3.60
#C162C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#C162C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C162C7
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C162C7#FFFFFF#000000##000000
##C162C71.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#567FCA
Deuteranopia (green-blind)
#738BC4
Tritanopia (blue-blind)
#C56E8C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #c162c7;
/* rgb */ color: rgb(193, 98, 199);
/* oklch */ color: oklch(64.5% 0.175 325.1);
Tailwind
colors: {
  custom: {
    50: '#d692d8',
    500: '#c162c7',
    950: '#000000',
  },
}
SCSS
$custom: #c162c7;
$custom-light: #d692d8;
$custom-dark: #000000;
JSON
{
  "hex": "#c162c7",
  "rgb": {
    "r": 193,
    "g": 98,
    "b": 199
  },
  "hsl": {
    "h": 296.436,
    "s": 47.418,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64494,
    "c": 0.17492,
    "h": 325.1
  },
  "luminance": 0.24196
}

Semantic roles & 50–950 ramp

primary
#C162C7
secondary
#B1D7AE
accent
#D75159
background
#FDF9FD
surface
#FAF1FA
border
#D3CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #C162C7

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

Preview Lab → · Contrast checker → · Palette generator →

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