#C945DA#C945DA

#C945DA is a light, highly saturated purple. Relative luminance 0.217; OKLCH L 63.2% C 0.236 H 322.9°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#C945DA
RGBrgb(201, 69, 218)
HSLhsl(293, 67%, 56%)
HSVhsv(293, 68%, 85%)
CMYKcmyk(7.8%, 68.3%, 0%, 14.5%)
CIE-LABlab(53.75, 70.49, -51.09)
CIE-LCHlch(53.75, 87.06, 324.07°)
OKLaboklab(63.19% 0.1886 -0.1424)
OKLCHoklch(63.19% 0.236 322.9)
XYZxyz(38.8692, 21.7379, 68.4646)
Luminance0.2174 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C945DA #56DA45
analogous
#7F45DA #C945DA #DA45A1
triadic
#C945DA #DAC945 #45DAC9
tetradic
#C945DA #DA7F45 #56DA45 #45A1DA
square
#C945DA #DA7F45 #56DA45 #45A1DA
split-complementary
#C945DA #A1DA45 #45DA7F
monochromatic
#7D1B89 #AB25BC #C945DA #D878E4 #E7ABEE

Accessibility & contrast

On white

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

On black

5.35
#C945DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C945DA
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C945DA#FFFFFF#000000##000000
##C945DA1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1677DE
Deuteranopia (green-blind)
#5C86D6
Tritanopia (blue-blind)
#CC5E8B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #c945da;
/* rgb */ color: rgb(201, 69, 218);
/* oklch */ color: oklch(63.2% 0.236 322.9);
Tailwind
colors: {
  custom: {
    50: '#dd83e6',
    500: '#c945da',
    950: '#000000',
  },
}
SCSS
$custom: #c945da;
$custom-light: #dd83e6;
$custom-dark: #000000;
JSON
{
  "hex": "#c945da",
  "rgb": {
    "r": 201,
    "g": 69,
    "b": 218
  },
  "hsl": {
    "h": 293.154,
    "s": 66.816,
    "l": 56.275
  },
  "oklch": {
    "l": 0.63189,
    "c": 0.23631,
    "h": 322.9
  },
  "luminance": 0.21736
}

Semantic roles & 50–950 ramp

primary
#C945DA
secondary
#A6DC9F
accent
#EA3E52
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #C945DA

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

Preview Lab → · Contrast checker → · Palette generator →

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