#C945BC#C945BC

#C945BC is a mid, highly saturated purple. Relative luminance 0.203; OKLCH L 61.6% C 0.212 H 332.0°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#C945BC
RGBrgb(201, 69, 188)
HSLhsl(306, 55%, 53%)
HSVhsv(306, 66%, 79%)
CMYKcmyk(0%, 65.7%, 6.5%, 21.2%)
CIE-LABlab(52.18, 65.49, -36.36)
CIE-LCHlch(52.18, 74.90, 330.96°)
OKLaboklab(61.55% 0.1876 -0.0997)
OKLCHoklch(61.55% 0.212 332)
XYZxyz(35.2926, 20.3073, 49.6281)
Luminance0.2031 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C945BC #45C952
analogous
#9445C9 #C945BC #C9457A
triadic
#C945BC #BCC945 #45BCC9
tetradic
#C945BC #C99445 #45C952 #457AC9
square
#C945BC #C99445 #45C952 #457AC9
split-complementary
#C945BC #7AC945 #45C994
monochromatic
#72216A #A22F97 #C945BC #D774CD #E5A4DE

Accessibility & contrast

On white

4.15
#C945BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#C945BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C945BC
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C945BC#FFFFFF#000000##000000
##C945BC1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E70BF
Deuteranopia (green-blind)
#6C83B9
Tritanopia (blue-blind)
#D1527B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c945bc;
/* rgb */ color: rgb(201, 69, 188);
/* oklch */ color: oklch(61.6% 0.212 332.0);
Tailwind
colors: {
  custom: {
    50: '#dd82d0',
    500: '#c945bc',
    950: '#000000',
  },
}
SCSS
$custom: #c945bc;
$custom-light: #dd82d0;
$custom-dark: #000000;
JSON
{
  "hex": "#c945bc",
  "rgb": {
    "r": 201,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 305.909,
    "s": 55,
    "l": 52.941
  },
  "oklch": {
    "l": 0.61554,
    "c": 0.21245,
    "h": 332
  },
  "luminance": 0.20305
}

Semantic roles & 50–950 ramp

primary
#C945BC
secondary
#98D19E
accent
#DE5849
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#150B14
muted
#847C82

Preview Lab

Preview with #C945BC

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

Preview Lab → · Contrast checker → · Palette generator →

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