#C942CB#C942CB

#C942CB is a light, highly saturated purple. Relative luminance 0.206; OKLCH L 62.1% C 0.228 H 327.3°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#C942CB
RGBrgb(201, 66, 203)
HSLhsl(299, 57%, 53%)
HSVhsv(299, 67%, 80%)
CMYKcmyk(1%, 67.5%, 0%, 20.4%)
CIE-LABlab(52.54, 69.04, -44.45)
CIE-LCHlch(52.54, 82.11, 327.23°)
OKLaboklab(62.06% 0.1916 -0.1231)
OKLCHoklch(62.06% 0.228 327.3)
XYZxyz(36.8145, 20.6282, 58.5309)
Luminance0.2063 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C942CB #44CB42
analogous
#8442CB #C942CB #CB4288
triadic
#C942CB #CBC942 #42CBC9
tetradic
#C942CB #CB8442 #44CB42 #4288CB
square
#C942CB #CB8442 #44CB42 #4288CB
split-complementary
#C942CB #88CB42 #42CB84
monochromatic
#722073 #A12DA3 #C942CB #D772D8 #E4A2E5

Accessibility & contrast

On white

4.10
#C942CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#C942CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C942CB
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C942CB#FFFFFF#000000##000000
##C942CB1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B72CF
Deuteranopia (green-blind)
#6383C7
Tritanopia (blue-blind)
#CF5682
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c942cb;
/* rgb */ color: rgb(201, 66, 203);
/* oklch */ color: oklch(62.1% 0.228 327.3);
Tailwind
colors: {
  custom: {
    50: '#dd81db',
    500: '#c942cb',
    950: '#000000',
  },
}
SCSS
$custom: #c942cb;
$custom-light: #dd81db;
$custom-dark: #000000;
JSON
{
  "hex": "#c942cb",
  "rgb": {
    "r": 201,
    "g": 66,
    "b": 203
  },
  "hsl": {
    "h": 299.124,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.62058,
    "c": 0.22775,
    "h": 327.3
  },
  "luminance": 0.20626
}

Semantic roles & 50–950 ramp

primary
#C942CB
secondary
#98D297
accent
#E0484A
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #C942CB

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

Preview Lab → · Contrast checker → · Palette generator →

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