#C242FF#C242FF

#C242FF is a light, highly saturated purple. Relative luminance 0.226; OKLCH L 64.3% C 0.268 H 312.0°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#C242FF
RGBrgb(194, 66, 255)
HSLhsl(281, 100%, 63%)
HSVhsv(281, 74%, 100%)
CMYKcmyk(23.9%, 74.1%, 0%, 0%)
CIE-LABlab(54.64, 77.07, -70.46)
CIE-LCHlch(54.64, 104.42, 317.57°)
OKLaboklab(64.35% 0.1797 -0.1994)
OKLCHoklch(64.35% 0.268 312)
XYZxyz(42.2430, 22.5869, 96.7228)
Luminance0.2259 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C242FF #7FFF42
analogous
#6342FF #C242FF #FF42DD
triadic
#C242FF #FFC242 #42FFC2
tetradic
#C242FF #FF6342 #7FFF42 #42DDFF
square
#C242FF #FF6342 #7FFF42 #42DDFF
split-complementary
#C242FF #DDFF42 #42FF63
monochromatic
#8700C7 #AE05FF #C242FF #D67FFF #EABCFF

Accessibility & contrast

On white

3.81
#C242FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#C242FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C242FF
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C242FF#FFFFFF#000000##000000
##C242FF1.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#2385FB
Tritanopia (blue-blind)
#BB6E9E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c242ff;
/* rgb */ color: rgb(194, 66, 255);
/* oklch */ color: oklch(64.3% 0.268 312.0);
Tailwind
colors: {
  custom: {
    50: '#da83ff',
    500: '#c242ff',
    950: '#000000',
  },
}
SCSS
$custom: #c242ff;
$custom-light: #da83ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c242ff",
  "rgb": {
    "r": 194,
    "g": 66,
    "b": 255
  },
  "hsl": {
    "h": 280.635,
    "s": 100,
    "l": 62.941
  },
  "oklch": {
    "l": 0.6435,
    "c": 0.2684,
    "h": 312
  },
  "luminance": 0.22586
}

Semantic roles & 50–950 ramp

primary
#C242FF
secondary
#C2F0AC
accent
#E6004A
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#150C18
muted
#847D86

Preview Lab

Preview with #C242FF

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

Preview Lab → · Contrast checker → · Palette generator →

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