#C942BB#C942BB

#C942BB is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 61.2% C 0.215 H 332.3°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#C942BB
RGBrgb(201, 66, 187)
HSLhsl(306, 56%, 52%)
HSVhsv(306, 67%, 79%)
CMYKcmyk(0%, 67.2%, 7%, 21.2%)
CIE-LABlab(51.73, 66.46, -36.49)
CIE-LCHlch(51.73, 75.82, 331.23°)
OKLaboklab(61.21% 0.1908 -0.1001)
OKLCHoklch(61.21% 0.215 332.3)
XYZxyz(35.0053, 19.9045, 49.0024)
Luminance0.1990 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C942BB #42C950
analogous
#9342C9 #C942BB #C94278
triadic
#C942BB #BBC942 #42BBC9
tetradic
#C942BB #C99342 #42C950 #4278C9
square
#C942BB #C99342 #42C950 #4278C9
split-complementary
#C942BB #78C942 #42C993
monochromatic
#702068 #A02E94 #C942BB #D772CC #E4A1DD

Accessibility & contrast

On white

4.22
#C942BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#C942BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C942BB
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C942BB#FFFFFF#000000##000000
##C942BB1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C6FBE
Deuteranopia (green-blind)
#6B82B8
Tritanopia (blue-blind)
#D14F79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c942bb;
/* rgb */ color: rgb(201, 66, 187);
/* oklch */ color: oklch(61.2% 0.215 332.3);
Tailwind
colors: {
  custom: {
    50: '#dd81d0',
    500: '#c942bb',
    950: '#000000',
  },
}
SCSS
$custom: #c942bb;
$custom-light: #dd81d0;
$custom-dark: #000000;
JSON
{
  "hex": "#c942bb",
  "rgb": {
    "r": 201,
    "g": 66,
    "b": 187
  },
  "hsl": {
    "h": 306.222,
    "s": 55.556,
    "l": 52.353
  },
  "oklch": {
    "l": 0.6121,
    "c": 0.21545,
    "h": 332.3
  },
  "luminance": 0.19902
}

Semantic roles & 50–950 ramp

primary
#C942BB
secondary
#96D19C
accent
#DF5849
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #C942BB

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

Preview Lab → · Contrast checker → · Palette generator →

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