#C161CD#C161CD

#C161CD is a light, vivid purple. Relative luminance 0.243; OKLCH L 64.7% C 0.182 H 323.1°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#C161CD
RGBrgb(193, 97, 205)
HSLhsl(293, 52%, 59%)
HSVhsv(293, 53%, 80%)
CMYKcmyk(5.9%, 52.7%, 0%, 19.6%)
CIE-LABlab(56.38, 54.02, -39.60)
CIE-LCHlch(56.38, 66.98, 323.76°)
OKLaboklab(64.66% 0.1456 -0.1095)
OKLCHoklch(64.66% 0.182 323.1)
XYZxyz(37.2854, 24.2964, 60.4715)
Luminance0.2429 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C161CD #6DCD61
analogous
#8B61CD #C161CD #CD61A3
triadic
#C161CD #CDC161 #61CDC1
tetradic
#C161CD #CD8B61 #6DCD61 #61A3CD
square
#C161CD #CD8B61 #6DCD61 #61A3CD
split-complementary
#C161CD #A3CD61 #61CD8B
monochromatic
#7E2B88 #A93AB7 #C161CD #D38FDC #E5BEEA

Accessibility & contrast

On white

3.58
#C161CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#C161CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C161CD
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C161CD#FFFFFF#000000##000000
##C161CD1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5180D1
Deuteranopia (green-blind)
#6F8BCA
Tritanopia (blue-blind)
#C46F8E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #c161cd;
/* rgb */ color: rgb(193, 97, 205);
/* oklch */ color: oklch(64.7% 0.182 323.1);
Tailwind
colors: {
  custom: {
    50: '#d692dc',
    500: '#c161cd',
    950: '#000000',
  },
}
SCSS
$custom: #c161cd;
$custom-light: #d692dc;
$custom-dark: #000000;
JSON
{
  "hex": "#c161cd",
  "rgb": {
    "r": 193,
    "g": 97,
    "b": 205
  },
  "hsl": {
    "h": 293.333,
    "s": 51.923,
    "l": 59.216
  },
  "oklch": {
    "l": 0.64658,
    "c": 0.18216,
    "h": 323.1
  },
  "luminance": 0.24295
}

Semantic roles & 50–950 ramp

primary
#C161CD
secondary
#B4DAB0
accent
#DB4C5C
background
#FDF9FD
surface
#FAF1FB
border
#D3CBD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #C161CD

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

Preview Lab → · Contrast checker → · Palette generator →

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