#C242E2#C242E2

#C242E2 is a light, highly saturated purple. Relative luminance 0.209; OKLCH L 62.5% C 0.244 H 318.8°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#C242E2
RGBrgb(194, 66, 226)
HSLhsl(288, 73%, 57%)
HSVhsv(288, 71%, 89%)
CMYKcmyk(14.2%, 70.8%, 0%, 11.4%)
CIE-LABlab(52.79, 71.56, -57.20)
CIE-LCHlch(52.79, 91.62, 321.36°)
OKLaboklab(62.45% 0.1832 -0.1605)
OKLCHoklch(62.45% 0.244 318.8)
XYZxyz(37.9220, 20.8585, 73.9653)
Luminance0.2086 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C242E2 #62E242
analogous
#7242E2 #C242E2 #E242B2
triadic
#C242E2 #E2C242 #42E2C2
tetradic
#C242E2 #E27242 #62E242 #42B2E2
square
#C242E2 #E27242 #62E242 #42B2E2
split-complementary
#C242E2 #B2E242 #42E272
monochromatic
#7A1793 #A61FC8 #C242E2 #D377EA #E4ACF2

Accessibility & contrast

On white

4.06
#C242E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#C242E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C242E2
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C242E2#FFFFFF#000000##000000
##C242E21.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E7
Deuteranopia (green-blind)
#4C82DE
Tritanopia (blue-blind)
#C2618E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c242e2;
/* rgb */ color: rgb(194, 66, 226);
/* oklch */ color: oklch(62.5% 0.244 318.8);
Tailwind
colors: {
  custom: {
    50: '#d982ec',
    500: '#c242e2',
    950: '#000000',
  },
}
SCSS
$custom: #c242e2;
$custom-light: #d982ec;
$custom-dark: #000000;
JSON
{
  "hex": "#c242e2",
  "rgb": {
    "r": 194,
    "g": 66,
    "b": 226
  },
  "hsl": {
    "h": 288,
    "s": 73.394,
    "l": 57.255
  },
  "oklch": {
    "l": 0.6245,
    "c": 0.24353,
    "h": 318.8
  },
  "luminance": 0.20857
}

Semantic roles & 50–950 ramp

primary
#C242E2
secondary
#ACE09F
accent
#F0385D
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #C242E2

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

Preview Lab → · Contrast checker → · Palette generator →

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