#C162CD#C162CD

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

Color values

HEX#C162CD
RGBrgb(193, 98, 205)
HSLhsl(293, 52%, 59%)
HSVhsv(293, 52%, 80%)
CMYKcmyk(5.9%, 52.2%, 0%, 19.6%)
CIE-LABlab(56.57, 53.53, -39.31)
CIE-LCHlch(56.57, 66.41, 323.71°)
OKLaboklab(64.79% 0.1443 -0.1086)
OKLCHoklch(64.79% 0.181 323)
XYZxyz(37.3783, 24.4824, 60.5025)
Luminance0.2448 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C162CD #6ECD62
analogous
#8C62CD #C162CD #CD62A4
triadic
#C162CD #CDC162 #62CDC1
tetradic
#C162CD #CD8C62 #6ECD62 #62A4CD
square
#C162CD #CD8C62 #6ECD62 #62A4CD
split-complementary
#C162CD #A4CD62 #62CD8C
monochromatic
#7F2C89 #A93AB7 #C162CD #D390DC #E6BFEB

Accessibility & contrast

On white

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

On black

5.90
#C162CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C162CD
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C162CD#FFFFFF#000000##000000
##C162CD1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5280D1
Deuteranopia (green-blind)
#708CCA
Tritanopia (blue-blind)
#C4708E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #c162cd;
/* rgb */ color: rgb(193, 98, 205);
/* oklch */ color: oklch(64.8% 0.181 323.0);
Tailwind
colors: {
  custom: {
    50: '#d692dc',
    500: '#c162cd',
    950: '#000000',
  },
}
SCSS
$custom: #c162cd;
$custom-light: #d692dc;
$custom-dark: #000000;
JSON
{
  "hex": "#c162cd",
  "rgb": {
    "r": 193,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 293.271,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.64794,
    "c": 0.18058,
    "h": 323
  },
  "luminance": 0.24481
}

Semantic roles & 50–950 ramp

primary
#C162CD
secondary
#B5DAB1
accent
#DB4D5D
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #C162CD

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

Preview Lab → · Contrast checker → · Palette generator →

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