#C161D6#C161D6

#C161D6 is a light, vivid purple. Relative luminance 0.247; OKLCH L 65.1% C 0.191 H 320.2°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#C161D6
RGBrgb(193, 97, 214)
HSLhsl(289, 59%, 61%)
HSVhsv(289, 55%, 84%)
CMYKcmyk(9.8%, 54.7%, 0%, 16.1%)
CIE-LABlab(56.82, 55.74, -44.01)
CIE-LCHlch(56.82, 71.02, 321.71°)
OKLaboklab(65.13% 0.1465 -0.1222)
OKLCHoklch(65.13% 0.191 320.2)
XYZxyz(38.4031, 24.7435, 66.3584)
Luminance0.2474 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C161D6 #76D661
analogous
#8661D6 #C161D6 #D661B0
triadic
#C161D6 #D6C161 #61D6C1
tetradic
#C161D6 #D68661 #76D661 #61B0D6
square
#C161D6 #D68661 #76D661 #61B0D6
split-complementary
#C161D6 #B0D661 #61D686
monochromatic
#822796 #AC33C6 #C161D6 #D492E3 #E7C2EF

Accessibility & contrast

On white

3.53
#C161D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#C161D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C161D6
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C161D6#FFFFFF#000000##000000
##C161D61.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A82DA
Deuteranopia (green-blind)
#6A8CD3
Tritanopia (blue-blind)
#C27292
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #c161d6;
/* rgb */ color: rgb(193, 97, 214);
/* oklch */ color: oklch(65.1% 0.191 320.2);
Tailwind
colors: {
  custom: {
    50: '#d692e3',
    500: '#c161d6',
    950: '#000000',
  },
}
SCSS
$custom: #c161d6;
$custom-light: #d692e3;
$custom-dark: #000000;
JSON
{
  "hex": "#c161d6",
  "rgb": {
    "r": 193,
    "g": 97,
    "b": 214
  },
  "hsl": {
    "h": 289.231,
    "s": 58.794,
    "l": 60.98
  },
  "oklch": {
    "l": 0.65126,
    "c": 0.1908,
    "h": 320.2
  },
  "luminance": 0.24742
}

Semantic roles & 50–950 ramp

primary
#C161D6
secondary
#BBDFB3
accent
#C61F3D
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #C161D6

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

Preview Lab → · Contrast checker → · Palette generator →

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