#C942ED#C942ED

#C942ED is a light, highly saturated purple. Relative luminance 0.224; OKLCH L 64.1% C 0.255 H 318.2°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#C942ED
RGBrgb(201, 66, 237)
HSLhsl(287, 83%, 59%)
HSVhsv(287, 72%, 93%)
CMYKcmyk(15.2%, 72.2%, 0%, 7.1%)
CIE-LABlab(54.48, 74.97, -60.63)
CIE-LCHlch(54.48, 96.42, 321.04°)
OKLaboklab(64.07% 0.1903 -0.1703)
OKLCHoklch(64.07% 0.255 318.2)
XYZxyz(41.3195, 22.4302, 82.2573)
Luminance0.2243 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C942ED #66ED42
analogous
#7342ED #C942ED #ED42BC
triadic
#C942ED #EDC942 #42EDC9
tetradic
#C942ED #ED7342 #66ED42 #42BCED
square
#C942ED #ED7342 #66ED42 #42BCED
split-complementary
#C942ED #BCED42 #42ED73
monochromatic
#8510A5 #B315DD #C942ED #D97AF2 #E9B2F8

Accessibility & contrast

On white

3.83
#C942ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#C942ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C942ED
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C942ED#FFFFFF#000000##000000
##C942ED1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF2
Deuteranopia (green-blind)
#4A87E9
Tritanopia (blue-blind)
#C86594
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #c942ed;
/* rgb */ color: rgb(201, 66, 237);
/* oklch */ color: oklch(64.1% 0.255 318.2);
Tailwind
colors: {
  custom: {
    50: '#de83f4',
    500: '#c942ed',
    950: '#000000',
  },
}
SCSS
$custom: #c942ed;
$custom-light: #de83f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c942ed",
  "rgb": {
    "r": 201,
    "g": 66,
    "b": 237
  },
  "hsl": {
    "h": 287.368,
    "s": 82.609,
    "l": 59.412
  },
  "oklch": {
    "l": 0.64069,
    "c": 0.25542,
    "h": 318.2
  },
  "luminance": 0.22428
}

Semantic roles & 50–950 ramp

primary
#C942ED
secondary
#B2E7A4
accent
#F92F59
background
#FEF8FF
surface
#FCF0FE
border
#D5CBD6
text
#160C17
muted
#847D85

Preview Lab

Preview with #C942ED

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

Preview Lab → · Contrast checker → · Palette generator →

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