#C045CA#C045CA

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

Color values

HEX#C045CA
RGBrgb(192, 69, 202)
HSLhsl(295, 56%, 53%)
HSVhsv(295, 66%, 79%)
CMYKcmyk(5%, 65.8%, 0%, 20.8%)
CIE-LABlab(51.53, 65.68, -45.56)
CIE-LCHlch(51.53, 79.94, 325.25°)
OKLaboklab(61.04% 0.1786 -0.1266)
OKLCHoklch(61.04% 0.219 324.7)
XYZxyz(34.5262, 19.7291, 57.8552)
Luminance0.1973 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C045CA #4FCA45
analogous
#7D45CA #C045CA #CA4591
triadic
#C045CA #CAC045 #45CAC0
tetradic
#C045CA #CA7D45 #4FCA45 #4591CA
square
#C045CA #CA7D45 #4FCA45 #4591CA
split-complementary
#C045CA #91CA45 #45CA7D
monochromatic
#6D2174 #9A2FA3 #C045CA #D075D8 #E0A4E5

Accessibility & contrast

On white

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

On black

4.95
#C045CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C045CA
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C045CA#FFFFFF#000000##000000
##C045CA1.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2971CE
Deuteranopia (green-blind)
#5D80C7
Tritanopia (blue-blind)
#C45A82
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c045ca;
/* rgb */ color: rgb(192, 69, 202);
/* oklch */ color: oklch(61.0% 0.219 324.7);
Tailwind
colors: {
  custom: {
    50: '#d682db',
    500: '#c045ca',
    950: '#000000',
  },
}
SCSS
$custom: #c045ca;
$custom-light: #d682db;
$custom-dark: #000000;
JSON
{
  "hex": "#c045ca",
  "rgb": {
    "r": 192,
    "g": 69,
    "b": 202
  },
  "hsl": {
    "h": 295.489,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.61043,
    "c": 0.21889,
    "h": 324.7
  },
  "luminance": 0.19727
}

Semantic roles & 50–950 ramp

primary
#C045CA
secondary
#9DD299
accent
#DF4954
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #C045CA

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

Preview Lab → · Contrast checker → · Palette generator →

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