#C145AF#C145AF

#C145AF is a mid, vivid purple. Relative luminance 0.187; OKLCH L 59.8% C 0.198 H 334.0°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#C145AF
RGBrgb(193, 69, 175)
HSLhsl(309, 50%, 51%)
HSVhsv(309, 64%, 76%)
CMYKcmyk(0%, 64.2%, 9.3%, 24.3%)
CIE-LABlab(50.32, 61.44, -31.79)
CIE-LCHlch(50.32, 69.18, 332.64°)
OKLaboklab(59.76% 0.1778 -0.0868)
OKLCHoklch(59.76% 0.198 334)
XYZxyz(31.8585, 18.6914, 42.4790)
Luminance0.1869 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C145AF #45C157
analogous
#9545C1 #C145AF #C14571
triadic
#C145AF #AFC145 #45AFC1
tetradic
#C145AF #C19545 #45C157 #4571C1
square
#C145AF #C19545 #45C157 #4571C1
split-complementary
#C145AF #71C145 #45C195
monochromatic
#69235F #973288 #C145AF #D073C3 #E0A1D6

Accessibility & contrast

On white

4.43
#C145AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#C145AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C145AF
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C145AF#FFFFFF#000000##000000
##C145AF1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#436CB2
Deuteranopia (green-blind)
#6C7EAC
Tritanopia (blue-blind)
#CA4E74
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c145af;
/* rgb */ color: rgb(193, 69, 175);
/* oklch */ color: oklch(59.8% 0.198 334.0);
Tailwind
colors: {
  custom: {
    50: '#d781c7',
    500: '#c145af',
    950: '#000000',
  },
}
SCSS
$custom: #c145af;
$custom-light: #d781c7;
$custom-dark: #000000;
JSON
{
  "hex": "#c145af",
  "rgb": {
    "r": 193,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 308.71,
    "s": 50,
    "l": 51.373
  },
  "oklch": {
    "l": 0.5976,
    "c": 0.19788,
    "h": 334
  },
  "luminance": 0.18689
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C145AF

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

Preview Lab → · Contrast checker → · Palette generator →

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