#C242C9#C242C9

#C242C9 is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 61.0% C 0.223 H 325.7°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#C242C9
RGBrgb(194, 66, 201)
HSLhsl(297, 56%, 52%)
HSVhsv(297, 67%, 79%)
CMYKcmyk(3.5%, 67.2%, 0%, 21.2%)
CIE-LABlab(51.36, 67.12, -45.23)
CIE-LCHlch(51.36, 80.94, 326.03°)
OKLaboklab(60.97% 0.184 -0.1255)
OKLCHoklch(60.97% 0.223 325.7)
XYZxyz(34.7382, 19.5850, 57.1976)
Luminance0.1958 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C242C9 #49C942
analogous
#7F42C9 #C242C9 #C9428C
triadic
#C242C9 #C9C242 #42C9C2
tetradic
#C242C9 #C97F42 #49C942 #428CC9
square
#C242C9 #C97F42 #49C942 #428CC9
split-complementary
#C242C9 #8CC942 #42C97F
monochromatic
#6C2070 #9A2EA0 #C242C9 #D172D7 #E1A1E4

Accessibility & contrast

On white

4.27
#C242C9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#C242C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C242C9
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C242C9#FFFFFF#000000##000000
##C242C91.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2770CD
Deuteranopia (green-blind)
#5E80C6
Tritanopia (blue-blind)
#C75781
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c242c9;
/* rgb */ color: rgb(194, 66, 201);
/* oklch */ color: oklch(61.0% 0.223 325.7);
Tailwind
colors: {
  custom: {
    50: '#d881da',
    500: '#c242c9',
    950: '#000000',
  },
}
SCSS
$custom: #c242c9;
$custom-light: #d881da;
$custom-dark: #000000;
JSON
{
  "hex": "#c242c9",
  "rgb": {
    "r": 194,
    "g": 66,
    "b": 201
  },
  "hsl": {
    "h": 296.889,
    "s": 55.556,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60967,
    "c": 0.22273,
    "h": 325.7
  },
  "luminance": 0.19583
}

Semantic roles & 50–950 ramp

primary
#C242C9
secondary
#99D196
accent
#DF4951
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #C242C9

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

Preview Lab → · Contrast checker → · Palette generator →

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