#C162CB#C162CB

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

Color values

HEX#C162CB
RGBrgb(193, 98, 203)
HSLhsl(294, 50%, 59%)
HSVhsv(294, 52%, 80%)
CMYKcmyk(4.9%, 51.7%, 0%, 20.4%)
CIE-LABlab(56.47, 53.16, -38.32)
CIE-LCHlch(56.47, 65.53, 324.21°)
OKLaboklab(64.69% 0.144 -0.1058)
OKLCHoklch(64.69% 0.179 323.7)
XYZxyz(37.1385, 24.3864, 59.2392)
Luminance0.2439 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C162CB #6CCB62
analogous
#8D62CB #C162CB #CB62A1
triadic
#C162CB #CBC162 #62CBC1
tetradic
#C162CB #CB8D62 #6CCB62 #62A1CB
square
#C162CB #CB8D62 #6CCB62 #62A1CB
split-complementary
#C162CB #A1CB62 #62CB8D
monochromatic
#7E2C86 #A93CB4 #C162CB #D390DA #E5BEE9

Accessibility & contrast

On white

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

On black

5.88
#C162CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C162CB
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C162CB#FFFFFF#000000##000000
##C162CB1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5380CE
Deuteranopia (green-blind)
#718BC8
Tritanopia (blue-blind)
#C46F8E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #c162cb;
/* rgb */ color: rgb(193, 98, 203);
/* oklch */ color: oklch(64.7% 0.179 323.7);
Tailwind
colors: {
  custom: {
    50: '#d692db',
    500: '#c162cb',
    950: '#000000',
  },
}
SCSS
$custom: #c162cb;
$custom-light: #d692db;
$custom-dark: #000000;
JSON
{
  "hex": "#c162cb",
  "rgb": {
    "r": 193,
    "g": 98,
    "b": 203
  },
  "hsl": {
    "h": 294.286,
    "s": 50.239,
    "l": 59.02
  },
  "oklch": {
    "l": 0.64693,
    "c": 0.17869,
    "h": 323.7
  },
  "luminance": 0.24385
}

Semantic roles & 50–950 ramp

primary
#C162CB
secondary
#B4D9B0
accent
#DA4E5B
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #C162CB

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

Preview Lab → · Contrast checker → · Palette generator →

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