#C945BF#C945BF

#C945BF is a mid, highly saturated purple. Relative luminance 0.204; OKLCH L 61.7% C 0.215 H 331.0°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#C945BF
RGBrgb(201, 69, 191)
HSLhsl(305, 55%, 53%)
HSVhsv(305, 66%, 79%)
CMYKcmyk(0%, 65.7%, 5%, 21.2%)
CIE-LABlab(52.33, 65.96, -37.87)
CIE-LCHlch(52.33, 76.06, 330.14°)
OKLaboklab(61.71% 0.1878 -0.1041)
OKLCHoklch(61.71% 0.215 331)
XYZxyz(35.6194, 20.4380, 51.3490)
Luminance0.2044 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C945BF #45C94F
analogous
#9145C9 #C945BF #C9457D
triadic
#C945BF #BFC945 #45BFC9
tetradic
#C945BF #C99145 #45C94F #457DC9
square
#C945BF #C99145 #45C94F #457DC9
split-complementary
#C945BF #7DC945 #45C991
monochromatic
#72216C #A22F99 #C945BF #D774CF #E5A4E0

Accessibility & contrast

On white

4.13
#C945BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#C945BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C945BF
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C945BF#FFFFFF#000000##000000
##C945BF1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C71C3
Deuteranopia (green-blind)
#6B83BC
Tritanopia (blue-blind)
#D1537C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c945bf;
/* rgb */ color: rgb(201, 69, 191);
/* oklch */ color: oklch(61.7% 0.215 331.0);
Tailwind
colors: {
  custom: {
    50: '#dd83d3',
    500: '#c945bf',
    950: '#000000',
  },
}
SCSS
$custom: #c945bf;
$custom-light: #dd83d3;
$custom-dark: #000000;
JSON
{
  "hex": "#c945bf",
  "rgb": {
    "r": 201,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 304.545,
    "s": 55,
    "l": 52.941
  },
  "oklch": {
    "l": 0.61707,
    "c": 0.21473,
    "h": 331
  },
  "luminance": 0.20435
}

Semantic roles & 50–950 ramp

primary
#C945BF
secondary
#98D19D
accent
#DE5549
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#150B14
muted
#847C82

Preview Lab

Preview with #C945BF

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

Preview Lab → · Contrast checker → · Palette generator →

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