#C162E5#C162E5

#C162E5 is a light, highly saturated purple. Relative luminance 0.257; OKLCH L 66.1% C 0.204 H 315.8°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#C162E5
RGBrgb(193, 98, 229)
HSLhsl(284, 72%, 64%)
HSVhsv(284, 57%, 90%)
CMYKcmyk(15.7%, 57.2%, 0%, 10.2%)
CIE-LABlab(57.78, 58.23, -50.94)
CIE-LCHlch(57.78, 77.36, 318.82°)
OKLaboklab(66.08% 0.1462 -0.1424)
OKLCHoklch(66.08% 0.204 315.8)
XYZxyz(40.5007, 25.7313, 76.9467)
Luminance0.2573 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C162E5 #86E562
analogous
#8062E5 #C162E5 #E562C8
triadic
#C162E5 #E5C162 #62E5C1
tetradic
#C162E5 #E58062 #86E562 #62C8E5
square
#C162E5 #E58062 #86E562 #62C8E5
split-complementary
#C162E5 #C8E562 #62E580
monochromatic
#871DB0 #AC2DDC #C162E5 #D697EE #EACBF6

Accessibility & contrast

On white

3.42
#C162E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#C162E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C162E5
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C162E5#FFFFFF#000000##000000
##C162E51.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F85E9
Deuteranopia (green-blind)
#628EE2
Tritanopia (blue-blind)
#BF789A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #c162e5;
/* rgb */ color: rgb(193, 98, 229);
/* oklch */ color: oklch(66.1% 0.204 315.8);
Tailwind
colors: {
  custom: {
    50: '#d793ee',
    500: '#c162e5',
    950: '#000000',
  },
}
SCSS
$custom: #c162e5;
$custom-light: #d793ee;
$custom-dark: #000000;
JSON
{
  "hex": "#c162e5",
  "rgb": {
    "r": 193,
    "g": 98,
    "b": 229
  },
  "hsl": {
    "h": 283.511,
    "s": 71.585,
    "l": 64.118
  },
  "oklch": {
    "l": 0.66078,
    "c": 0.20408,
    "h": 315.8
  },
  "luminance": 0.2573
}

Semantic roles & 50–950 ramp

primary
#C162E5
secondary
#C7E8BB
accent
#D41247
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #C162E5

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

Preview Lab → · Contrast checker → · Palette generator →

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