#C045C9#C045C9

#C045C9 is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 61.0% C 0.218 H 325.0°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#C045C9
RGBrgb(192, 69, 201)
HSLhsl(296, 55%, 53%)
HSVhsv(296, 66%, 79%)
CMYKcmyk(4.5%, 65.7%, 0%, 21.2%)
CIE-LABlab(51.48, 65.51, -45.07)
CIE-LCHlch(51.48, 79.52, 325.47°)
OKLaboklab(60.99% 0.1786 -0.1251)
OKLCHoklch(60.99% 0.218 325)
XYZxyz(34.4081, 19.6819, 57.2337)
Luminance0.1968 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C045C9 #4EC945
analogous
#7E45C9 #C045C9 #C94590
triadic
#C045C9 #C9C045 #45C9C0
tetradic
#C045C9 #C97E45 #4EC945 #4590C9
square
#C045C9 #C97E45 #4EC945 #4590C9
split-complementary
#C045C9 #90C945 #45C97E
monochromatic
#6D2172 #9A2FA2 #C045C9 #D074D7 #E0A4E5

Accessibility & contrast

On white

4.25
#C045C9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#C045C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C045C9
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C045C9#FFFFFF#000000##000000
##C045C91.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A71CD
Deuteranopia (green-blind)
#5E80C6
Tritanopia (blue-blind)
#C45981
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c045c9;
/* rgb */ color: rgb(192, 69, 201);
/* oklch */ color: oklch(61.0% 0.218 325.0);
Tailwind
colors: {
  custom: {
    50: '#d682da',
    500: '#c045c9',
    950: '#000000',
  },
}
SCSS
$custom: #c045c9;
$custom-light: #d682da;
$custom-dark: #000000;
JSON
{
  "hex": "#c045c9",
  "rgb": {
    "r": 192,
    "g": 69,
    "b": 201
  },
  "hsl": {
    "h": 295.909,
    "s": 55,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60987,
    "c": 0.21805,
    "h": 325
  },
  "luminance": 0.1968
}

Semantic roles & 50–950 ramp

primary
#C045C9
secondary
#9CD198
accent
#DE4954
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #C045C9

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

Preview Lab → · Contrast checker → · Palette generator →

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