#C162CE#C162CE

#C162CE is a light, vivid purple. Relative luminance 0.245; OKLCH L 64.8% C 0.182 H 322.7°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#C162CE
RGBrgb(193, 98, 206)
HSLhsl(293, 52%, 60%)
HSVhsv(293, 52%, 81%)
CMYKcmyk(6.3%, 52.4%, 0%, 19.2%)
CIE-LABlab(56.62, 53.72, -39.80)
CIE-LCHlch(56.62, 66.86, 323.47°)
OKLaboklab(64.84% 0.1444 -0.1101)
OKLCHoklch(64.84% 0.182 322.7)
XYZxyz(37.4994, 24.5308, 61.1402)
Luminance0.2453 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C162CE #6FCE62
analogous
#8B62CE #C162CE #CE62A5
triadic
#C162CE #CEC162 #62CEC1
tetradic
#C162CE #CE8B62 #6FCE62 #62A5CE
square
#C162CE #CE8B62 #6FCE62 #62A5CE
split-complementary
#C162CE #A5CE62 #62CE8B
monochromatic
#7F2B8A #AA3AB9 #C162CE #D391DD #E6BFEB

Accessibility & contrast

On white

3.56
#C162CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#C162CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C162CE
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C162CE#FFFFFF#000000##000000
##C162CE1.003.565.915.91
#FFFFFF3.561.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5281D2
Deuteranopia (green-blind)
#6F8CCB
Tritanopia (blue-blind)
#C4708F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #c162ce;
/* rgb */ color: rgb(193, 98, 206);
/* oklch */ color: oklch(64.8% 0.182 322.7);
Tailwind
colors: {
  custom: {
    50: '#d692dd',
    500: '#c162ce',
    950: '#000000',
  },
}
SCSS
$custom: #c162ce;
$custom-light: #d692dd;
$custom-dark: #000000;
JSON
{
  "hex": "#c162ce",
  "rgb": {
    "r": 193,
    "g": 98,
    "b": 206
  },
  "hsl": {
    "h": 292.778,
    "s": 52.427,
    "l": 59.608
  },
  "oklch": {
    "l": 0.64844,
    "c": 0.18154,
    "h": 322.7
  },
  "luminance": 0.24529
}

Semantic roles & 50–950 ramp

primary
#C162CE
secondary
#B6DBB1
accent
#DC4C5D
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #C162CE

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

Preview Lab → · Contrast checker → · Palette generator →

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