#C242CC#C242CC

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

Color values

HEX#C242CC
RGBrgb(194, 66, 204)
HSLhsl(296, 58%, 53%)
HSVhsv(296, 68%, 80%)
CMYKcmyk(4.9%, 67.6%, 0%, 20%)
CIE-LABlab(51.53, 67.64, -46.69)
CIE-LCHlch(51.53, 82.19, 325.38°)
OKLaboklab(61.14% 0.184 -0.1298)
OKLCHoklch(61.14% 0.225 324.8)
XYZxyz(35.0946, 19.7276, 59.0743)
Luminance0.1973 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C242CC #4CCC42
analogous
#7D42CC #C242CC #CC4291
triadic
#C242CC #CCC242 #42CCC2
tetradic
#C242CC #CC7D42 #4CCC42 #4291CC
square
#C242CC #CC7D42 #4CCC42 #4291CC
split-complementary
#C242CC #91CC42 #42CC7D
monochromatic
#6E1F74 #9C2CA4 #C242CC #D272D9 #E1A2E6

Accessibility & contrast

On white

4.25
#C242CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C242CC#FFFFFF#000000##000000
##C242CC1.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2271D0
Deuteranopia (green-blind)
#5C80C9
Tritanopia (blue-blind)
#C65882
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c242cc;
/* rgb */ color: rgb(194, 66, 204);
/* oklch */ color: oklch(61.1% 0.225 324.8);
Tailwind
colors: {
  custom: {
    50: '#d881dc',
    500: '#c242cc',
    950: '#000000',
  },
}
SCSS
$custom: #c242cc;
$custom-light: #d881dc;
$custom-dark: #000000;
JSON
{
  "hex": "#c242cc",
  "rgb": {
    "r": 194,
    "g": 66,
    "b": 204
  },
  "hsl": {
    "h": 295.652,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.61137,
    "c": 0.22518,
    "h": 324.8
  },
  "luminance": 0.19725
}

Semantic roles & 50–950 ramp

primary
#C242CC
secondary
#9BD397
accent
#E14752
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #C242CC

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

Preview Lab → · Contrast checker → · Palette generator →

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