#C242BF#C242BF

#C242BF is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.4% C 0.215 H 328.8°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#C242BF
RGBrgb(194, 66, 191)
HSLhsl(301, 51%, 51%)
HSVhsv(301, 66%, 76%)
CMYKcmyk(0%, 66%, 1.5%, 23.9%)
CIE-LABlab(50.84, 65.44, -40.29)
CIE-LCHlch(50.84, 76.85, 328.38°)
OKLaboklab(60.42% 0.1837 -0.1112)
OKLCHoklch(60.42% 0.215 328.8)
XYZxyz(33.6000, 19.1297, 51.2028)
Luminance0.1913 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C242BF #42C245
analogous
#8542C2 #C242BF #C2427F
triadic
#C242BF #BFC242 #42BFC2
tetradic
#C242BF #C28542 #42C245 #427FC2
square
#C242BF #C28542 #42C245 #427FC2
split-complementary
#C242BF #7FC242 #42C285
monochromatic
#682266 #963194 #C242BF #D170CF #E09FDE

Accessibility & contrast

On white

4.35
#C242BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#C242BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C242BF
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C242BF#FFFFFF#000000##000000
##C242BF1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#336EC3
Deuteranopia (green-blind)
#647FBC
Tritanopia (blue-blind)
#C8527B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c242bf;
/* rgb */ color: rgb(194, 66, 191);
/* oklch */ color: oklch(60.4% 0.215 328.8);
Tailwind
colors: {
  custom: {
    50: '#d880d3',
    500: '#c242bf',
    950: '#000000',
  },
}
SCSS
$custom: #c242bf;
$custom-light: #d880d3;
$custom-dark: #000000;
JSON
{
  "hex": "#c242bf",
  "rgb": {
    "r": 194,
    "g": 66,
    "b": 191
  },
  "hsl": {
    "h": 301.406,
    "s": 51.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.60417,
    "c": 0.21471,
    "h": 328.8
  },
  "luminance": 0.19127
}

Semantic roles & 50–950 ramp

primary
#C242BF
secondary
#94CC95
accent
#DB504D
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C242BF

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

Preview Lab → · Contrast checker → · Palette generator →

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