#C045BA#C045BA

#C045BA is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.2% C 0.206 H 329.8°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#C045BA
RGBrgb(192, 69, 186)
HSLhsl(303, 49%, 51%)
HSVhsv(303, 64%, 75%)
CMYKcmyk(0%, 64.1%, 3.1%, 24.7%)
CIE-LABlab(50.70, 62.96, -37.63)
CIE-LCHlch(50.70, 73.35, 329.14°)
OKLaboklab(60.17% 0.1779 -0.1036)
OKLCHoklch(60.17% 0.206 329.8)
XYZxyz(32.7290, 19.0102, 48.3904)
Luminance0.1901 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C045BA #45C04B
analogous
#8845C0 #C045BA #C0457C
triadic
#C045BA #BAC045 #45BAC0
tetradic
#C045BA #C08845 #45C04B #457CC0
square
#C045BA #C08845 #45C04B #457CC0
split-complementary
#C045BA #7CC045 #45C088
monochromatic
#682364 #953390 #C045BA #CF73CB #DFA0DC

Accessibility & contrast

On white

4.37
#C045BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#C045BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C045BA
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C045BA#FFFFFF#000000##000000
##C045BA1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A6EBD
Deuteranopia (green-blind)
#667FB7
Tritanopia (blue-blind)
#C75379
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c045ba;
/* rgb */ color: rgb(192, 69, 186);
/* oklch */ color: oklch(60.2% 0.206 329.8);
Tailwind
colors: {
  custom: {
    50: '#d681cf',
    500: '#c045ba',
    950: '#000000',
  },
}
SCSS
$custom: #c045ba;
$custom-light: #d681cf;
$custom-dark: #000000;
JSON
{
  "hex": "#c045ba",
  "rgb": {
    "r": 192,
    "g": 69,
    "b": 186
  },
  "hsl": {
    "h": 302.927,
    "s": 49.398,
    "l": 51.176
  },
  "oklch": {
    "l": 0.60174,
    "c": 0.20582,
    "h": 329.8
  },
  "luminance": 0.19008
}

Semantic roles & 50–950 ramp

primary
#C045BA
secondary
#95CC98
accent
#D9564F
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150B14
muted
#837C82

Preview Lab

Preview with #C045BA

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

Preview Lab → · Contrast checker → · Palette generator →

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