#C242AD#C242AD

#C242AD is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.5% C 0.201 H 335.0°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#C242AD
RGBrgb(194, 66, 173)
HSLhsl(310, 51%, 51%)
HSVhsv(310, 66%, 76%)
CMYKcmyk(0%, 66%, 10.8%, 23.9%)
CIE-LABlab(49.96, 62.58, -31.17)
CIE-LCHlch(49.96, 69.91, 333.52°)
OKLaboklab(59.5% 0.1821 -0.085)
OKLCHoklch(59.5% 0.201 335)
XYZxyz(31.7395, 18.3855, 41.4042)
Luminance0.1838 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C242AD #42C257
analogous
#9742C2 #C242AD #C2426D
triadic
#C242AD #ADC242 #42ADC2
tetradic
#C242AD #C29742 #42C257 #426DC2
square
#C242AD #C29742 #42C257 #426DC2
split-complementary
#C242AD #6DC242 #42C297
monochromatic
#68225C #963186 #C242AD #D170C1 #E09FD5

Accessibility & contrast

On white

4.49
#C242AD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#C242AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C242AD
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C242AD#FFFFFF#000000##000000
##C242AD1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#426BB0
Deuteranopia (green-blind)
#6C7EAA
Tritanopia (blue-blind)
#CB4B72
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c242ad;
/* rgb */ color: rgb(194, 66, 173);
/* oklch */ color: oklch(59.5% 0.201 335.0);
Tailwind
colors: {
  custom: {
    50: '#d880c6',
    500: '#c242ad',
    950: '#000000',
  },
}
SCSS
$custom: #c242ad;
$custom-light: #d880c6;
$custom-dark: #000000;
JSON
{
  "hex": "#c242ad",
  "rgb": {
    "r": 194,
    "g": 66,
    "b": 173
  },
  "hsl": {
    "h": 309.844,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59496,
    "c": 0.20097,
    "h": 335
  },
  "luminance": 0.18383
}

Semantic roles & 50–950 ramp

primary
#C242AD
secondary
#94CC9D
accent
#DB644D
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C242AD

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

Preview Lab → · Contrast checker → · Palette generator →

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