#C164DB#C164DB

#C164DB is a light, vivid purple. Relative luminance 0.256; OKLCH L 65.8% C 0.191 H 318.4°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#C164DB
RGBrgb(193, 100, 219)
HSLhsl(287, 62%, 63%)
HSVhsv(287, 54%, 86%)
CMYKcmyk(11.9%, 54.3%, 0%, 14.1%)
CIE-LABlab(57.62, 55.26, -45.57)
CIE-LCHlch(57.62, 71.62, 320.49°)
OKLaboklab(65.8% 0.143 -0.1268)
OKLCHoklch(65.8% 0.191 318.4)
XYZxyz(39.3339, 25.5678, 69.8672)
Luminance0.2557 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C164DB #7EDB64
analogous
#8664DB #C164DB #DB64B9
triadic
#C164DB #DBC164 #64DBC1
tetradic
#C164DB #DB8664 #7EDB64 #64B9DB
square
#C164DB #DB8664 #7EDB64 #64B9DB
split-complementary
#C164DB #B9DB64 #64DB86
monochromatic
#8525A0 #AD32CF #C164DB #D596E7 #E9C7F2

Accessibility & contrast

On white

3.44
#C164DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#C164DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C164DB
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C164DB#FFFFFF#000000##000000
##C164DB1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B84DF
Deuteranopia (green-blind)
#6A8ED8
Tritanopia (blue-blind)
#C17696
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #c164db;
/* rgb */ color: rgb(193, 100, 219);
/* oklch */ color: oklch(65.8% 0.191 318.4);
Tailwind
colors: {
  custom: {
    50: '#d694e6',
    500: '#c164db',
    950: '#000000',
  },
}
SCSS
$custom: #c164db;
$custom-light: #d694e6;
$custom-dark: #000000;
JSON
{
  "hex": "#c164db",
  "rgb": {
    "r": 193,
    "g": 100,
    "b": 219
  },
  "hsl": {
    "h": 286.891,
    "s": 62.304,
    "l": 62.549
  },
  "oklch": {
    "l": 0.65795,
    "c": 0.19112,
    "h": 318.4
  },
  "luminance": 0.25566
}

Semantic roles & 50–950 ramp

primary
#C164DB
secondary
#C1E3B8
accent
#CA1B42
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #C164DB

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

Preview Lab → · Contrast checker → · Palette generator →

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