#C162EF#C162EF

#C162EF is a light, highly saturated purple. Relative luminance 0.263; OKLCH L 66.7% C 0.214 H 313.2°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#C162EF
RGBrgb(193, 98, 239)
HSLhsl(280, 82%, 66%)
HSVhsv(280, 59%, 94%)
CMYKcmyk(19.2%, 59%, 0%, 6.3%)
CIE-LABlab(58.33, 60.28, -55.65)
CIE-LCHlch(58.33, 82.04, 317.28°)
OKLaboklab(66.65% 0.1465 -0.1562)
OKLCHoklch(66.65% 0.214 313.2)
XYZxyz(41.9373, 26.3060, 84.5130)
Luminance0.2631 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C162EF #90EF62
analogous
#7A62EF #C162EF #EF62D6
triadic
#C162EF #EFC162 #62EFC1
tetradic
#C162EF #EF7A62 #90EF62 #62D6EF
square
#C162EF #EF7A62 #90EF62 #62D6EF
split-complementary
#C162EF #D6EF62 #62EF7A
monochromatic
#8A14C3 #AB2AE9 #C162EF #D79AF5 #EDD1FA

Accessibility & contrast

On white

3.35
#C162EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#C162EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C162EF
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C162EF#FFFFFF#000000##000000
##C162EF1.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3387F3
Deuteranopia (green-blind)
#5B8EEC
Tritanopia (blue-blind)
#BC7BA0
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #c162ef;
/* rgb */ color: rgb(193, 98, 239);
/* oklch */ color: oklch(66.7% 0.214 313.2);
Tailwind
colors: {
  custom: {
    50: '#d793f5',
    500: '#c162ef',
    950: '#000000',
  },
}
SCSS
$custom: #c162ef;
$custom-light: #d793f5;
$custom-dark: #000000;
JSON
{
  "hex": "#c162ef",
  "rgb": {
    "r": 193,
    "g": 98,
    "b": 239
  },
  "hsl": {
    "h": 280.426,
    "s": 81.503,
    "l": 66.078
  },
  "oklch": {
    "l": 0.66652,
    "c": 0.21411,
    "h": 313.2
  },
  "luminance": 0.26305
}

Semantic roles & 50–950 ramp

primary
#C162EF
secondary
#CEEEBF
accent
#DE084E
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150D17
muted
#837E85

Preview Lab

Preview with #C162EF

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

Preview Lab → · Contrast checker → · Palette generator →

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