#C162ED#C162ED

#C162ED is a light, highly saturated purple. Relative luminance 0.262; OKLCH L 66.5% C 0.212 H 313.7°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#C162ED
RGBrgb(193, 98, 237)
HSLhsl(281, 79%, 66%)
HSVhsv(281, 59%, 93%)
CMYKcmyk(18.6%, 58.6%, 0%, 7.1%)
CIE-LABlab(58.22, 59.86, -54.72)
CIE-LCHlch(58.22, 81.10, 317.57°)
OKLaboklab(66.54% 0.1464 -0.1534)
OKLCHoklch(66.54% 0.212 313.7)
XYZxyz(41.6435, 26.1884, 82.9655)
Luminance0.2619 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C162ED #8EED62
analogous
#7B62ED #C162ED #ED62D4
triadic
#C162ED #EDC162 #62EDC1
tetradic
#C162ED #ED7B62 #8EED62 #62D4ED
square
#C162ED #ED7B62 #8EED62 #62D4ED
split-complementary
#C162ED #D4ED62 #62ED7B
monochromatic
#8916BF #AB2BE7 #C162ED #D799F3 #ECD0FA

Accessibility & contrast

On white

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

On black

6.24
#C162ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C162ED
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C162ED#FFFFFF#000000##000000
##C162ED1.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3687F1
Deuteranopia (green-blind)
#5C8EEA
Tritanopia (blue-blind)
#BD7B9F
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #c162ed;
/* rgb */ color: rgb(193, 98, 237);
/* oklch */ color: oklch(66.5% 0.212 313.7);
Tailwind
colors: {
  custom: {
    50: '#d793f3',
    500: '#c162ed',
    950: '#000000',
  },
}
SCSS
$custom: #c162ed;
$custom-light: #d793f3;
$custom-dark: #000000;
JSON
{
  "hex": "#c162ed",
  "rgb": {
    "r": 193,
    "g": 98,
    "b": 237
  },
  "hsl": {
    "h": 281.007,
    "s": 79.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.66535,
    "c": 0.21209,
    "h": 313.7
  },
  "luminance": 0.26187
}

Semantic roles & 50–950 ramp

primary
#C162ED
secondary
#CDEDBE
accent
#DC0A4C
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150D17
muted
#837E85

Preview Lab

Preview with #C162ED

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

Preview Lab → · Contrast checker → · Palette generator →

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