#C162CA#C162CA

#C162CA is a light, vivid purple. Relative luminance 0.243; OKLCH L 64.6% C 0.178 H 324.0°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#C162CA
RGBrgb(193, 98, 202)
HSLhsl(295, 50%, 59%)
HSVhsv(295, 51%, 79%)
CMYKcmyk(4.5%, 51.5%, 0%, 20.8%)
CIE-LABlab(56.43, 52.97, -37.82)
CIE-LCHlch(56.43, 65.09, 324.47°)
OKLaboklab(64.64% 0.1439 -0.1044)
OKLCHoklch(64.64% 0.178 324)
XYZxyz(37.0197, 24.3389, 58.6136)
Luminance0.2434 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C162CA #6BCA62
analogous
#8D62CA #C162CA #CA629F
triadic
#C162CA #CAC162 #62CAC1
tetradic
#C162CA #CA8D62 #6BCA62 #629FCA
square
#C162CA #CA8D62 #6BCA62 #629FCA
split-complementary
#C162CA #9FCA62 #62CA8D
monochromatic
#7D2D85 #A83CB3 #C162CA #D390D9 #E5BEE9

Accessibility & contrast

On white

3.58
#C162CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#C162CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C162CA
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C162CA#FFFFFF#000000##000000
##C162CA1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5480CD
Deuteranopia (green-blind)
#718BC7
Tritanopia (blue-blind)
#C46F8D
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #c162ca;
/* rgb */ color: rgb(193, 98, 202);
/* oklch */ color: oklch(64.6% 0.178 324.0);
Tailwind
colors: {
  custom: {
    50: '#d692da',
    500: '#c162ca',
    950: '#000000',
  },
}
SCSS
$custom: #c162ca;
$custom-light: #d692da;
$custom-dark: #000000;
JSON
{
  "hex": "#c162ca",
  "rgb": {
    "r": 193,
    "g": 98,
    "b": 202
  },
  "hsl": {
    "h": 294.808,
    "s": 49.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.64643,
    "c": 0.17774,
    "h": 324
  },
  "luminance": 0.24337
}

Semantic roles & 50–950 ramp

primary
#C162CA
secondary
#B3D8AF
accent
#D94F5B
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #C162CA

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

Preview Lab → · Contrast checker → · Palette generator →

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