#C242E1#C242E1

#C242E1 is a light, highly saturated purple. Relative luminance 0.208; OKLCH L 62.4% C 0.243 H 319.0°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#C242E1
RGBrgb(194, 66, 225)
HSLhsl(288, 73%, 57%)
HSVhsv(288, 71%, 88%)
CMYKcmyk(13.8%, 70.7%, 0%, 11.8%)
CIE-LABlab(52.73, 71.38, -56.73)
CIE-LCHlch(52.73, 91.18, 321.52°)
OKLaboklab(62.39% 0.1832 -0.1591)
OKLCHoklch(62.39% 0.243 319)
XYZxyz(37.7852, 20.8038, 73.2448)
Luminance0.2080 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C242E1 #61E142
analogous
#7342E1 #C242E1 #E142B1
triadic
#C242E1 #E1C242 #42E1C2
tetradic
#C242E1 #E17342 #61E142 #42B1E1
square
#C242E1 #E17342 #61E142 #42B1E1
split-complementary
#C242E1 #B1E142 #42E173
monochromatic
#7A1792 #A61FC6 #C242E1 #D377E9 #E4ACF2

Accessibility & contrast

On white

4.07
#C242E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#C242E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C242E1
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C242E1#FFFFFF#000000##000000
##C242E11.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E5
Deuteranopia (green-blind)
#4D82DD
Tritanopia (blue-blind)
#C2618E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c242e1;
/* rgb */ color: rgb(194, 66, 225);
/* oklch */ color: oklch(62.4% 0.243 319.0);
Tailwind
colors: {
  custom: {
    50: '#d982eb',
    500: '#c242e1',
    950: '#000000',
  },
}
SCSS
$custom: #c242e1;
$custom-light: #d982eb;
$custom-dark: #000000;
JSON
{
  "hex": "#c242e1",
  "rgb": {
    "r": 194,
    "g": 66,
    "b": 225
  },
  "hsl": {
    "h": 288.302,
    "s": 72.603,
    "l": 57.059
  },
  "oklch": {
    "l": 0.62388,
    "c": 0.24268,
    "h": 319
  },
  "luminance": 0.20802
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C242E1

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

Preview Lab → · Contrast checker → · Palette generator →

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