#C242D5#C242D5

#C242D5 is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.7% C 0.233 H 322.2°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#C242D5
RGBrgb(194, 66, 213)
HSLhsl(292, 64%, 55%)
HSVhsv(292, 69%, 84%)
CMYKcmyk(8.9%, 69%, 0%, 16.5%)
CIE-LABlab(52.03, 69.21, -51.04)
CIE-LCHlch(52.03, 86.00, 323.59°)
OKLaboklab(61.66% 0.1839 -0.1425)
OKLCHoklch(61.66% 0.233 322.2)
XYZxyz(36.2053, 20.1719, 64.9244)
Luminance0.2017 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C242D5 #55D542
analogous
#7942D5 #C242D5 #D5429E
triadic
#C242D5 #D5C242 #42D5C2
tetradic
#C242D5 #D57942 #55D542 #429ED5
square
#C242D5 #D57942 #55D542 #429ED5
split-complementary
#C242D5 #9ED542 #42D579
monochromatic
#731C80 #A028B2 #C242D5 #D274E0 #E2A6EB

Accessibility & contrast

On white

4.17
#C242D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#C242D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C242D5
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C242D5#FFFFFF#000000##000000
##C242D51.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A73D9
Deuteranopia (green-blind)
#5681D1
Tritanopia (blue-blind)
#C45C87
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c242d5;
/* rgb */ color: rgb(194, 66, 213);
/* oklch */ color: oklch(61.7% 0.233 322.2);
Tailwind
colors: {
  custom: {
    50: '#d881e2',
    500: '#c242d5',
    950: '#000000',
  },
}
SCSS
$custom: #c242d5;
$custom-light: #d881e2;
$custom-dark: #000000;
JSON
{
  "hex": "#c242d5",
  "rgb": {
    "r": 194,
    "g": 66,
    "b": 213
  },
  "hsl": {
    "h": 292.245,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.6166,
    "c": 0.23261,
    "h": 322.2
  },
  "luminance": 0.2017
}

Semantic roles & 50–950 ramp

primary
#C242D5
secondary
#A2D89A
accent
#E74157
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #C242D5

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

Preview Lab → · Contrast checker → · Palette generator →

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