#C045B7#C045B7

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

Color values

HEX#C045B7
RGBrgb(192, 69, 183)
HSLhsl(304, 49%, 51%)
HSVhsv(304, 64%, 75%)
CMYKcmyk(0%, 64.1%, 4.7%, 24.7%)
CIE-LABlab(50.55, 62.47, -36.12)
CIE-LCHlch(50.55, 72.16, 329.97°)
OKLaboklab(60.02% 0.1776 -0.0992)
OKLCHoklch(60.02% 0.203 330.8)
XYZxyz(32.4135, 18.8840, 46.7283)
Luminance0.1888 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C045B7 #45C04E
analogous
#8B45C0 #C045B7 #C04579
triadic
#C045B7 #B7C045 #45B7C0
tetradic
#C045B7 #C08B45 #45C04E #4579C0
square
#C045B7 #C08B45 #45C04E #4579C0
split-complementary
#C045B7 #79C045 #45C08B
monochromatic
#682363 #95338E #C045B7 #CF73C9 #DFA0DA

Accessibility & contrast

On white

4.40
#C045B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C045B7#FFFFFF#000000##000000
##C045B71.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c045b7;
/* rgb */ color: rgb(192, 69, 183);
/* oklch */ color: oklch(60.0% 0.203 330.8);
Tailwind
colors: {
  custom: {
    50: '#d681cd',
    500: '#c045b7',
    950: '#000000',
  },
}
SCSS
$custom: #c045b7;
$custom-light: #d681cd;
$custom-dark: #000000;
JSON
{
  "hex": "#c045b7",
  "rgb": {
    "r": 192,
    "g": 69,
    "b": 183
  },
  "hsl": {
    "h": 304.39,
    "s": 49.398,
    "l": 51.176
  },
  "oklch": {
    "l": 0.60019,
    "c": 0.20345,
    "h": 330.8
  },
  "luminance": 0.18882
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C045B7

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

Preview Lab → · Contrast checker → · Palette generator →

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