#C940BD#C940BD

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

Color values

HEX#C940BD
RGBrgb(201, 64, 189)
HSLhsl(305, 56%, 52%)
HSVhsv(305, 68%, 79%)
CMYKcmyk(0%, 68.2%, 6%, 21.2%)
CIE-LABlab(51.57, 67.51, -37.91)
CIE-LCHlch(51.57, 77.43, 330.68°)
OKLaboklab(61.12% 0.1931 -0.1042)
OKLCHoklch(61.12% 0.219 331.7)
XYZxyz(35.1061, 19.7612, 50.0995)
Luminance0.1976 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C940BD #40C94C
analogous
#9040C9 #C940BD #C94079
triadic
#C940BD #BDC940 #40BDC9
tetradic
#C940BD #C99040 #40C94C #4079C9
square
#C940BD #C99040 #40C94C #4079C9
split-complementary
#C940BD #79C940 #40C990
monochromatic
#6F1F68 #9F2D95 #C940BD #D670CD #E49FDE

Accessibility & contrast

On white

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

On black

4.95
#C940BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C940BD
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C940BD#FFFFFF#000000##000000
##C940BD1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#376FC1
Deuteranopia (green-blind)
#6982BA
Tritanopia (blue-blind)
#D14E79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c940bd;
/* rgb */ color: rgb(201, 64, 189);
/* oklch */ color: oklch(61.1% 0.219 331.7);
Tailwind
colors: {
  custom: {
    50: '#dd80d1',
    500: '#c940bd',
    950: '#000000',
  },
}
SCSS
$custom: #c940bd;
$custom-light: #dd80d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c940bd",
  "rgb": {
    "r": 201,
    "g": 64,
    "b": 189
  },
  "hsl": {
    "h": 305.255,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.61124,
    "c": 0.21937,
    "h": 331.7
  },
  "luminance": 0.19758
}

Semantic roles & 50–950 ramp

primary
#C940BD
secondary
#94D09A
accent
#DF5649
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #C940BD

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

Preview Lab → · Contrast checker → · Palette generator →

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