#C162E3#C162E3

#C162E3 is a light, highly saturated purple. Relative luminance 0.256; OKLCH L 66.0% C 0.202 H 316.3°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#C162E3
RGBrgb(193, 98, 227)
HSLhsl(284, 70%, 64%)
HSVhsv(284, 57%, 89%)
CMYKcmyk(15%, 56.8%, 0%, 11%)
CIE-LABlab(57.67, 57.83, -49.98)
CIE-LCHlch(57.67, 76.43, 319.16°)
OKLaboklab(65.97% 0.1461 -0.1396)
OKLCHoklch(65.97% 0.202 316.3)
XYZxyz(40.2230, 25.6203, 75.4845)
Luminance0.2562 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C162E3 #84E362
analogous
#8062E3 #C162E3 #E362C4
triadic
#C162E3 #E3C162 #62E3C1
tetradic
#C162E3 #E38062 #84E362 #62C4E3
square
#C162E3 #E38062 #84E362 #62C4E3
split-complementary
#C162E3 #C4E362 #62E380
monochromatic
#871FAC #AC2EDA #C162E3 #D696EC #EACAF6

Accessibility & contrast

On white

3.43
#C162E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#C162E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C162E3
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C162E3#FFFFFF#000000##000000
##C162E31.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4185E7
Deuteranopia (green-blind)
#638DE0
Tritanopia (blue-blind)
#BF7799
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #c162e3;
/* rgb */ color: rgb(193, 98, 227);
/* oklch */ color: oklch(66.0% 0.202 316.3);
Tailwind
colors: {
  custom: {
    50: '#d793ec',
    500: '#c162e3',
    950: '#000000',
  },
}
SCSS
$custom: #c162e3;
$custom-light: #d793ec;
$custom-dark: #000000;
JSON
{
  "hex": "#c162e3",
  "rgb": {
    "r": 193,
    "g": 98,
    "b": 227
  },
  "hsl": {
    "h": 284.186,
    "s": 69.73,
    "l": 63.725
  },
  "oklch": {
    "l": 0.65966,
    "c": 0.20209,
    "h": 316.3
  },
  "luminance": 0.25619
}

Semantic roles & 50–950 ramp

primary
#C162E3
secondary
#C6E7BA
accent
#D21446
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #C162E3

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

Preview Lab → · Contrast checker → · Palette generator →

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