#C940CE#C940CE

#C940CE is a light, highly saturated purple. Relative luminance 0.205; OKLCH L 62.0% C 0.232 H 326.4°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#C940CE
RGBrgb(201, 64, 206)
HSLhsl(298, 59%, 53%)
HSVhsv(298, 69%, 81%)
CMYKcmyk(2.4%, 68.9%, 0%, 19.2%)
CIE-LABlab(52.45, 70.26, -46.32)
CIE-LCHlch(52.45, 84.15, 326.61°)
OKLaboklab(62.04% 0.1937 -0.1285)
OKLCHoklch(62.04% 0.232 326.4)
XYZxyz(37.0607, 20.5430, 60.3937)
Luminance0.2054 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C940CE #45CE40
analogous
#8240CE #C940CE #CE408C
triadic
#C940CE #CEC940 #40CEC9
tetradic
#C940CE #CE8240 #45CE40 #408CCE
square
#C940CE #CE8240 #45CE40 #408CCE
split-complementary
#C940CE #8CCE40 #40CE82
monochromatic
#721E75 #A22BA6 #C940CE #D771DA #E5A1E7

Accessibility & contrast

On white

4.11
#C940CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#C940CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C940CE
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C940CE#FFFFFF#000000##000000
##C940CE1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2372D2
Deuteranopia (green-blind)
#6083CA
Tritanopia (blue-blind)
#CE5683
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c940ce;
/* rgb */ color: rgb(201, 64, 206);
/* oklch */ color: oklch(62.0% 0.232 326.4);
Tailwind
colors: {
  custom: {
    50: '#dd81dd',
    500: '#c940ce',
    950: '#000000',
  },
}
SCSS
$custom: #c940ce;
$custom-light: #dd81dd;
$custom-dark: #000000;
JSON
{
  "hex": "#c940ce",
  "rgb": {
    "r": 201,
    "g": 64,
    "b": 206
  },
  "hsl": {
    "h": 297.887,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.62042,
    "c": 0.23244,
    "h": 326.4
  },
  "luminance": 0.20541
}

Semantic roles & 50–950 ramp

primary
#C940CE
secondary
#98D496
accent
#E2454B
background
#FEF8FD
surface
#FCEFFB
border
#D5CAD4
text
#160B15
muted
#847C83

Preview Lab

Preview with #C940CE

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

Preview Lab → · Contrast checker → · Palette generator →

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