#C162EA#C162EA

#C162EA is a light, highly saturated purple. Relative luminance 0.260; OKLCH L 66.4% C 0.209 H 314.4°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#C162EA
RGBrgb(193, 98, 234)
HSLhsl(282, 76%, 65%)
HSVhsv(282, 58%, 92%)
CMYKcmyk(17.5%, 58.1%, 0%, 8.2%)
CIE-LABlab(58.05, 59.25, -53.30)
CIE-LCHlch(58.05, 79.70, 318.02°)
OKLaboklab(66.36% 0.1464 -0.1493)
OKLCHoklch(66.36% 0.209 314.4)
XYZxyz(41.2089, 26.0146, 80.6765)
Luminance0.2601 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C162EA #8BEA62
analogous
#7D62EA #C162EA #EA62CF
triadic
#C162EA #EAC162 #62EAC1
tetradic
#C162EA #EA7D62 #8BEA62 #62CFEA
square
#C162EA #EA7D62 #8BEA62 #62CFEA
split-complementary
#C162EA #CFEA62 #62EA7D
monochromatic
#8919B9 #AC2CE3 #C162EA #D698F1 #ECCEF8

Accessibility & contrast

On white

3.39
#C162EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#C162EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C162EA
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C162EA#FFFFFF#000000##000000
##C162EA1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3986EE
Deuteranopia (green-blind)
#5F8EE7
Tritanopia (blue-blind)
#BE7A9D
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #c162ea;
/* rgb */ color: rgb(193, 98, 234);
/* oklch */ color: oklch(66.4% 0.209 314.4);
Tailwind
colors: {
  custom: {
    50: '#d793f1',
    500: '#c162ea',
    950: '#000000',
  },
}
SCSS
$custom: #c162ea;
$custom-light: #d793f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c162ea",
  "rgb": {
    "r": 193,
    "g": 98,
    "b": 234
  },
  "hsl": {
    "h": 281.912,
    "s": 76.404,
    "l": 65.098
  },
  "oklch": {
    "l": 0.66362,
    "c": 0.20908,
    "h": 314.4
  },
  "luminance": 0.26013
}

Semantic roles & 50–950 ramp

primary
#C162EA
secondary
#CBEBBD
accent
#D90D4A
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150D17
muted
#837E85

Preview Lab

Preview with #C162EA

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

Preview Lab → · Contrast checker → · Palette generator →

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