#C242AF#C242AF

#C242AF is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 59.6% C 0.202 H 334.3°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#C242AF
RGBrgb(194, 66, 175)
HSLhsl(309, 51%, 51%)
HSVhsv(309, 66%, 76%)
CMYKcmyk(0%, 66%, 9.8%, 23.9%)
CIE-LABlab(50.05, 62.88, -32.20)
CIE-LCHlch(50.05, 70.65, 332.89°)
OKLaboklab(59.59% 0.1824 -0.0879)
OKLCHoklch(59.59% 0.202 334.3)
XYZxyz(31.9344, 18.4635, 42.4310)
Luminance0.1846 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C242AF #42C255
analogous
#9542C2 #C242AF #C2426F
triadic
#C242AF #AFC242 #42AFC2
tetradic
#C242AF #C29542 #42C255 #426FC2
square
#C242AF #C29542 #42C255 #426FC2
split-complementary
#C242AF #6FC242 #42C295
monochromatic
#68225E #963187 #C242AF #D170C3 #E09FD6

Accessibility & contrast

On white

4.48
#C242AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#C242AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C242AF
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C242AF#FFFFFF#000000##000000
##C242AF1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#406BB2
Deuteranopia (green-blind)
#6B7EAC
Tritanopia (blue-blind)
#CB4C73
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c242af;
/* rgb */ color: rgb(194, 66, 175);
/* oklch */ color: oklch(59.6% 0.202 334.3);
Tailwind
colors: {
  custom: {
    50: '#d880c7',
    500: '#c242af',
    950: '#000000',
  },
}
SCSS
$custom: #c242af;
$custom-light: #d880c7;
$custom-dark: #000000;
JSON
{
  "hex": "#c242af",
  "rgb": {
    "r": 194,
    "g": 66,
    "b": 175
  },
  "hsl": {
    "h": 308.906,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59594,
    "c": 0.20245,
    "h": 334.3
  },
  "luminance": 0.18461
}

Semantic roles & 50–950 ramp

primary
#C242AF
secondary
#94CC9C
accent
#DB624D
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C242AF

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

Preview Lab → · Contrast checker → · Palette generator →

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