#C945BA#C945BA

#C945BA is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.5% C 0.211 H 332.7°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#C945BA
RGBrgb(201, 69, 186)
HSLhsl(307, 55%, 53%)
HSVhsv(307, 66%, 79%)
CMYKcmyk(0%, 65.7%, 7.5%, 21.2%)
CIE-LABlab(52.09, 65.17, -35.35)
CIE-LCHlch(52.09, 74.14, 331.52°)
OKLaboklab(61.45% 0.1874 -0.0968)
OKLCHoklch(61.45% 0.211 332.7)
XYZxyz(35.0785, 20.2217, 48.5005)
Luminance0.2022 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C945BA #45C954
analogous
#9645C9 #C945BA #C94578
triadic
#C945BA #BAC945 #45BAC9
tetradic
#C945BA #C99645 #45C954 #4578C9
square
#C945BA #C99645 #45C954 #4578C9
split-complementary
#C945BA #78C945 #45C996
monochromatic
#722169 #A22F95 #C945BA #D774CC #E5A4DD

Accessibility & contrast

On white

4.16
#C945BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#C945BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C945BA
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C945BA#FFFFFF#000000##000000
##C945BA1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4070BD
Deuteranopia (green-blind)
#6D83B7
Tritanopia (blue-blind)
#D1517A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c945ba;
/* rgb */ color: rgb(201, 69, 186);
/* oklch */ color: oklch(61.5% 0.211 332.7);
Tailwind
colors: {
  custom: {
    50: '#dd82cf',
    500: '#c945ba',
    950: '#000000',
  },
}
SCSS
$custom: #c945ba;
$custom-light: #dd82cf;
$custom-dark: #000000;
JSON
{
  "hex": "#c945ba",
  "rgb": {
    "r": 201,
    "g": 69,
    "b": 186
  },
  "hsl": {
    "h": 306.818,
    "s": 55,
    "l": 52.941
  },
  "oklch": {
    "l": 0.61453,
    "c": 0.21093,
    "h": 332.7
  },
  "luminance": 0.20219
}

Semantic roles & 50–950 ramp

primary
#C945BA
secondary
#98D19F
accent
#DE5A49
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#150B14
muted
#847C82

Preview Lab

Preview with #C945BA

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

Preview Lab → · Contrast checker → · Palette generator →

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