#C045AC#C045AC

#C045AC is a mid, vivid purple. Relative luminance 0.184; OKLCH L 59.5% C 0.195 H 334.8°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#C045AC
RGBrgb(192, 69, 172)
HSLhsl(310, 49%, 51%)
HSVhsv(310, 64%, 75%)
CMYKcmyk(0%, 64.1%, 10.4%, 24.7%)
CIE-LABlab(50.03, 60.72, -30.50)
CIE-LCHlch(50.03, 67.95, 333.33°)
OKLaboklab(59.47% 0.1764 -0.0831)
OKLCHoklch(59.47% 0.195 334.8)
XYZxyz(31.3130, 18.4438, 40.9325)
Luminance0.1844 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C045AC #45C059
analogous
#9645C0 #C045AC #C0456E
triadic
#C045AC #ACC045 #45ACC0
tetradic
#C045AC #C09645 #45C059 #456EC0
square
#C045AC #C09645 #45C059 #456EC0
split-complementary
#C045AC #6EC045 #45C096
monochromatic
#68235C #953385 #C045AC #CF73C0 #DFA0D5

Accessibility & contrast

On white

4.48
#C045AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#C045AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C045AC
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C045AC#FFFFFF#000000##000000
##C045AC1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#446BAF
Deuteranopia (green-blind)
#6C7EA9
Tritanopia (blue-blind)
#C94D72
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c045ac;
/* rgb */ color: rgb(192, 69, 172);
/* oklch */ color: oklch(59.5% 0.195 334.8);
Tailwind
colors: {
  custom: {
    50: '#d681c5',
    500: '#c045ac',
    950: '#000000',
  },
}
SCSS
$custom: #c045ac;
$custom-light: #d681c5;
$custom-dark: #000000;
JSON
{
  "hex": "#c045ac",
  "rgb": {
    "r": 192,
    "g": 69,
    "b": 172
  },
  "hsl": {
    "h": 309.756,
    "s": 49.398,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5947,
    "c": 0.195,
    "h": 334.8
  },
  "luminance": 0.18441
}

Semantic roles & 50–950 ramp

primary
#C045AC
secondary
#95CC9E
accent
#D9654F
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C045AC

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

Preview Lab → · Contrast checker → · Palette generator →

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