#C162C8#C162C8

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

Color values

HEX#C162C8
RGBrgb(193, 98, 200)
HSLhsl(296, 48%, 58%)
HSVhsv(296, 51%, 78%)
CMYKcmyk(3.5%, 51%, 0%, 21.6%)
CIE-LABlab(56.33, 52.60, -36.83)
CIE-LCHlch(56.33, 64.21, 325.00°)
OKLaboklab(64.54% 0.1436 -0.1015)
OKLCHoklch(64.54% 0.176 324.7)
XYZxyz(36.7844, 24.2448, 57.3745)
Luminance0.2424 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C162C8 #69C862
analogous
#8E62C8 #C162C8 #C8629C
triadic
#C162C8 #C8C162 #62C8C1
tetradic
#C162C8 #C88E62 #69C862 #629CC8
square
#C162C8 #C88E62 #69C862 #629CC8
split-complementary
#C162C8 #9CC862 #62C88E
monochromatic
#7C2E82 #A83DAF #C162C8 #D38FD8 #E5BDE8

Accessibility & contrast

On white

3.59
#C162C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#C162C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C162C8
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C162C8#FFFFFF#000000##000000
##C162C81.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5580CB
Deuteranopia (green-blind)
#728BC5
Tritanopia (blue-blind)
#C56E8C
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #c162c8;
/* rgb */ color: rgb(193, 98, 200);
/* oklch */ color: oklch(64.5% 0.176 324.7);
Tailwind
colors: {
  custom: {
    50: '#d692d9',
    500: '#c162c8',
    950: '#000000',
  },
}
SCSS
$custom: #c162c8;
$custom-light: #d692d9;
$custom-dark: #000000;
JSON
{
  "hex": "#c162c8",
  "rgb": {
    "r": 193,
    "g": 98,
    "b": 200
  },
  "hsl": {
    "h": 295.882,
    "s": 48.113,
    "l": 58.431
  },
  "oklch": {
    "l": 0.64543,
    "c": 0.17586,
    "h": 324.7
  },
  "luminance": 0.24243
}

Semantic roles & 50–950 ramp

primary
#C162C8
secondary
#B1D7AF
accent
#D85059
background
#FDF9FD
surface
#FAF2FA
border
#D3CCD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #C162C8

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

Preview Lab → · Contrast checker → · Palette generator →

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