#C242BD#C242BD

#C242BD is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.3% C 0.213 H 329.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#C242BD
RGBrgb(194, 66, 189)
HSLhsl(302, 51%, 51%)
HSVhsv(302, 66%, 76%)
CMYKcmyk(0%, 66%, 2.6%, 23.9%)
CIE-LABlab(50.74, 65.11, -39.29)
CIE-LCHlch(50.74, 76.05, 328.89°)
OKLaboklab(60.31% 0.1836 -0.1083)
OKLCHoklch(60.31% 0.213 329.5)
XYZxyz(33.3814, 19.0423, 50.0516)
Luminance0.1904 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C242BD #42C247
analogous
#8742C2 #C242BD #C2427D
triadic
#C242BD #BDC242 #42BDC2
tetradic
#C242BD #C28742 #42C247 #427DC2
square
#C242BD #C28742 #42C247 #427DC2
split-complementary
#C242BD #7DC242 #42C287
monochromatic
#682265 #963192 #C242BD #D170CD #E09FDD

Accessibility & contrast

On white

4.37
#C242BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#C242BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C242BD
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C242BD#FFFFFF#000000##000000
##C242BD1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#356EC1
Deuteranopia (green-blind)
#657FBA
Tritanopia (blue-blind)
#C9527A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c242bd;
/* rgb */ color: rgb(194, 66, 189);
/* oklch */ color: oklch(60.3% 0.213 329.5);
Tailwind
colors: {
  custom: {
    50: '#d880d1',
    500: '#c242bd',
    950: '#000000',
  },
}
SCSS
$custom: #c242bd;
$custom-light: #d880d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c242bd",
  "rgb": {
    "r": 194,
    "g": 66,
    "b": 189
  },
  "hsl": {
    "h": 302.344,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.60311,
    "c": 0.21314,
    "h": 329.5
  },
  "luminance": 0.1904
}

Semantic roles & 50–950 ramp

primary
#C242BD
secondary
#94CC96
accent
#DB534D
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150B14
muted
#837C82

Preview Lab

Preview with #C242BD

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

Preview Lab → · Contrast checker → · Palette generator →

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