#C045CB#C045CB

#C045CB is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.1% C 0.220 H 324.4°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#C045CB
RGBrgb(192, 69, 203)
HSLhsl(295, 56%, 53%)
HSVhsv(295, 66%, 80%)
CMYKcmyk(5.4%, 66%, 0%, 20.4%)
CIE-LABlab(51.58, 65.86, -46.05)
CIE-LCHlch(51.58, 80.36, 325.04°)
OKLaboklab(61.1% 0.1786 -0.128)
OKLCHoklch(61.1% 0.22 324.4)
XYZxyz(34.6449, 19.7766, 58.4808)
Luminance0.1978 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C045CB #50CB45
analogous
#7D45CB #C045CB #CB4593
triadic
#C045CB #CBC045 #45CBC0
tetradic
#C045CB #CB7D45 #50CB45 #4593CB
square
#C045CB #CB7D45 #50CB45 #4593CB
split-complementary
#C045CB #93CB45 #45CB7D
monochromatic
#6E2175 #9B2EA5 #C045CB #D075D8 #E0A5E6

Accessibility & contrast

On white

4.24
#C045CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#C045CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C045CB
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C045CB#FFFFFF#000000##000000
##C045CB1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2771CF
Deuteranopia (green-blind)
#5D80C8
Tritanopia (blue-blind)
#C45A83
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c045cb;
/* rgb */ color: rgb(192, 69, 203);
/* oklch */ color: oklch(61.1% 0.220 324.4);
Tailwind
colors: {
  custom: {
    50: '#d682db',
    500: '#c045cb',
    950: '#000000',
  },
}
SCSS
$custom: #c045cb;
$custom-light: #d682db;
$custom-dark: #000000;
JSON
{
  "hex": "#c045cb",
  "rgb": {
    "r": 192,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 295.075,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.611,
    "c": 0.21972,
    "h": 324.4
  },
  "luminance": 0.19775
}

Semantic roles & 50–950 ramp

primary
#C045CB
secondary
#9ED399
accent
#E04855
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #C045CB

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

Preview Lab → · Contrast checker → · Palette generator →

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