#C942CD#C942CD

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

Color values

HEX#C942CD
RGBrgb(201, 66, 205)
HSLhsl(298, 58%, 53%)
HSVhsv(298, 68%, 80%)
CMYKcmyk(2%, 67.8%, 0%, 19.6%)
CIE-LABlab(52.65, 69.37, -45.43)
CIE-LCHlch(52.65, 82.92, 326.78°)
OKLaboklab(62.17% 0.1917 -0.1259)
OKLCHoklch(62.17% 0.229 326.7)
XYZxyz(37.0544, 20.7242, 59.7943)
Luminance0.2072 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C942CD #46CD42
analogous
#8342CD #C942CD #CD428C
triadic
#C942CD #CDC942 #42CDC9
tetradic
#C942CD #CD8342 #46CD42 #428CCD
square
#C942CD #CD8342 #46CD42 #428CCD
split-complementary
#C942CD #8CCD42 #42CD83
monochromatic
#731F76 #A22CA6 #C942CD #D772DA #E5A3E7

Accessibility & contrast

On white

4.08
#C942CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#C942CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C942CD
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C942CD#FFFFFF#000000##000000
##C942CD1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2873D1
Deuteranopia (green-blind)
#6284C9
Tritanopia (blue-blind)
#CE5783
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c942cd;
/* rgb */ color: rgb(201, 66, 205);
/* oklch */ color: oklch(62.2% 0.229 326.7);
Tailwind
colors: {
  custom: {
    50: '#dd82dd',
    500: '#c942cd',
    950: '#000000',
  },
}
SCSS
$custom: #c942cd;
$custom-light: #dd82dd;
$custom-dark: #000000;
JSON
{
  "hex": "#c942cd",
  "rgb": {
    "r": 201,
    "g": 66,
    "b": 205
  },
  "hsl": {
    "h": 298.273,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.62169,
    "c": 0.22933,
    "h": 326.7
  },
  "luminance": 0.20722
}

Semantic roles & 50–950 ramp

primary
#C942CD
secondary
#99D397
accent
#E1464B
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #C942CD

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

Preview Lab → · Contrast checker → · Palette generator →

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