#C162EC#C162EC

#C162EC is a light, highly saturated purple. Relative luminance 0.261; OKLCH L 66.5% C 0.211 H 313.9°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#C162EC
RGBrgb(193, 98, 236)
HSLhsl(281, 78%, 65%)
HSVhsv(281, 58%, 93%)
CMYKcmyk(18.2%, 58.5%, 0%, 7.5%)
CIE-LABlab(58.16, 59.66, -54.25)
CIE-LCHlch(58.16, 80.63, 317.72°)
OKLaboklab(66.48% 0.1464 -0.1521)
OKLCHoklch(66.48% 0.211 313.9)
XYZxyz(41.4978, 26.1302, 82.1982)
Luminance0.2613 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C162EC #8DEC62
analogous
#7C62EC #C162EC #EC62D2
triadic
#C162EC #ECC162 #62ECC1
tetradic
#C162EC #EC7C62 #8DEC62 #62D2EC
square
#C162EC #EC7C62 #8DEC62 #62D2EC
split-complementary
#C162EC #D2EC62 #62EC7C
monochromatic
#8917BD #AB2BE5 #C162EC #D799F3 #ECCFF9

Accessibility & contrast

On white

3.37
#C162EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#C162EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C162EC
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C162EC#FFFFFF#000000##000000
##C162EC1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3786F0
Deuteranopia (green-blind)
#5D8EE9
Tritanopia (blue-blind)
#BD7A9E
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #c162ec;
/* rgb */ color: rgb(193, 98, 236);
/* oklch */ color: oklch(66.5% 0.211 313.9);
Tailwind
colors: {
  custom: {
    50: '#d793f3',
    500: '#c162ec',
    950: '#000000',
  },
}
SCSS
$custom: #c162ec;
$custom-light: #d793f3;
$custom-dark: #000000;
JSON
{
  "hex": "#c162ec",
  "rgb": {
    "r": 193,
    "g": 98,
    "b": 236
  },
  "hsl": {
    "h": 281.304,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.66477,
    "c": 0.21109,
    "h": 313.9
  },
  "luminance": 0.26129
}

Semantic roles & 50–950 ramp

primary
#C162EC
secondary
#CCECBE
accent
#DB0B4C
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150D17
muted
#837E85

Preview Lab

Preview with #C162EC

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

Preview Lab → · Contrast checker → · Palette generator →

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