#C162DA#C162DA

#C162DA is a light, vivid purple. Relative luminance 0.251; OKLCH L 65.5% C 0.193 H 318.9°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#C162DA
RGBrgb(193, 98, 218)
HSLhsl(288, 62%, 62%)
HSVhsv(288, 55%, 85%)
CMYKcmyk(11.5%, 55%, 0%, 14.5%)
CIE-LABlab(57.21, 56.04, -45.66)
CIE-LCHlch(57.21, 72.28, 320.82°)
OKLaboklab(65.47% 0.1455 -0.127)
OKLCHoklch(65.47% 0.193 318.9)
XYZxyz(39.0132, 25.1363, 69.1128)
Luminance0.2514 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C162DA #7BDA62
analogous
#8562DA #C162DA #DA62B7
triadic
#C162DA #DAC162 #62DAC1
tetradic
#C162DA #DA8562 #7BDA62 #62B7DA
square
#C162DA #DA8562 #7BDA62 #62B7DA
split-complementary
#C162DA #B7DA62 #62DA85
monochromatic
#84259D #AD31CE #C162DA #D594E6 #E8C5F1

Accessibility & contrast

On white

3.48
#C162DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#C162DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C162DA
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C162DA#FFFFFF#000000##000000
##C162DA1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4983DE
Deuteranopia (green-blind)
#698DD7
Tritanopia (blue-blind)
#C17495
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #c162da;
/* rgb */ color: rgb(193, 98, 218);
/* oklch */ color: oklch(65.5% 0.193 318.9);
Tailwind
colors: {
  custom: {
    50: '#d693e6',
    500: '#c162da',
    950: '#000000',
  },
}
SCSS
$custom: #c162da;
$custom-light: #d693e6;
$custom-dark: #000000;
JSON
{
  "hex": "#c162da",
  "rgb": {
    "r": 193,
    "g": 98,
    "b": 218
  },
  "hsl": {
    "h": 287.5,
    "s": 61.856,
    "l": 61.961
  },
  "oklch": {
    "l": 0.65473,
    "c": 0.19318,
    "h": 318.9
  },
  "luminance": 0.25135
}

Semantic roles & 50–950 ramp

primary
#C162DA
secondary
#BFE2B6
accent
#CA1C40
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #C162DA

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

Preview Lab → · Contrast checker → · Palette generator →

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