#C945E2#C945E2

#C945E2 is a light, highly saturated purple. Relative luminance 0.222; OKLCH L 63.7% C 0.243 H 320.8°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#C945E2
RGBrgb(201, 69, 226)
HSLhsl(290, 73%, 58%)
HSVhsv(290, 69%, 89%)
CMYKcmyk(11.1%, 69.5%, 0%, 11.4%)
CIE-LABlab(54.20, 71.91, -54.89)
CIE-LCHlch(54.20, 90.46, 322.65°)
OKLaboklab(63.66% 0.1883 -0.1535)
OKLCHoklch(63.66% 0.243 320.8)
XYZxyz(39.9414, 22.1668, 74.1115)
Luminance0.2217 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C945E2 #5EE245
analogous
#7B45E2 #C945E2 #E245AC
triadic
#C945E2 #E2C945 #45E2C9
tetradic
#C945E2 #E27B45 #5EE245 #45ACE2
square
#C945E2 #E27B45 #5EE245 #45ACE2
split-complementary
#C945E2 #ACE245 #45E27B
monochromatic
#811795 #AF20CA #C945E2 #D87AEA #E8AFF3

Accessibility & contrast

On white

3.87
#C945E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#C945E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C945E2
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C945E2#FFFFFF#000000##000000
##C945E21.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E6
Deuteranopia (green-blind)
#5686DE
Tritanopia (blue-blind)
#CA628F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #c945e2;
/* rgb */ color: rgb(201, 69, 226);
/* oklch */ color: oklch(63.7% 0.243 320.8);
Tailwind
colors: {
  custom: {
    50: '#dd84ec',
    500: '#c945e2',
    950: '#000000',
  },
}
SCSS
$custom: #c945e2;
$custom-light: #dd84ec;
$custom-dark: #000000;
JSON
{
  "hex": "#c945e2",
  "rgb": {
    "r": 201,
    "g": 69,
    "b": 226
  },
  "hsl": {
    "h": 290.446,
    "s": 73.023,
    "l": 57.843
  },
  "oklch": {
    "l": 0.63662,
    "c": 0.24294,
    "h": 320.8
  },
  "luminance": 0.22165
}

Semantic roles & 50–950 ramp

primary
#C945E2
secondary
#ACE1A2
accent
#F03855
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #C945E2

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

Preview Lab → · Contrast checker → · Palette generator →

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