#C162D8#C162D8

#C162D8 is a light, vivid purple. Relative luminance 0.250; OKLCH L 65.4% C 0.191 H 319.5°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#C162D8
RGBrgb(193, 98, 216)
HSLhsl(288, 60%, 62%)
HSVhsv(288, 55%, 85%)
CMYKcmyk(10.6%, 54.6%, 0%, 15.3%)
CIE-LABlab(57.11, 55.64, -44.69)
CIE-LCHlch(57.11, 71.37, 321.23°)
OKLaboklab(65.37% 0.1454 -0.1242)
OKLCHoklch(65.37% 0.191 319.5)
XYZxyz(38.7531, 25.0323, 67.7428)
Luminance0.2503 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C162D8 #79D862
analogous
#8662D8 #C162D8 #D862B4
triadic
#C162D8 #D8C162 #62D8C1
tetradic
#C162D8 #D88662 #79D862 #62B4D8
square
#C162D8 #D88662 #79D862 #62B4D8
split-complementary
#C162D8 #B4D862 #62D886
monochromatic
#832699 #AD32CA #C162D8 #D493E4 #E8C4F0

Accessibility & contrast

On white

3.50
#C162D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#C162D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C162D8
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C162D8#FFFFFF#000000##000000
##C162D81.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A83DC
Deuteranopia (green-blind)
#6A8CD5
Tritanopia (blue-blind)
#C27494
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #c162d8;
/* rgb */ color: rgb(193, 98, 216);
/* oklch */ color: oklch(65.4% 0.191 319.5);
Tailwind
colors: {
  custom: {
    50: '#d693e4',
    500: '#c162d8',
    950: '#000000',
  },
}
SCSS
$custom: #c162d8;
$custom-light: #d693e4;
$custom-dark: #000000;
JSON
{
  "hex": "#c162d8",
  "rgb": {
    "r": 193,
    "g": 98,
    "b": 216
  },
  "hsl": {
    "h": 288.305,
    "s": 60.204,
    "l": 61.569
  },
  "oklch": {
    "l": 0.65366,
    "c": 0.19122,
    "h": 319.5
  },
  "luminance": 0.25031
}

Semantic roles & 50–950 ramp

primary
#C162D8
secondary
#BEE1B5
accent
#C81E3F
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #C162D8

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

Preview Lab → · Contrast checker → · Palette generator →

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