#C242C5#C242C5

#C242C5 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.7% C 0.220 H 326.9°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#C242C5
RGBrgb(194, 66, 197)
HSLhsl(299, 53%, 52%)
HSVhsv(299, 66%, 77%)
CMYKcmyk(1.5%, 66.5%, 0%, 22.7%)
CIE-LABlab(51.15, 66.44, -43.26)
CIE-LCHlch(51.15, 79.29, 326.93°)
OKLaboklab(60.74% 0.1839 -0.1198)
OKLCHoklch(60.74% 0.22 326.9)
XYZxyz(34.2738, 19.3993, 54.7517)
Luminance0.1940 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C242C5 #45C542
analogous
#8142C5 #C242C5 #C54287
triadic
#C242C5 #C5C242 #42C5C2
tetradic
#C242C5 #C58142 #45C542 #4287C5
square
#C242C5 #C58142 #45C542 #4287C5
split-complementary
#C242C5 #87C542 #42C581
monochromatic
#6A216C #982F9A #C242C5 #D171D3 #E0A0E2

Accessibility & contrast

On white

4.30
#C242C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#C242C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C242C5
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C242C5#FFFFFF#000000##000000
##C242C51.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C6FC9
Deuteranopia (green-blind)
#6080C2
Tritanopia (blue-blind)
#C7557E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c242c5;
/* rgb */ color: rgb(194, 66, 197);
/* oklch */ color: oklch(60.7% 0.220 326.9);
Tailwind
colors: {
  custom: {
    50: '#d881d7',
    500: '#c242c5',
    950: '#000000',
  },
}
SCSS
$custom: #c242c5;
$custom-light: #d881d7;
$custom-dark: #000000;
JSON
{
  "hex": "#c242c5",
  "rgb": {
    "r": 194,
    "g": 66,
    "b": 197
  },
  "hsl": {
    "h": 298.626,
    "s": 53.036,
    "l": 51.569
  },
  "oklch": {
    "l": 0.60744,
    "c": 0.2195,
    "h": 326.9
  },
  "luminance": 0.19397
}

Semantic roles & 50–950 ramp

primary
#C242C5
secondary
#96CE95
accent
#DC4B4F
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C242C5

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

Preview Lab → · Contrast checker → · Palette generator →

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