#C162D5#C162D5

#C162D5 is a light, vivid purple. Relative luminance 0.249; OKLCH L 65.2% C 0.188 H 320.4°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#C162D5
RGBrgb(193, 98, 213)
HSLhsl(290, 58%, 61%)
HSVhsv(290, 54%, 84%)
CMYKcmyk(9.4%, 54%, 0%, 16.5%)
CIE-LABlab(56.96, 55.06, -43.23)
CIE-LCHlch(56.96, 70.01, 321.86°)
OKLaboklab(65.21% 0.1451 -0.12)
OKLCHoklch(65.21% 0.188 320.4)
XYZxyz(38.3688, 24.8786, 65.7189)
Luminance0.2488 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C162D5 #76D562
analogous
#8762D5 #C162D5 #D562AF
triadic
#C162D5 #D5C162 #62D5C1
tetradic
#C162D5 #D58762 #76D562 #62AFD5
square
#C162D5 #D58762 #76D562 #62AFD5
split-complementary
#C162D5 #AFD562 #62D587
monochromatic
#822895 #AC35C5 #C162D5 #D492E2 #E7C3EF

Accessibility & contrast

On white

3.51
#C162D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#C162D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C162D5
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C162D5#FFFFFF#000000##000000
##C162D51.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D82D9
Deuteranopia (green-blind)
#6C8CD2
Tritanopia (blue-blind)
#C27392
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #c162d5;
/* rgb */ color: rgb(193, 98, 213);
/* oklch */ color: oklch(65.2% 0.188 320.4);
Tailwind
colors: {
  custom: {
    50: '#d693e2',
    500: '#c162d5',
    950: '#000000',
  },
}
SCSS
$custom: #c162d5;
$custom-light: #d693e2;
$custom-dark: #000000;
JSON
{
  "hex": "#c162d5",
  "rgb": {
    "r": 193,
    "g": 98,
    "b": 213
  },
  "hsl": {
    "h": 289.565,
    "s": 57.789,
    "l": 60.98
  },
  "oklch": {
    "l": 0.65207,
    "c": 0.18829,
    "h": 320.4
  },
  "luminance": 0.24877
}

Semantic roles & 50–950 ramp

primary
#C162D5
secondary
#BBDFB4
accent
#C5203D
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #C162D5

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

Preview Lab → · Contrast checker → · Palette generator →

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