#C045C7#C045C7

#C045C7 is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 60.9% C 0.216 H 325.6°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#C045C7
RGBrgb(192, 69, 199)
HSLhsl(297, 54%, 53%)
HSVhsv(297, 65%, 78%)
CMYKcmyk(3.5%, 65.3%, 0%, 22%)
CIE-LABlab(51.37, 65.16, -44.09)
CIE-LCHlch(51.37, 78.68, 325.92°)
OKLaboklab(60.88% 0.1785 -0.1223)
OKLCHoklch(60.88% 0.216 325.6)
XYZxyz(34.1744, 19.5884, 56.0027)
Luminance0.1959 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C045C7 #4CC745
analogous
#7F45C7 #C045C7 #C7458D
triadic
#C045C7 #C7C045 #45C7C0
tetradic
#C045C7 #C77F45 #4CC745 #458DC7
square
#C045C7 #C77F45 #4CC745 #458DC7
split-complementary
#C045C7 #8DC745 #45C77F
monochromatic
#6C2270 #99309F #C045C7 #D074D5 #E0A3E3

Accessibility & contrast

On white

4.27
#C045C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#C045C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C045C7
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C045C7#FFFFFF#000000##000000
##C045C71.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D71CB
Deuteranopia (green-blind)
#5F80C4
Tritanopia (blue-blind)
#C45880
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c045c7;
/* rgb */ color: rgb(192, 69, 199);
/* oklch */ color: oklch(60.9% 0.216 325.6);
Tailwind
colors: {
  custom: {
    50: '#d682d8',
    500: '#c045c7',
    950: '#000000',
  },
}
SCSS
$custom: #c045c7;
$custom-light: #d682d8;
$custom-dark: #000000;
JSON
{
  "hex": "#c045c7",
  "rgb": {
    "r": 192,
    "g": 69,
    "b": 199
  },
  "hsl": {
    "h": 296.769,
    "s": 53.719,
    "l": 52.549
  },
  "oklch": {
    "l": 0.60875,
    "c": 0.21639,
    "h": 325.6
  },
  "luminance": 0.19586
}

Semantic roles & 50–950 ramp

primary
#C045C7
secondary
#9BD098
accent
#DD4B53
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C045C7

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

Preview Lab → · Contrast checker → · Palette generator →

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