#C161D7#C161D7

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

Color values

HEX#C161D7
RGBrgb(193, 97, 215)
HSLhsl(289, 60%, 61%)
HSVhsv(289, 55%, 84%)
CMYKcmyk(10.2%, 54.9%, 0%, 15.7%)
CIE-LABlab(56.87, 55.93, -44.49)
CIE-LCHlch(56.87, 71.47, 321.50°)
OKLaboklab(65.18% 0.1466 -0.1236)
OKLCHoklch(65.18% 0.192 319.9)
XYZxyz(38.5312, 24.7948, 67.0330)
Luminance0.2479 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C161D7 #77D761
analogous
#8661D7 #C161D7 #D761B2
triadic
#C161D7 #D7C161 #61D7C1
tetradic
#C161D7 #D78661 #77D761 #61B2D7
square
#C161D7 #D78661 #77D761 #61B2D7
split-complementary
#C161D7 #B2D761 #61D786
monochromatic
#822697 #AC33C8 #C161D7 #D492E3 #E7C3F0

Accessibility & contrast

On white

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

On black

5.96
#C161D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C161D7
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C161D7#FFFFFF#000000##000000
##C161D71.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A82DB
Deuteranopia (green-blind)
#6A8CD4
Tritanopia (blue-blind)
#C27293
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #c161d7;
/* rgb */ color: rgb(193, 97, 215);
/* oklch */ color: oklch(65.2% 0.192 319.9);
Tailwind
colors: {
  custom: {
    50: '#d692e4',
    500: '#c161d7',
    950: '#000000',
  },
}
SCSS
$custom: #c161d7;
$custom-light: #d692e4;
$custom-dark: #000000;
JSON
{
  "hex": "#c161d7",
  "rgb": {
    "r": 193,
    "g": 97,
    "b": 215
  },
  "hsl": {
    "h": 288.814,
    "s": 59.596,
    "l": 61.176
  },
  "oklch": {
    "l": 0.65179,
    "c": 0.19178,
    "h": 319.9
  },
  "luminance": 0.24793
}

Semantic roles & 50–950 ramp

primary
#C161D7
secondary
#BCE0B4
accent
#C71E3E
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150D15
muted
#837E84

Preview Lab

Preview with #C161D7

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

Preview Lab → · Contrast checker → · Palette generator →

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