#C145CB#C145CB

#C145CB is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 61.2% C 0.220 H 324.7°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#C145CB
RGBrgb(193, 69, 203)
HSLhsl(296, 56%, 53%)
HSVhsv(296, 66%, 80%)
CMYKcmyk(4.9%, 66%, 0%, 20.4%)
CIE-LABlab(51.73, 66.09, -45.80)
CIE-LCHlch(51.73, 80.41, 325.27°)
OKLaboklab(61.24% 0.1797 -0.1273)
OKLCHoklch(61.24% 0.22 324.7)
XYZxyz(34.8991, 19.9076, 58.4927)
Luminance0.1991 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C145CB #4FCB45
analogous
#7E45CB #C145CB #CB4592
triadic
#C145CB #CBC145 #45CBC1
tetradic
#C145CB #CB7E45 #4FCB45 #4592CB
square
#C145CB #CB7E45 #4FCB45 #4592CB
split-complementary
#C145CB #92CB45 #45CB7E
monochromatic
#6F2175 #9C2EA5 #C145CB #D175D8 #E1A5E6

Accessibility & contrast

On white

4.22
#C145CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#C145CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C145CB
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C145CB#FFFFFF#000000##000000
##C145CB1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2872CF
Deuteranopia (green-blind)
#5E81C8
Tritanopia (blue-blind)
#C55A83
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c145cb;
/* rgb */ color: rgb(193, 69, 203);
/* oklch */ color: oklch(61.2% 0.220 324.7);
Tailwind
colors: {
  custom: {
    50: '#d782db',
    500: '#c145cb',
    950: '#000000',
  },
}
SCSS
$custom: #c145cb;
$custom-light: #d782db;
$custom-dark: #000000;
JSON
{
  "hex": "#c145cb",
  "rgb": {
    "r": 193,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 295.522,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.61237,
    "c": 0.22021,
    "h": 324.7
  },
  "luminance": 0.19905
}

Semantic roles & 50–950 ramp

primary
#C145CB
secondary
#9DD399
accent
#E04854
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #C145CB

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

Preview Lab → · Contrast checker → · Palette generator →

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