#C942CA#C942CA

#C942CA is a light, highly saturated purple. Relative luminance 0.206; OKLCH L 62.0% C 0.227 H 327.6°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#C942CA
RGBrgb(201, 66, 202)
HSLhsl(300, 56%, 53%)
HSVhsv(300, 67%, 79%)
CMYKcmyk(0.5%, 67.3%, 0%, 20.8%)
CIE-LABlab(52.49, 68.87, -43.96)
CIE-LCHlch(52.49, 81.71, 327.45°)
OKLaboklab(62% 0.1916 -0.1217)
OKLCHoklch(62% 0.227 327.6)
XYZxyz(36.6958, 20.5807, 57.9054)
Luminance0.2058 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C942CA #43CA42
analogous
#8542CA #C942CA #CA4287
triadic
#C942CA #CAC942 #42CAC9
tetradic
#C942CA #CA8542 #43CA42 #4287CA
square
#C942CA #CA8542 #43CA42 #4287CA
split-complementary
#C942CA #87CA42 #42CA85
monochromatic
#712072 #A12DA2 #C942CA #D772D7 #E4A2E5

Accessibility & contrast

On white

4.11
#C942CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#C942CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C942CA
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C942CA#FFFFFF#000000##000000
##C942CA1.004.115.125.12
#FFFFFF4.111.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C72CE
Deuteranopia (green-blind)
#6483C6
Tritanopia (blue-blind)
#CF5681
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c942ca;
/* rgb */ color: rgb(201, 66, 202);
/* oklch */ color: oklch(62.0% 0.227 327.6);
Tailwind
colors: {
  custom: {
    50: '#dd81da',
    500: '#c942ca',
    950: '#000000',
  },
}
SCSS
$custom: #c942ca;
$custom-light: #dd81da;
$custom-dark: #000000;
JSON
{
  "hex": "#c942ca",
  "rgb": {
    "r": 201,
    "g": 66,
    "b": 202
  },
  "hsl": {
    "h": 299.559,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.62003,
    "c": 0.22697,
    "h": 327.6
  },
  "luminance": 0.20578
}

Semantic roles & 50–950 ramp

primary
#C942CA
secondary
#97D196
accent
#DF4849
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #C942CA

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

Preview Lab → · Contrast checker → · Palette generator →

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