#C045C1#C045C1

#C045C1 is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.5% C 0.211 H 327.5°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#C045C1
RGBrgb(192, 69, 193)
HSLhsl(300, 50%, 51%)
HSVhsv(300, 64%, 76%)
CMYKcmyk(0.5%, 64.2%, 0%, 24.3%)
CIE-LABlab(51.05, 64.13, -41.13)
CIE-LCHlch(51.05, 76.19, 327.33°)
OKLaboklab(60.55% 0.1783 -0.1137)
OKLCHoklch(60.55% 0.211 327.5)
XYZxyz(33.4915, 19.3152, 52.4059)
Luminance0.1931 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C045C1 #46C145
analogous
#8245C1 #C045C1 #C14584
triadic
#C045C1 #C1C045 #45C1C0
tetradic
#C045C1 #C18245 #46C145 #4584C1
square
#C045C1 #C18245 #46C145 #4584C1
split-complementary
#C045C1 #84C145 #45C182
monochromatic
#682369 #963297 #C045C1 #D073D0 #DFA1E0

Accessibility & contrast

On white

4.32
#C045C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#C045C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C045C1
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C045C1#FFFFFF#000000##000000
##C045C11.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#336FC5
Deuteranopia (green-blind)
#627FBE
Tritanopia (blue-blind)
#C6567D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c045c1;
/* rgb */ color: rgb(192, 69, 193);
/* oklch */ color: oklch(60.5% 0.211 327.5);
Tailwind
colors: {
  custom: {
    50: '#d682d4',
    500: '#c045c1',
    950: '#000000',
  },
}
SCSS
$custom: #c045c1;
$custom-light: #d682d4;
$custom-dark: #000000;
JSON
{
  "hex": "#c045c1",
  "rgb": {
    "r": 192,
    "g": 69,
    "b": 193
  },
  "hsl": {
    "h": 299.516,
    "s": 50,
    "l": 51.373
  },
  "oklch": {
    "l": 0.60546,
    "c": 0.21146,
    "h": 327.5
  },
  "luminance": 0.19313
}

Semantic roles & 50–950 ramp

primary
#C045C1
secondary
#96CC96
accent
#DA4E4F
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C045C1

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

Preview Lab → · Contrast checker → · Palette generator →

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