#C045C4#C045C4

#C045C4 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.7% C 0.214 H 326.5°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#C045C4
RGBrgb(192, 69, 196)
HSLhsl(298, 52%, 52%)
HSVhsv(298, 65%, 77%)
CMYKcmyk(2%, 64.8%, 0%, 23.1%)
CIE-LABlab(51.21, 64.64, -42.61)
CIE-LCHlch(51.21, 77.42, 326.61°)
OKLaboklab(60.71% 0.1784 -0.118)
OKLCHoklch(60.71% 0.214 326.5)
XYZxyz(33.8295, 19.4504, 54.1863)
Luminance0.1945 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C045C4 #49C445
analogous
#8145C4 #C045C4 #C44589
triadic
#C045C4 #C4C045 #45C4C0
tetradic
#C045C4 #C48145 #49C445 #4589C4
square
#C045C4 #C48145 #49C445 #4589C4
split-complementary
#C045C4 #89C445 #45C481
monochromatic
#6A226C #97319B #C045C4 #D073D3 #DFA2E1

Accessibility & contrast

On white

4.29
#C045C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#C045C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C045C4
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C045C4#FFFFFF#000000##000000
##C045C41.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3070C8
Deuteranopia (green-blind)
#617FC1
Tritanopia (blue-blind)
#C5577F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c045c4;
/* rgb */ color: rgb(192, 69, 196);
/* oklch */ color: oklch(60.7% 0.214 326.5);
Tailwind
colors: {
  custom: {
    50: '#d682d6',
    500: '#c045c4',
    950: '#000000',
  },
}
SCSS
$custom: #c045c4;
$custom-light: #d682d6;
$custom-dark: #000000;
JSON
{
  "hex": "#c045c4",
  "rgb": {
    "r": 192,
    "g": 69,
    "b": 196
  },
  "hsl": {
    "h": 298.11,
    "s": 51.837,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60709,
    "c": 0.21392,
    "h": 326.5
  },
  "luminance": 0.19448
}

Semantic roles & 50–950 ramp

primary
#C045C4
secondary
#98CE97
accent
#DB4D51
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C045C4

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

Preview Lab → · Contrast checker → · Palette generator →

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