#C942B8#C942B8

#C942B8 is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.1% C 0.213 H 333.3°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#C942B8
RGBrgb(201, 66, 184)
HSLhsl(308, 56%, 52%)
HSVhsv(308, 67%, 79%)
CMYKcmyk(0%, 67.2%, 8.5%, 21.2%)
CIE-LABlab(51.58, 66.00, -34.98)
CIE-LCHlch(51.58, 74.69, 332.08°)
OKLaboklab(61.06% 0.1905 -0.0957)
OKLCHoklch(61.06% 0.213 333.3)
XYZxyz(34.6875, 19.7774, 47.3286)
Luminance0.1978 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C942B8 #42C953
analogous
#9742C9 #C942B8 #C94274
triadic
#C942B8 #B8C942 #42B8C9
tetradic
#C942B8 #C99742 #42C953 #4274C9
square
#C942B8 #C99742 #42C953 #4274C9
split-complementary
#C942B8 #74C942 #42C997
monochromatic
#702066 #A02E92 #C942B8 #D772CA #E4A1DC

Accessibility & contrast

On white

4.24
#C942B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#C942B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C942B8
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C942B8#FFFFFF#000000##000000
##C942B81.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E6EBB
Deuteranopia (green-blind)
#6D82B5
Tritanopia (blue-blind)
#D24E77
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c942b8;
/* rgb */ color: rgb(201, 66, 184);
/* oklch */ color: oklch(61.1% 0.213 333.3);
Tailwind
colors: {
  custom: {
    50: '#dd81cd',
    500: '#c942b8',
    950: '#000000',
  },
}
SCSS
$custom: #c942b8;
$custom-light: #dd81cd;
$custom-dark: #000000;
JSON
{
  "hex": "#c942b8",
  "rgb": {
    "r": 201,
    "g": 66,
    "b": 184
  },
  "hsl": {
    "h": 307.556,
    "s": 55.556,
    "l": 52.353
  },
  "oklch": {
    "l": 0.61058,
    "c": 0.21322,
    "h": 333.3
  },
  "luminance": 0.19775
}

Semantic roles & 50–950 ramp

primary
#C942B8
secondary
#96D19D
accent
#DF5C49
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #C942B8

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

Preview Lab → · Contrast checker → · Palette generator →

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