#C161D3#C161D3

#C161D3 is a light, vivid purple. Relative luminance 0.246; OKLCH L 65.0% C 0.188 H 321.1°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#C161D3
RGBrgb(193, 97, 211)
HSLhsl(291, 56%, 60%)
HSVhsv(291, 54%, 83%)
CMYKcmyk(8.5%, 54%, 0%, 17.3%)
CIE-LABlab(56.68, 55.16, -42.54)
CIE-LCHlch(56.68, 69.66, 322.36°)
OKLaboklab(64.97% 0.1462 -0.118)
OKLCHoklch(64.97% 0.188 321.1)
XYZxyz(38.0235, 24.5917, 64.3592)
Luminance0.2459 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C161D3 #73D361
analogous
#8861D3 #C161D3 #D361AC
triadic
#C161D3 #D3C161 #61D3C1
tetradic
#C161D3 #D38861 #73D361 #61ACD3
square
#C161D3 #D38861 #73D361 #61ACD3
split-complementary
#C161D3 #ACD361 #61D388
monochromatic
#812891 #AB36C1 #C161D3 #D491E0 #E7C1EE

Accessibility & contrast

On white

3.55
#C161D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#C161D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C161D3
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C161D3#FFFFFF#000000##000000
##C161D31.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D81D7
Deuteranopia (green-blind)
#6C8CD0
Tritanopia (blue-blind)
#C37191
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #c161d3;
/* rgb */ color: rgb(193, 97, 211);
/* oklch */ color: oklch(65.0% 0.188 321.1);
Tailwind
colors: {
  custom: {
    50: '#d692e1',
    500: '#c161d3',
    950: '#000000',
  },
}
SCSS
$custom: #c161d3;
$custom-light: #d692e1;
$custom-dark: #000000;
JSON
{
  "hex": "#c161d3",
  "rgb": {
    "r": 193,
    "g": 97,
    "b": 211
  },
  "hsl": {
    "h": 290.526,
    "s": 56.436,
    "l": 60.392
  },
  "oklch": {
    "l": 0.64968,
    "c": 0.1879,
    "h": 321.1
  },
  "luminance": 0.2459
}

Semantic roles & 50–950 ramp

primary
#C161D3
secondary
#B9DEB2
accent
#C4223B
background
#FDF9FD
surface
#FBF1FB
border
#D4CBD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #C161D3

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

Preview Lab → · Contrast checker → · Palette generator →

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