#C945D1#C945D1

#C945D1 is a light, highly saturated purple. Relative luminance 0.213; OKLCH L 62.7% C 0.229 H 325.5°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#C945D1
RGBrgb(201, 69, 209)
HSLhsl(297, 60%, 55%)
HSVhsv(297, 67%, 82%)
CMYKcmyk(3.8%, 67%, 0%, 18%)
CIE-LABlab(53.25, 68.94, -46.75)
CIE-LCHlch(53.25, 83.29, 325.86°)
OKLaboklab(62.68% 0.1886 -0.1298)
OKLCHoklch(62.68% 0.229 325.5)
XYZxyz(37.7233, 21.2796, 62.4297)
Luminance0.2128 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C945D1 #4DD145
analogous
#8345D1 #C945D1 #D14593
triadic
#C945D1 #D1C945 #45D1C9
tetradic
#C945D1 #D18345 #4DD145 #4593D1
square
#C945D1 #D18345 #4DD145 #4593D1
split-complementary
#C945D1 #93D145 #45D183
monochromatic
#771F7D #A62BAE #C945D1 #D776DD #E5A7E9

Accessibility & contrast

On white

4.00
#C945D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#C945D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C945D1
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C945D1#FFFFFF#000000##000000
##C945D11.004.005.265.26
#FFFFFF4.001.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2875D5
Deuteranopia (green-blind)
#6185CD
Tritanopia (blue-blind)
#CE5B86
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c945d1;
/* rgb */ color: rgb(201, 69, 209);
/* oklch */ color: oklch(62.7% 0.229 325.5);
Tailwind
colors: {
  custom: {
    50: '#dd83e0',
    500: '#c945d1',
    950: '#000000',
  },
}
SCSS
$custom: #c945d1;
$custom-light: #dd83e0;
$custom-dark: #000000;
JSON
{
  "hex": "#c945d1",
  "rgb": {
    "r": 201,
    "g": 69,
    "b": 209
  },
  "hsl": {
    "h": 296.571,
    "s": 60.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.62675,
    "c": 0.22896,
    "h": 325.5
  },
  "luminance": 0.21277
}

Semantic roles & 50–950 ramp

primary
#C945D1
secondary
#9FD79B
accent
#E3444D
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #C945D1

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

Preview Lab → · Contrast checker → · Palette generator →

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