#C242D1#C242D1

#C242D1 is a mid, highly saturated purple. Relative luminance 0.200; OKLCH L 61.4% C 0.229 H 323.4°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#C242D1
RGBrgb(194, 66, 209)
HSLhsl(294, 61%, 54%)
HSVhsv(294, 68%, 82%)
CMYKcmyk(7.2%, 68.4%, 0%, 18%)
CIE-LABlab(51.80, 68.51, -49.12)
CIE-LCHlch(51.80, 84.30, 324.36°)
OKLaboklab(61.43% 0.184 -0.1369)
OKLCHoklch(61.43% 0.229 323.4)
XYZxyz(35.7039, 19.9713, 62.2835)
Luminance0.1997 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C242D1 #51D142
analogous
#7B42D1 #C242D1 #D14299
triadic
#C242D1 #D1C242 #42D1C2
tetradic
#C242D1 #D17B42 #51D142 #4299D1
square
#C242D1 #D17B42 #51D142 #4299D1
split-complementary
#C242D1 #99D142 #42D17B
monochromatic
#711E7B #9E2AAC #C242D1 #D273DD #E2A4E9

Accessibility & contrast

On white

4.21
#C242D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#C242D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C242D1
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C242D1#FFFFFF#000000##000000
##C242D11.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1872D5
Deuteranopia (green-blind)
#5981CD
Tritanopia (blue-blind)
#C55A85
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c242d1;
/* rgb */ color: rgb(194, 66, 209);
/* oklch */ color: oklch(61.4% 0.229 323.4);
Tailwind
colors: {
  custom: {
    50: '#d881e0',
    500: '#c242d1',
    950: '#000000',
  },
}
SCSS
$custom: #c242d1;
$custom-light: #d881e0;
$custom-dark: #000000;
JSON
{
  "hex": "#c242d1",
  "rgb": {
    "r": 194,
    "g": 66,
    "b": 209
  },
  "hsl": {
    "h": 293.706,
    "s": 60.851,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61425,
    "c": 0.22929,
    "h": 323.4
  },
  "luminance": 0.19969
}

Semantic roles & 50–950 ramp

primary
#C242D1
secondary
#9FD699
accent
#E44455
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #C242D1

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

Preview Lab → · Contrast checker → · Palette generator →

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