#C162DD#C162DD

#C162DD is a light, vivid purple. Relative luminance 0.253; OKLCH L 65.6% C 0.196 H 318.0°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#C162DD
RGBrgb(193, 98, 221)
HSLhsl(286, 64%, 63%)
HSVhsv(286, 56%, 87%)
CMYKcmyk(12.7%, 55.7%, 0%, 13.3%)
CIE-LABlab(57.36, 56.63, -47.11)
CIE-LCHlch(57.36, 73.66, 320.24°)
OKLaboklab(65.64% 0.1458 -0.1312)
OKLCHoklch(65.64% 0.196 318)
XYZxyz(39.4093, 25.2948, 71.1991)
Luminance0.2529 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C162DD #7EDD62
analogous
#8362DD #C162DD #DD62BC
triadic
#C162DD #DDC162 #62DDC1
tetradic
#C162DD #DD8362 #7EDD62 #62BCDD
square
#C162DD #DD8362 #7EDD62 #62BCDD
split-complementary
#C162DD #BCDD62 #62DD83
monochromatic
#8523A2 #AD30D2 #C162DD #D594E8 #E9C7F3

Accessibility & contrast

On white

3.47
#C162DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#C162DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C162DD
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C162DD#FFFFFF#000000##000000
##C162DD1.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4683E1
Deuteranopia (green-blind)
#678DDA
Tritanopia (blue-blind)
#C17596
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #c162dd;
/* rgb */ color: rgb(193, 98, 221);
/* oklch */ color: oklch(65.6% 0.196 318.0);
Tailwind
colors: {
  custom: {
    50: '#d693e8',
    500: '#c162dd',
    950: '#000000',
  },
}
SCSS
$custom: #c162dd;
$custom-light: #d693e8;
$custom-dark: #000000;
JSON
{
  "hex": "#c162dd",
  "rgb": {
    "r": 193,
    "g": 98,
    "b": 221
  },
  "hsl": {
    "h": 286.341,
    "s": 64.398,
    "l": 62.549
  },
  "oklch": {
    "l": 0.65635,
    "c": 0.19614,
    "h": 318
  },
  "luminance": 0.25293
}

Semantic roles & 50–950 ramp

primary
#C162DD
secondary
#C1E4B7
accent
#CC1942
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #C162DD

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

Preview Lab → · Contrast checker → · Palette generator →

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