#C242C8#C242C8

#C242C8 is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 60.9% C 0.222 H 326.0°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#C242C8
RGBrgb(194, 66, 200)
HSLhsl(297, 55%, 52%)
HSVhsv(297, 67%, 78%)
CMYKcmyk(3%, 67%, 0%, 21.6%)
CIE-LABlab(51.31, 66.95, -44.74)
CIE-LCHlch(51.31, 80.52, 326.25°)
OKLaboklab(60.91% 0.184 -0.1241)
OKLCHoklch(60.91% 0.222 326)
XYZxyz(34.6210, 19.5381, 56.5801)
Luminance0.1954 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C242C8 #48C842
analogous
#7F42C8 #C242C8 #C8428B
triadic
#C242C8 #C8C242 #42C8C2
tetradic
#C242C8 #C87F42 #48C842 #428BC8
square
#C242C8 #C87F42 #48C842 #428BC8
split-complementary
#C242C8 #8BC842 #42C87F
monochromatic
#6C206F #9A2E9F #C242C8 #D171D6 #E1A1E4

Accessibility & contrast

On white

4.28
#C242C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#C242C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C242C8
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C242C8#FFFFFF#000000##000000
##C242C81.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2870CC
Deuteranopia (green-blind)
#5F80C5
Tritanopia (blue-blind)
#C75680
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c242c8;
/* rgb */ color: rgb(194, 66, 200);
/* oklch */ color: oklch(60.9% 0.222 326.0);
Tailwind
colors: {
  custom: {
    50: '#d881d9',
    500: '#c242c8',
    950: '#000000',
  },
}
SCSS
$custom: #c242c8;
$custom-light: #d881d9;
$custom-dark: #000000;
JSON
{
  "hex": "#c242c8",
  "rgb": {
    "r": 194,
    "g": 66,
    "b": 200
  },
  "hsl": {
    "h": 297.313,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60911,
    "c": 0.22192,
    "h": 326
  },
  "luminance": 0.19536
}

Semantic roles & 50–950 ramp

primary
#C242C8
secondary
#98D096
accent
#DE4A50
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B15
muted
#837C83

Preview Lab

Preview with #C242C8

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

Preview Lab → · Contrast checker → · Palette generator →

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