#C942CC#C942CC

#C942CC is a light, highly saturated purple. Relative luminance 0.207; OKLCH L 62.1% C 0.229 H 327.0°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#C942CC
RGBrgb(201, 66, 204)
HSLhsl(299, 58%, 53%)
HSVhsv(299, 68%, 80%)
CMYKcmyk(1.5%, 67.6%, 0%, 20%)
CIE-LABlab(52.59, 69.21, -44.94)
CIE-LCHlch(52.59, 82.51, 327.00°)
OKLaboklab(62.11% 0.1916 -0.1245)
OKLCHoklch(62.11% 0.229 327)
XYZxyz(36.9341, 20.6761, 59.1606)
Luminance0.2067 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C942CC #45CC42
analogous
#8442CC #C942CC #CC428A
triadic
#C942CC #CCC942 #42CCC9
tetradic
#C942CC #CC8442 #45CC42 #428ACC
square
#C942CC #CC8442 #45CC42 #428ACC
split-complementary
#C942CC #8ACC42 #42CC84
monochromatic
#721F74 #A22CA4 #C942CC #D772D9 #E5A2E6

Accessibility & contrast

On white

4.09
#C942CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#C942CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C942CC
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C942CC#FFFFFF#000000##000000
##C942CC1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2972D0
Deuteranopia (green-blind)
#6384C8
Tritanopia (blue-blind)
#CF5682
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c942cc;
/* rgb */ color: rgb(201, 66, 204);
/* oklch */ color: oklch(62.1% 0.229 327.0);
Tailwind
colors: {
  custom: {
    50: '#dd82dc',
    500: '#c942cc',
    950: '#000000',
  },
}
SCSS
$custom: #c942cc;
$custom-light: #dd82dc;
$custom-dark: #000000;
JSON
{
  "hex": "#c942cc",
  "rgb": {
    "r": 201,
    "g": 66,
    "b": 204
  },
  "hsl": {
    "h": 298.696,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.62113,
    "c": 0.22854,
    "h": 327
  },
  "luminance": 0.20674
}

Semantic roles & 50–950 ramp

primary
#C942CC
secondary
#98D397
accent
#E1474A
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #C942CC

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

Preview Lab → · Contrast checker → · Palette generator →

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