#C945E6#C945E6

#C945E6 is a light, highly saturated purple. Relative luminance 0.224; OKLCH L 63.9% C 0.246 H 319.8°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#C945E6
RGBrgb(201, 69, 230)
HSLhsl(289, 76%, 59%)
HSVhsv(289, 70%, 90%)
CMYKcmyk(12.6%, 70%, 0%, 9.8%)
CIE-LABlab(54.44, 72.63, -56.77)
CIE-LCHlch(54.44, 92.18, 321.99°)
OKLaboklab(63.9% 0.1881 -0.159)
OKLCHoklch(63.9% 0.246 319.8)
XYZxyz(40.4967, 22.3889, 77.0359)
Luminance0.2239 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C945E6 #62E645
analogous
#7845E6 #C945E6 #E645B2
triadic
#C945E6 #E6C945 #45E6C9
tetradic
#C945E6 #E67845 #62E645 #45B2E6
square
#C945E6 #E67845 #62E645 #45B2E6
split-complementary
#C945E6 #B2E645 #45E678
monochromatic
#83159C #B11CD2 #C945E6 #D97BED #E8B1F5

Accessibility & contrast

On white

3.83
#C945E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#C945E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C945E6
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C945E6#FFFFFF#000000##000000
##C945E61.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EB
Deuteranopia (green-blind)
#5287E2
Tritanopia (blue-blind)
#C96491
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #c945e6;
/* rgb */ color: rgb(201, 69, 230);
/* oklch */ color: oklch(63.9% 0.246 319.8);
Tailwind
colors: {
  custom: {
    50: '#dd84ef',
    500: '#c945e6',
    950: '#000000',
  },
}
SCSS
$custom: #c945e6;
$custom-light: #dd84ef;
$custom-dark: #000000;
JSON
{
  "hex": "#c945e6",
  "rgb": {
    "r": 201,
    "g": 69,
    "b": 230
  },
  "hsl": {
    "h": 289.193,
    "s": 76.303,
    "l": 58.627
  },
  "oklch": {
    "l": 0.63904,
    "c": 0.2463,
    "h": 319.8
  },
  "luminance": 0.22387
}

Semantic roles & 50–950 ramp

primary
#C945E6
secondary
#AFE3A4
accent
#F33557
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #C945E6

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

Preview Lab → · Contrast checker → · Palette generator →

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