#C145C2#C145C2

#C145C2 is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 60.7% C 0.213 H 327.5°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#C145C2
RGBrgb(193, 69, 194)
HSLhsl(300, 51%, 52%)
HSVhsv(300, 64%, 76%)
CMYKcmyk(0.5%, 64.4%, 0%, 23.9%)
CIE-LABlab(51.26, 64.54, -41.37)
CIE-LCHlch(51.26, 76.66, 327.34°)
OKLaboklab(60.74% 0.1794 -0.1144)
OKLCHoklch(60.74% 0.213 327.5)
XYZxyz(33.8575, 19.4910, 53.0073)
Luminance0.1949 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C145C2 #46C245
analogous
#8345C2 #C145C2 #C24585
triadic
#C145C2 #C2C145 #45C2C1
tetradic
#C145C2 #C28345 #46C245 #4585C2
square
#C145C2 #C28345 #46C245 #4585C2
split-complementary
#C145C2 #85C245 #45C283
monochromatic
#69236A #973298 #C145C2 #D073D1 #E0A1E0

Accessibility & contrast

On white

4.29
#C145C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#C145C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C145C2
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C145C2#FFFFFF#000000##000000
##C145C21.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3370C6
Deuteranopia (green-blind)
#6380BF
Tritanopia (blue-blind)
#C7567E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c145c2;
/* rgb */ color: rgb(193, 69, 194);
/* oklch */ color: oklch(60.7% 0.213 327.5);
Tailwind
colors: {
  custom: {
    50: '#d782d5',
    500: '#c145c2',
    950: '#000000',
  },
}
SCSS
$custom: #c145c2;
$custom-light: #d782d5;
$custom-dark: #000000;
JSON
{
  "hex": "#c145c2",
  "rgb": {
    "r": 193,
    "g": 69,
    "b": 194
  },
  "hsl": {
    "h": 299.52,
    "s": 50.607,
    "l": 51.569
  },
  "oklch": {
    "l": 0.60739,
    "c": 0.2128,
    "h": 327.5
  },
  "luminance": 0.19489
}

Semantic roles & 50–950 ramp

primary
#C145C2
secondary
#96CD96
accent
#DA4E4F
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C145C2

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

Preview Lab → · Contrast checker → · Palette generator →

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