#C045C2#C045C2

#C045C2 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.6% C 0.212 H 327.2°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#C045C2
RGBrgb(192, 69, 194)
HSLhsl(299, 51%, 52%)
HSVhsv(299, 64%, 76%)
CMYKcmyk(1%, 64.4%, 0%, 23.9%)
CIE-LABlab(51.11, 64.30, -41.62)
CIE-LCHlch(51.11, 76.60, 327.09°)
OKLaboklab(60.6% 0.1783 -0.1151)
OKLCHoklch(60.6% 0.212 327.2)
XYZxyz(33.6034, 19.3600, 52.9954)
Luminance0.1936 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C045C2 #47C245
analogous
#8245C2 #C045C2 #C24586
triadic
#C045C2 #C2C045 #45C2C0
tetradic
#C045C2 #C28245 #47C245 #4586C2
square
#C045C2 #C28245 #47C245 #4586C2
split-complementary
#C045C2 #86C245 #45C282
monochromatic
#69236A #963298 #C045C2 #D073D1 #DFA1E0

Accessibility & contrast

On white

4.31
#C045C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#C045C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C045C2
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C045C2#FFFFFF#000000##000000
##C045C21.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3270C6
Deuteranopia (green-blind)
#627FBF
Tritanopia (blue-blind)
#C5567E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c045c2;
/* rgb */ color: rgb(192, 69, 194);
/* oklch */ color: oklch(60.6% 0.212 327.2);
Tailwind
colors: {
  custom: {
    50: '#d682d5',
    500: '#c045c2',
    950: '#000000',
  },
}
SCSS
$custom: #c045c2;
$custom-light: #d682d5;
$custom-dark: #000000;
JSON
{
  "hex": "#c045c2",
  "rgb": {
    "r": 192,
    "g": 69,
    "b": 194
  },
  "hsl": {
    "h": 299.04,
    "s": 50.607,
    "l": 51.569
  },
  "oklch": {
    "l": 0.606,
    "c": 0.21228,
    "h": 327.2
  },
  "luminance": 0.19358
}

Semantic roles & 50–950 ramp

primary
#C045C2
secondary
#97CD96
accent
#DA4E50
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C045C2

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

Preview Lab → · Contrast checker → · Palette generator →

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