#C940BE#C940BE

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

Color values

HEX#C940BE
RGBrgb(201, 64, 190)
HSLhsl(305, 56%, 52%)
HSVhsv(305, 68%, 79%)
CMYKcmyk(0%, 68.2%, 5.5%, 21.2%)
CIE-LABlab(51.62, 67.67, -38.41)
CIE-LCHlch(51.62, 77.81, 330.42°)
OKLaboklab(61.18% 0.1931 -0.1056)
OKLCHoklch(61.18% 0.22 331.3)
XYZxyz(35.2150, 19.8047, 50.6732)
Luminance0.1980 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C940BE #40C94B
analogous
#9040C9 #C940BE #C94079
triadic
#C940BE #BEC940 #40BEC9
tetradic
#C940BE #C99040 #40C94B #4079C9
square
#C940BE #C99040 #40C94B #4079C9
split-complementary
#C940BE #79C940 #40C990
monochromatic
#6F1F69 #9F2D96 #C940BE #D670CE #E49FDE

Accessibility & contrast

On white

4.23
#C940BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C940BE#FFFFFF#000000##000000
##C940BE1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#366FC2
Deuteranopia (green-blind)
#6982BB
Tritanopia (blue-blind)
#D14F7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c940be;
/* rgb */ color: rgb(201, 64, 190);
/* oklch */ color: oklch(61.2% 0.220 331.3);
Tailwind
colors: {
  custom: {
    50: '#dd80d2',
    500: '#c940be',
    950: '#000000',
  },
}
SCSS
$custom: #c940be;
$custom-light: #dd80d2;
$custom-dark: #000000;
JSON
{
  "hex": "#c940be",
  "rgb": {
    "r": 201,
    "g": 64,
    "b": 190
  },
  "hsl": {
    "h": 304.818,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.61176,
    "c": 0.22012,
    "h": 331.3
  },
  "luminance": 0.19802
}

Semantic roles & 50–950 ramp

primary
#C940BE
secondary
#94D099
accent
#DF5549
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #C940BE

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

Preview Lab → · Contrast checker → · Palette generator →

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