#C161DB#C161DB

#C161DB is a light, vivid purple. Relative luminance 0.250; OKLCH L 65.4% C 0.196 H 318.7°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#C161DB
RGBrgb(193, 97, 219)
HSLhsl(287, 63%, 62%)
HSVhsv(287, 56%, 86%)
CMYKcmyk(11.9%, 55.7%, 0%, 14.1%)
CIE-LABlab(57.08, 56.72, -46.43)
CIE-LCHlch(57.08, 73.30, 320.69°)
OKLaboklab(65.39% 0.1469 -0.1293)
OKLCHoklch(65.39% 0.196 318.7)
XYZxyz(39.0515, 25.0029, 69.7731)
Luminance0.2500 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C161DB #7BDB61
analogous
#8461DB #C161DB #DB61B8
triadic
#C161DB #DBC161 #61DBC1
tetradic
#C161DB #DB8461 #7BDB61 #61B8DB
square
#C161DB #DB8461 #7BDB61 #61B8DB
split-complementary
#C161DB #B8DB61 #61DB84
monochromatic
#84249E #AD2FD0 #C161DB #D593E6 #E8C5F2

Accessibility & contrast

On white

3.50
#C161DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#C161DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C161DB
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C161DB#FFFFFF#000000##000000
##C161DB1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4683DF
Deuteranopia (green-blind)
#688CD8
Tritanopia (blue-blind)
#C17495
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #c161db;
/* rgb */ color: rgb(193, 97, 219);
/* oklch */ color: oklch(65.4% 0.196 318.7);
Tailwind
colors: {
  custom: {
    50: '#d692e6',
    500: '#c161db',
    950: '#000000',
  },
}
SCSS
$custom: #c161db;
$custom-light: #d692e6;
$custom-dark: #000000;
JSON
{
  "hex": "#c161db",
  "rgb": {
    "r": 193,
    "g": 97,
    "b": 219
  },
  "hsl": {
    "h": 287.213,
    "s": 62.887,
    "l": 61.961
  },
  "oklch": {
    "l": 0.65394,
    "c": 0.19567,
    "h": 318.7
  },
  "luminance": 0.25001
}

Semantic roles & 50–950 ramp

primary
#C161DB
secondary
#BFE2B5
accent
#CB1B40
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #C161DB

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

Preview Lab → · Contrast checker → · Palette generator →

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