#C045B8#C045B8

#C045B8 is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.1% C 0.204 H 330.5°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#C045B8
RGBrgb(192, 69, 184)
HSLhsl(304, 49%, 51%)
HSVhsv(304, 64%, 75%)
CMYKcmyk(0%, 64.1%, 4.2%, 24.7%)
CIE-LABlab(50.60, 62.63, -36.62)
CIE-LCHlch(50.60, 72.55, 329.69°)
OKLaboklab(60.07% 0.1777 -0.1007)
OKLCHoklch(60.07% 0.204 330.5)
XYZxyz(32.5179, 18.9258, 47.2784)
Luminance0.1892 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C045B8 #45C04D
analogous
#8A45C0 #C045B8 #C0457A
triadic
#C045B8 #B8C045 #45B8C0
tetradic
#C045B8 #C08A45 #45C04D #457AC0
square
#C045B8 #C08A45 #45C04D #457AC0
split-complementary
#C045B8 #7AC045 #45C08A
monochromatic
#682363 #95338F #C045B8 #CF73C9 #DFA0DB

Accessibility & contrast

On white

4.39
#C045B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#C045B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C045B8
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C045B8#FFFFFF#000000##000000
##C045B81.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C6EBB
Deuteranopia (green-blind)
#677EB5
Tritanopia (blue-blind)
#C75278
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c045b8;
/* rgb */ color: rgb(192, 69, 184);
/* oklch */ color: oklch(60.1% 0.204 330.5);
Tailwind
colors: {
  custom: {
    50: '#d681ce',
    500: '#c045b8',
    950: '#000000',
  },
}
SCSS
$custom: #c045b8;
$custom-light: #d681ce;
$custom-dark: #000000;
JSON
{
  "hex": "#c045b8",
  "rgb": {
    "r": 192,
    "g": 69,
    "b": 184
  },
  "hsl": {
    "h": 303.902,
    "s": 49.398,
    "l": 51.176
  },
  "oklch": {
    "l": 0.6007,
    "c": 0.20424,
    "h": 330.5
  },
  "luminance": 0.18923
}

Semantic roles & 50–950 ramp

primary
#C045B8
secondary
#95CC99
accent
#D9584F
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150B13
muted
#837C82

Preview Lab

Preview with #C045B8

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

Preview Lab → · Contrast checker → · Palette generator →

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