#C145B2#C145B2

#C145B2 is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 59.9% C 0.200 H 332.9°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#C145B2
RGBrgb(193, 69, 178)
HSLhsl(307, 50%, 51%)
HSVhsv(307, 64%, 76%)
CMYKcmyk(0%, 64.2%, 7.8%, 24.3%)
CIE-LABlab(50.46, 61.92, -33.32)
CIE-LCHlch(50.46, 70.31, 331.71°)
OKLaboklab(59.91% 0.1782 -0.0912)
OKLCHoklch(59.91% 0.2 332.9)
XYZxyz(32.1564, 18.8105, 44.0480)
Luminance0.1881 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C145B2 #45C154
analogous
#9245C1 #C145B2 #C14574
triadic
#C145B2 #B2C145 #45B2C1
tetradic
#C145B2 #C19245 #45C154 #4574C1
square
#C145B2 #C19245 #45C154 #4574C1
split-complementary
#C145B2 #74C145 #45C192
monochromatic
#692360 #97328A #C145B2 #D073C5 #E0A1D8

Accessibility & contrast

On white

4.41
#C145B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#C145B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C145B2
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C145B2#FFFFFF#000000##000000
##C145B21.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#416DB5
Deuteranopia (green-blind)
#6B7FAF
Tritanopia (blue-blind)
#C95075
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c145b2;
/* rgb */ color: rgb(193, 69, 178);
/* oklch */ color: oklch(59.9% 0.200 332.9);
Tailwind
colors: {
  custom: {
    50: '#d781c9',
    500: '#c145b2',
    950: '#000000',
  },
}
SCSS
$custom: #c145b2;
$custom-light: #d781c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c145b2",
  "rgb": {
    "r": 193,
    "g": 69,
    "b": 178
  },
  "hsl": {
    "h": 307.258,
    "s": 50,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59908,
    "c": 0.20015,
    "h": 332.9
  },
  "luminance": 0.18808
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C145B2

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

Preview Lab → · Contrast checker → · Palette generator →

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