#C145B3#C145B3

#C145B3 is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 60.0% C 0.201 H 332.5°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#C145B3
RGBrgb(193, 69, 179)
HSLhsl(307, 50%, 51%)
HSVhsv(307, 64%, 76%)
CMYKcmyk(0%, 64.2%, 7.3%, 24.3%)
CIE-LABlab(50.51, 62.07, -33.83)
CIE-LCHlch(50.51, 70.70, 331.41°)
OKLaboklab(59.96% 0.1783 -0.0926)
OKLCHoklch(59.96% 0.201 332.5)
XYZxyz(32.2572, 18.8508, 44.5787)
Luminance0.1885 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C145B3 #45C153
analogous
#9145C1 #C145B3 #C14575
triadic
#C145B3 #B3C145 #45B3C1
tetradic
#C145B3 #C19145 #45C153 #4575C1
square
#C145B3 #C19145 #45C153 #4575C1
split-complementary
#C145B3 #75C145 #45C191
monochromatic
#692361 #97328B #C145B3 #D073C6 #E0A1D9

Accessibility & contrast

On white

4.40
#C145B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#C145B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C145B3
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C145B3#FFFFFF#000000##000000
##C145B31.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#406DB6
Deuteranopia (green-blind)
#6A7FB0
Tritanopia (blue-blind)
#C95076
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c145b3;
/* rgb */ color: rgb(193, 69, 179);
/* oklch */ color: oklch(60.0% 0.201 332.5);
Tailwind
colors: {
  custom: {
    50: '#d781ca',
    500: '#c145b3',
    950: '#000000',
  },
}
SCSS
$custom: #c145b3;
$custom-light: #d781ca;
$custom-dark: #000000;
JSON
{
  "hex": "#c145b3",
  "rgb": {
    "r": 193,
    "g": 69,
    "b": 179
  },
  "hsl": {
    "h": 306.774,
    "s": 50,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59958,
    "c": 0.20093,
    "h": 332.5
  },
  "luminance": 0.18848
}

Semantic roles & 50–950 ramp

primary
#C145B3
secondary
#96CC9C
accent
#DA5E4E
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C145B3

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

Preview Lab → · Contrast checker → · Palette generator →

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