#C161D2#C161D2

#C161D2 is a light, vivid purple. Relative luminance 0.245; OKLCH L 64.9% C 0.187 H 321.4°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#C161D2
RGBrgb(193, 97, 210)
HSLhsl(291, 56%, 60%)
HSVhsv(291, 54%, 82%)
CMYKcmyk(8.1%, 53.8%, 0%, 17.6%)
CIE-LABlab(56.63, 54.97, -42.06)
CIE-LCHlch(56.63, 69.21, 322.58°)
OKLaboklab(64.92% 0.1461 -0.1166)
OKLCHoklch(64.92% 0.187 321.4)
XYZxyz(37.8986, 24.5417, 63.7010)
Luminance0.2454 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C161D2 #72D261
analogous
#8861D2 #C161D2 #D261AB
triadic
#C161D2 #D2C161 #61D2C1
tetradic
#C161D2 #D28861 #72D261 #61ABD2
square
#C161D2 #D28861 #72D261 #61ABD2
split-complementary
#C161D2 #ABD261 #61D288
monochromatic
#802990 #AB36BF #C161D2 #D491E0 #E6C0ED

Accessibility & contrast

On white

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

On black

5.91
#C161D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C161D2
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C161D2#FFFFFF#000000##000000
##C161D21.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c161d2;
/* rgb */ color: rgb(193, 97, 210);
/* oklch */ color: oklch(64.9% 0.187 321.4);
Tailwind
colors: {
  custom: {
    50: '#d692e0',
    500: '#c161d2',
    950: '#000000',
  },
}
SCSS
$custom: #c161d2;
$custom-light: #d692e0;
$custom-dark: #000000;
JSON
{
  "hex": "#c161d2",
  "rgb": {
    "r": 193,
    "g": 97,
    "b": 210
  },
  "hsl": {
    "h": 290.973,
    "s": 55.665,
    "l": 60.196
  },
  "oklch": {
    "l": 0.64916,
    "c": 0.18694,
    "h": 321.4
  },
  "luminance": 0.2454
}

Semantic roles & 50–950 ramp

primary
#C161D2
secondary
#B8DDB2
accent
#C3223B
background
#FDF9FD
surface
#FBF1FB
border
#D4CBD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #C161D2

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

Preview Lab → · Contrast checker → · Palette generator →

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