#C161D8#C161D8

#C161D8 is a light, vivid purple. Relative luminance 0.248; OKLCH L 65.2% C 0.193 H 319.5°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#C161D8
RGBrgb(193, 97, 216)
HSLhsl(288, 60%, 61%)
HSVhsv(288, 55%, 85%)
CMYKcmyk(10.6%, 55.1%, 0%, 15.3%)
CIE-LABlab(56.93, 56.13, -44.98)
CIE-LCHlch(56.93, 71.93, 321.29°)
OKLaboklab(65.23% 0.1467 -0.1251)
OKLCHoklch(65.23% 0.193 319.5)
XYZxyz(38.6601, 24.8463, 67.7118)
Luminance0.2485 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C161D8 #78D861
analogous
#8661D8 #C161D8 #D861B4
triadic
#C161D8 #D8C161 #61D8C1
tetradic
#C161D8 #D88661 #78D861 #61B4D8
square
#C161D8 #D88661 #78D861 #61B4D8
split-complementary
#C161D8 #B4D861 #61D886
monochromatic
#832699 #AD32CA #C161D8 #D492E4 #E8C3F0

Accessibility & contrast

On white

3.52
#C161D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#C161D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C161D8
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C161D8#FFFFFF#000000##000000
##C161D81.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4982DC
Deuteranopia (green-blind)
#698CD5
Tritanopia (blue-blind)
#C27393
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #c161d8;
/* rgb */ color: rgb(193, 97, 216);
/* oklch */ color: oklch(65.2% 0.193 319.5);
Tailwind
colors: {
  custom: {
    50: '#d692e4',
    500: '#c161d8',
    950: '#000000',
  },
}
SCSS
$custom: #c161d8;
$custom-light: #d692e4;
$custom-dark: #000000;
JSON
{
  "hex": "#c161d8",
  "rgb": {
    "r": 193,
    "g": 97,
    "b": 216
  },
  "hsl": {
    "h": 288.403,
    "s": 60.406,
    "l": 61.373
  },
  "oklch": {
    "l": 0.65232,
    "c": 0.19275,
    "h": 319.5
  },
  "luminance": 0.24845
}

Semantic roles & 50–950 ramp

primary
#C161D8
secondary
#BDE1B4
accent
#C81D3E
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #C161D8

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

Preview Lab → · Contrast checker → · Palette generator →

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