#C942C8#C942C8

#C942C8 is a mid, highly saturated purple. Relative luminance 0.205; OKLCH L 61.9% C 0.225 H 328.2°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#C942C8
RGBrgb(201, 66, 200)
HSLhsl(300, 56%, 52%)
HSVhsv(300, 67%, 79%)
CMYKcmyk(0%, 67.2%, 0.5%, 21.2%)
CIE-LABlab(52.38, 68.55, -42.97)
CIE-LCHlch(52.38, 80.90, 327.92°)
OKLaboklab(61.89% 0.1915 -0.1188)
OKLCHoklch(61.89% 0.225 328.2)
XYZxyz(36.4605, 20.4866, 56.6663)
Luminance0.2048 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C942C8 #42C943
analogous
#8642C9 #C942C8 #C94285
triadic
#C942C8 #C8C942 #42C8C9
tetradic
#C942C8 #C98642 #42C943 #4285C9
square
#C942C8 #C98642 #42C943 #4285C9
split-complementary
#C942C8 #85C942 #42C986
monochromatic
#702070 #A02E9F #C942C8 #D772D6 #E4A1E4

Accessibility & contrast

On white

4.12
#C942C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#C942C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C942C8
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C942C8#FFFFFF#000000##000000
##C942C81.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F72CC
Deuteranopia (green-blind)
#6583C4
Tritanopia (blue-blind)
#CF5580
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c942c8;
/* rgb */ color: rgb(201, 66, 200);
/* oklch */ color: oklch(61.9% 0.225 328.2);
Tailwind
colors: {
  custom: {
    50: '#dd81d9',
    500: '#c942c8',
    950: '#000000',
  },
}
SCSS
$custom: #c942c8;
$custom-light: #dd81d9;
$custom-dark: #000000;
JSON
{
  "hex": "#c942c8",
  "rgb": {
    "r": 201,
    "g": 66,
    "b": 200
  },
  "hsl": {
    "h": 300.444,
    "s": 55.556,
    "l": 52.353
  },
  "oklch": {
    "l": 0.61894,
    "c": 0.2254,
    "h": 328.2
  },
  "luminance": 0.20484
}

Semantic roles & 50–950 ramp

primary
#C942C8
secondary
#96D196
accent
#DF4A49
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B15
muted
#847C83

Preview Lab

Preview with #C942C8

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

Preview Lab → · Contrast checker → · Palette generator →

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