#C942E0#C942E0

#C942E0 is a light, highly saturated purple. Relative luminance 0.217; OKLCH L 63.3% C 0.245 H 321.4°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#C942E0
RGBrgb(201, 66, 224)
HSLhsl(291, 72%, 57%)
HSVhsv(291, 71%, 88%)
CMYKcmyk(10.3%, 70.5%, 0%, 12.2%)
CIE-LABlab(53.70, 72.64, -54.56)
CIE-LCHlch(53.70, 90.84, 323.09°)
OKLaboklab(63.27% 0.1913 -0.1525)
OKLCHoklch(63.27% 0.245 321.4)
XYZxyz(39.4887, 21.6979, 72.6147)
Luminance0.2170 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C942E0 #59E042
analogous
#7A42E0 #C942E0 #E042A8
triadic
#C942E0 #E0C942 #42E0C9
tetradic
#C942E0 #E07A42 #59E042 #42A8E0
square
#C942E0 #E07A42 #59E042 #42A8E0
split-complementary
#C942E0 #A8E042 #42E07A
monochromatic
#7E1890 #AD20C5 #C942E0 #D877E9 #E7ABF1

Accessibility & contrast

On white

3.93
#C942E0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#C942E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C942E0
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C942E0#FFFFFF#000000##000000
##C942E01.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E4
Deuteranopia (green-blind)
#5585DC
Tritanopia (blue-blind)
#CB5F8D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #c942e0;
/* rgb */ color: rgb(201, 66, 224);
/* oklch */ color: oklch(63.3% 0.245 321.4);
Tailwind
colors: {
  custom: {
    50: '#dd82ea',
    500: '#c942e0',
    950: '#000000',
  },
}
SCSS
$custom: #c942e0;
$custom-light: #dd82ea;
$custom-dark: #000000;
JSON
{
  "hex": "#c942e0",
  "rgb": {
    "r": 201,
    "g": 66,
    "b": 224
  },
  "hsl": {
    "h": 291.266,
    "s": 71.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.63268,
    "c": 0.24466,
    "h": 321.4
  },
  "luminance": 0.21696
}

Semantic roles & 50–950 ramp

primary
#C942E0
secondary
#A8DF9F
accent
#EF3954
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160B16
muted
#847C84

Preview Lab

Preview with #C942E0

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

Preview Lab → · Contrast checker → · Palette generator →

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