#C242D9#C242D9

#C242D9 is a mid, highly saturated purple. Relative luminance 0.204; OKLCH L 61.9% C 0.236 H 321.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#C242D9
RGBrgb(194, 66, 217)
HSLhsl(291, 67%, 55%)
HSVhsv(291, 70%, 85%)
CMYKcmyk(10.6%, 69.6%, 0%, 14.9%)
CIE-LABlab(52.26, 69.93, -52.95)
CIE-LCHlch(52.26, 87.71, 322.87°)
OKLaboklab(61.9% 0.1837 -0.148)
OKLCHoklch(61.9% 0.236 321.1)
XYZxyz(36.7193, 20.3775, 67.6313)
Luminance0.2038 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C242D9 #59D942
analogous
#7642D9 #C242D9 #D942A4
triadic
#C242D9 #D9C242 #42D9C2
tetradic
#C242D9 #D97642 #59D942 #42A4D9
square
#C242D9 #D97642 #59D942 #42A4D9
split-complementary
#C242D9 #A4D942 #42D976
monochromatic
#751B86 #A225B9 #C242D9 #D275E3 #E3A8ED

Accessibility & contrast

On white

4.14
#C242D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#C242D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C242D9
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C242D9#FFFFFF#000000##000000
##C242D91.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074DD
Deuteranopia (green-blind)
#5381D5
Tritanopia (blue-blind)
#C45E89
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c242d9;
/* rgb */ color: rgb(194, 66, 217);
/* oklch */ color: oklch(61.9% 0.236 321.1);
Tailwind
colors: {
  custom: {
    50: '#d881e5',
    500: '#c242d9',
    950: '#000000',
  },
}
SCSS
$custom: #c242d9;
$custom-light: #d881e5;
$custom-dark: #000000;
JSON
{
  "hex": "#c242d9",
  "rgb": {
    "r": 194,
    "g": 66,
    "b": 217
  },
  "hsl": {
    "h": 290.861,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61899,
    "c": 0.23594,
    "h": 321.1
  },
  "luminance": 0.20376
}

Semantic roles & 50–950 ramp

primary
#C242D9
secondary
#A6DB9C
accent
#E93E58
background
#FDF8FE
surface
#FBEFFC
border
#D4CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #C242D9

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

Preview Lab → · Contrast checker → · Palette generator →

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