#C162E6#C162E6

#C162E6 is a light, highly saturated purple. Relative luminance 0.258; OKLCH L 66.1% C 0.205 H 315.5°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#C162E6
RGBrgb(193, 98, 230)
HSLhsl(283, 73%, 64%)
HSVhsv(283, 57%, 90%)
CMYKcmyk(16.1%, 57.4%, 0%, 9.8%)
CIE-LABlab(57.83, 58.43, -51.41)
CIE-LCHlch(57.83, 77.83, 318.66°)
OKLaboklab(66.13% 0.1462 -0.1438)
OKLCHoklch(66.13% 0.205 315.5)
XYZxyz(40.6407, 25.7873, 77.6842)
Luminance0.2579 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C162E6 #87E662
analogous
#7F62E6 #C162E6 #E662C9
triadic
#C162E6 #E6C162 #62E6C1
tetradic
#C162E6 #E67F62 #87E662 #62C9E6
square
#C162E6 #E67F62 #87E662 #62C9E6
split-complementary
#C162E6 #C9E662 #62E67F
monochromatic
#881CB1 #AC2DDE #C162E6 #D697EE #EBCCF7

Accessibility & contrast

On white

3.41
#C162E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#C162E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C162E6
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C162E6#FFFFFF#000000##000000
##C162E61.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E85EA
Deuteranopia (green-blind)
#618EE3
Tritanopia (blue-blind)
#BF789B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #c162e6;
/* rgb */ color: rgb(193, 98, 230);
/* oklch */ color: oklch(66.1% 0.205 315.5);
Tailwind
colors: {
  custom: {
    50: '#d793ee',
    500: '#c162e6',
    950: '#000000',
  },
}
SCSS
$custom: #c162e6;
$custom-light: #d793ee;
$custom-dark: #000000;
JSON
{
  "hex": "#c162e6",
  "rgb": {
    "r": 193,
    "g": 98,
    "b": 230
  },
  "hsl": {
    "h": 283.182,
    "s": 72.527,
    "l": 64.314
  },
  "oklch": {
    "l": 0.66134,
    "c": 0.20508,
    "h": 315.5
  },
  "luminance": 0.25786
}

Semantic roles & 50–950 ramp

primary
#C162E6
secondary
#C8E9BB
accent
#D51148
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #C162E6

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

Preview Lab → · Contrast checker → · Palette generator →

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