#C145B7#C145B7

#C145B7 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.2% C 0.204 H 331.1°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#C145B7
RGBrgb(193, 69, 183)
HSLhsl(305, 50%, 51%)
HSVhsv(305, 64%, 76%)
CMYKcmyk(0%, 64.2%, 5.2%, 24.3%)
CIE-LABlab(50.70, 62.72, -35.86)
CIE-LCHlch(50.70, 72.25, 330.24°)
OKLaboklab(60.16% 0.1787 -0.0985)
OKLCHoklch(60.16% 0.204 331.1)
XYZxyz(32.6676, 19.0150, 46.7402)
Luminance0.1901 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C145B7 #45C14F
analogous
#8D45C1 #C145B7 #C14579
triadic
#C145B7 #B7C145 #45B7C1
tetradic
#C145B7 #C18D45 #45C14F #4579C1
square
#C145B7 #C18D45 #45C14F #4579C1
split-complementary
#C145B7 #79C145 #45C18D
monochromatic
#692363 #97328F #C145B7 #D073C9 #E0A1DB

Accessibility & contrast

On white

4.37
#C145B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#C145B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C145B7
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C145B7#FFFFFF#000000##000000
##C145B71.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D6EBA
Deuteranopia (green-blind)
#687FB4
Tritanopia (blue-blind)
#C85278
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c145b7;
/* rgb */ color: rgb(193, 69, 183);
/* oklch */ color: oklch(60.2% 0.204 331.1);
Tailwind
colors: {
  custom: {
    50: '#d781cd',
    500: '#c145b7',
    950: '#000000',
  },
}
SCSS
$custom: #c145b7;
$custom-light: #d781cd;
$custom-dark: #000000;
JSON
{
  "hex": "#c145b7",
  "rgb": {
    "r": 193,
    "g": 69,
    "b": 183
  },
  "hsl": {
    "h": 304.839,
    "s": 50,
    "l": 51.373
  },
  "oklch": {
    "l": 0.6016,
    "c": 0.20402,
    "h": 331.1
  },
  "luminance": 0.19013
}

Semantic roles & 50–950 ramp

primary
#C145B7
secondary
#96CC9A
accent
#DA5A4E
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150B13
muted
#837C82

Preview Lab

Preview with #C145B7

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

Preview Lab → · Contrast checker → · Palette generator →

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