#C162CC#C162CC

#C162CC is a light, vivid purple. Relative luminance 0.244; OKLCH L 64.7% C 0.180 H 323.4°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#C162CC
RGBrgb(193, 98, 204)
HSLhsl(294, 51%, 59%)
HSVhsv(294, 52%, 80%)
CMYKcmyk(5.4%, 52%, 0%, 20%)
CIE-LABlab(56.52, 53.34, -38.81)
CIE-LCHlch(56.52, 65.97, 323.96°)
OKLaboklab(64.74% 0.1441 -0.1072)
OKLCHoklch(64.74% 0.18 323.4)
XYZxyz(37.2580, 24.4342, 59.8688)
Luminance0.2443 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C162CC #6DCC62
analogous
#8C62CC #C162CC #CC62A2
triadic
#C162CC #CCC162 #62CCC1
tetradic
#C162CC #CC8C62 #6DCC62 #62A2CC
square
#C162CC #CC8C62 #6DCC62 #62A2CC
split-complementary
#C162CC #A2CC62 #62CC8C
monochromatic
#7E2C88 #A93BB6 #C162CC #D390DB #E5BEEA

Accessibility & contrast

On white

3.57
#C162CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#C162CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C162CC
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C162CC#FFFFFF#000000##000000
##C162CC1.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5380CF
Deuteranopia (green-blind)
#708BC9
Tritanopia (blue-blind)
#C4708E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #c162cc;
/* rgb */ color: rgb(193, 98, 204);
/* oklch */ color: oklch(64.7% 0.180 323.4);
Tailwind
colors: {
  custom: {
    50: '#d692dc',
    500: '#c162cc',
    950: '#000000',
  },
}
SCSS
$custom: #c162cc;
$custom-light: #d692dc;
$custom-dark: #000000;
JSON
{
  "hex": "#c162cc",
  "rgb": {
    "r": 193,
    "g": 98,
    "b": 204
  },
  "hsl": {
    "h": 293.774,
    "s": 50.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.64743,
    "c": 0.17964,
    "h": 323.4
  },
  "luminance": 0.24432
}

Semantic roles & 50–950 ramp

primary
#C162CC
secondary
#B4DAB0
accent
#DA4D5C
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #C162CC

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

Preview Lab → · Contrast checker → · Palette generator →

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