#C945D9#C945D9

#C945D9 is a light, highly saturated purple. Relative luminance 0.217; OKLCH L 63.1% C 0.235 H 323.2°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#C945D9
RGBrgb(201, 69, 217)
HSLhsl(294, 66%, 56%)
HSVhsv(294, 68%, 85%)
CMYKcmyk(7.4%, 68.2%, 0%, 14.9%)
CIE-LABlab(53.69, 70.32, -50.61)
CIE-LCHlch(53.69, 86.64, 324.26°)
OKLaboklab(63.13% 0.1886 -0.141)
OKLCHoklch(63.13% 0.235 323.2)
XYZxyz(38.7387, 21.6857, 67.7775)
Luminance0.2168 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C945D9 #55D945
analogous
#7F45D9 #C945D9 #D9459F
triadic
#C945D9 #D9C945 #45D9C9
tetradic
#C945D9 #D97F45 #55D945 #459FD9
square
#C945D9 #D97F45 #55D945 #459FD9
split-complementary
#C945D9 #9FD945 #45D97F
monochromatic
#7C1C88 #AB26BB #C945D9 #D878E3 #E7ABEE

Accessibility & contrast

On white

3.93
#C945D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#C945D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C945D9
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C945D9#FFFFFF#000000##000000
##C945D91.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1976DD
Deuteranopia (green-blind)
#5C86D5
Tritanopia (blue-blind)
#CC5E8A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #c945d9;
/* rgb */ color: rgb(201, 69, 217);
/* oklch */ color: oklch(63.1% 0.235 323.2);
Tailwind
colors: {
  custom: {
    50: '#dd83e5',
    500: '#c945d9',
    950: '#000000',
  },
}
SCSS
$custom: #c945d9;
$custom-light: #dd83e5;
$custom-dark: #000000;
JSON
{
  "hex": "#c945d9",
  "rgb": {
    "r": 201,
    "g": 69,
    "b": 217
  },
  "hsl": {
    "h": 293.514,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.63131,
    "c": 0.23549,
    "h": 323.2
  },
  "luminance": 0.21684
}

Semantic roles & 50–950 ramp

primary
#C945D9
secondary
#A5DB9E
accent
#E93F51
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #C945D9

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

Preview Lab → · Contrast checker → · Palette generator →

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