#C945CD#C945CD

#C945CD is a light, highly saturated purple. Relative luminance 0.211; OKLCH L 62.5% C 0.226 H 326.6°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#C945CD
RGBrgb(201, 69, 205)
HSLhsl(298, 58%, 54%)
HSVhsv(298, 66%, 80%)
CMYKcmyk(2%, 66.3%, 0%, 19.6%)
CIE-LABlab(53.04, 68.26, -44.80)
CIE-LCHlch(53.04, 81.65, 326.72°)
OKLaboklab(62.45% 0.1885 -0.1241)
OKLCHoklch(62.45% 0.226 326.6)
XYZxyz(37.2343, 21.0840, 59.8542)
Luminance0.2108 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C945CD #49CD45
analogous
#8545CD #C945CD #CD458D
triadic
#C945CD #CDC945 #45CDC9
tetradic
#C945CD #CD8545 #49CD45 #458DCD
square
#C945CD #CD8545 #49CD45 #458DCD
split-complementary
#C945CD #8DCD45 #45CD85
monochromatic
#752077 #A42DA8 #C945CD #D775DA #E5A5E7

Accessibility & contrast

On white

4.03
#C945CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#C945CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C945CD
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C945CD#FFFFFF#000000##000000
##C945CD1.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D74D1
Deuteranopia (green-blind)
#6484C9
Tritanopia (blue-blind)
#CE5984
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c945cd;
/* rgb */ color: rgb(201, 69, 205);
/* oklch */ color: oklch(62.5% 0.226 326.6);
Tailwind
colors: {
  custom: {
    50: '#dd83dd',
    500: '#c945cd',
    950: '#000000',
  },
}
SCSS
$custom: #c945cd;
$custom-light: #dd83dd;
$custom-dark: #000000;
JSON
{
  "hex": "#c945cd",
  "rgb": {
    "r": 201,
    "g": 69,
    "b": 205
  },
  "hsl": {
    "h": 298.235,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.62453,
    "c": 0.22573,
    "h": 326.6
  },
  "luminance": 0.21082
}

Semantic roles & 50–950 ramp

primary
#C945CD
secondary
#9CD49A
accent
#E1474B
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #C945CD

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

Preview Lab → · Contrast checker → · Palette generator →

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