#C940BB#C940BB

#C940BB is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 61.0% C 0.218 H 332.3°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#C940BB
RGBrgb(201, 64, 187)
HSLhsl(306, 56%, 52%)
HSVhsv(306, 68%, 79%)
CMYKcmyk(0%, 68.2%, 7%, 21.2%)
CIE-LABlab(51.47, 67.20, -36.90)
CIE-LCHlch(51.47, 76.67, 331.23°)
OKLaboklab(61.02% 0.1929 -0.1013)
OKLCHoklch(61.02% 0.218 332.3)
XYZxyz(34.8905, 19.6749, 48.9641)
Luminance0.1967 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C940BB #40C94E
analogous
#9240C9 #C940BB #C94077
triadic
#C940BB #BBC940 #40BBC9
tetradic
#C940BB #C99240 #40C94E #4077C9
square
#C940BB #C99240 #40C94E #4077C9
split-complementary
#C940BB #77C940 #40C992
monochromatic
#6F1F67 #9F2D93 #C940BB #D670CC #E49FDD

Accessibility & contrast

On white

4.26
#C940BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#C940BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C940BB
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C940BB#FFFFFF#000000##000000
##C940BB1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#396EBF
Deuteranopia (green-blind)
#6A82B8
Tritanopia (blue-blind)
#D14E78
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c940bb;
/* rgb */ color: rgb(201, 64, 187);
/* oklch */ color: oklch(61.0% 0.218 332.3);
Tailwind
colors: {
  custom: {
    50: '#dd80d0',
    500: '#c940bb',
    950: '#000000',
  },
}
SCSS
$custom: #c940bb;
$custom-light: #dd80d0;
$custom-dark: #000000;
JSON
{
  "hex": "#c940bb",
  "rgb": {
    "r": 201,
    "g": 64,
    "b": 187
  },
  "hsl": {
    "h": 306.131,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.61021,
    "c": 0.21788,
    "h": 332.3
  },
  "luminance": 0.19672
}

Semantic roles & 50–950 ramp

primary
#C940BB
secondary
#94D09B
accent
#DF5849
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #C940BB

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

Preview Lab → · Contrast checker → · Palette generator →

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