#C942CF#C942CF

#C942CF is a light, highly saturated purple. Relative luminance 0.208; OKLCH L 62.3% C 0.231 H 326.1°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#C942CF
RGBrgb(201, 66, 207)
HSLhsl(297, 59%, 54%)
HSVhsv(297, 68%, 81%)
CMYKcmyk(2.9%, 68.1%, 0%, 18.8%)
CIE-LABlab(52.75, 69.71, -46.40)
CIE-LCHlch(52.75, 83.74, 326.35°)
OKLaboklab(62.28% 0.1917 -0.1288)
OKLCHoklch(62.28% 0.231 326.1)
XYZxyz(37.2974, 20.8214, 61.0738)
Luminance0.2082 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C942CF #48CF42
analogous
#8242CF #C942CF #CF428E
triadic
#C942CF #CFC942 #42CFC9
tetradic
#C942CF #CF8242 #48CF42 #428ECF
square
#C942CF #CF8242 #48CF42 #428ECF
split-complementary
#C942CF #8ECF42 #42CF82
monochromatic
#741F78 #A42BA9 #C942CF #D773DB #E5A4E8

Accessibility & contrast

On white

4.07
#C942CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#C942CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C942CF
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C942CF#FFFFFF#000000##000000
##C942CF1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2573D3
Deuteranopia (green-blind)
#6184CB
Tritanopia (blue-blind)
#CE5884
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c942cf;
/* rgb */ color: rgb(201, 66, 207);
/* oklch */ color: oklch(62.3% 0.231 326.1);
Tailwind
colors: {
  custom: {
    50: '#dd82de',
    500: '#c942cf',
    950: '#000000',
  },
}
SCSS
$custom: #c942cf;
$custom-light: #dd82de;
$custom-dark: #000000;
JSON
{
  "hex": "#c942cf",
  "rgb": {
    "r": 201,
    "g": 66,
    "b": 207
  },
  "hsl": {
    "h": 297.447,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.6228,
    "c": 0.23091,
    "h": 326.1
  },
  "luminance": 0.20819
}

Semantic roles & 50–950 ramp

primary
#C942CF
secondary
#9BD598
accent
#E3454C
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #C942CF

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

Preview Lab → · Contrast checker → · Palette generator →

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