#C145AD#C145AD

#C145AD is a mid, vivid purple. Relative luminance 0.186; OKLCH L 59.7% C 0.196 H 334.7°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#C145AD
RGBrgb(193, 69, 173)
HSLhsl(310, 50%, 51%)
HSVhsv(310, 64%, 76%)
CMYKcmyk(0%, 64.2%, 10.4%, 24.3%)
CIE-LABlab(50.23, 61.13, -30.76)
CIE-LCHlch(50.23, 68.43, 333.29°)
OKLaboklab(59.66% 0.1776 -0.0838)
OKLCHoklch(59.66% 0.196 334.7)
XYZxyz(31.6635, 18.6134, 41.4521)
Luminance0.1861 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C145AD #45C159
analogous
#9745C1 #C145AD #C1456F
triadic
#C145AD #ADC145 #45ADC1
tetradic
#C145AD #C19745 #45C159 #456FC1
square
#C145AD #C19745 #45C159 #456FC1
split-complementary
#C145AD #6FC145 #45C197
monochromatic
#69235D #973286 #C145AD #D073C1 #E0A1D5

Accessibility & contrast

On white

4.45
#C145AD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#C145AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C145AD
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C145AD#FFFFFF#000000##000000
##C145AD1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#446CB0
Deuteranopia (green-blind)
#6D7EAA
Tritanopia (blue-blind)
#CA4E73
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c145ad;
/* rgb */ color: rgb(193, 69, 173);
/* oklch */ color: oklch(59.7% 0.196 334.7);
Tailwind
colors: {
  custom: {
    50: '#d781c5',
    500: '#c145ad',
    950: '#000000',
  },
}
SCSS
$custom: #c145ad;
$custom-light: #d781c5;
$custom-dark: #000000;
JSON
{
  "hex": "#c145ad",
  "rgb": {
    "r": 193,
    "g": 69,
    "b": 173
  },
  "hsl": {
    "h": 309.677,
    "s": 50,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59662,
    "c": 0.19638,
    "h": 334.7
  },
  "luminance": 0.18611
}

Semantic roles & 50–950 ramp

primary
#C145AD
secondary
#96CC9E
accent
#DA654E
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C145AD

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

Preview Lab → · Contrast checker → · Palette generator →

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