#C42EFF#C42EFF

#C42EFF is a light, highly saturated purple. Relative luminance 0.209; OKLCH L 63.2% C 0.286 H 313.5°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#C42EFF
RGBrgb(196, 46, 255)
HSLhsl(283, 100%, 59%)
HSVhsv(283, 82%, 100%)
CMYKcmyk(23.1%, 82%, 0%, 0%)
CIE-LABlab(52.85, 83.42, -73.35)
CIE-LCHlch(52.85, 111.08, 318.68°)
OKLaboklab(63.15% 0.1968 -0.2077)
OKLCHoklch(63.15% 0.286 313.5)
XYZxyz(41.7887, 20.9111, 96.4233)
Luminance0.2091 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42EFF #69FF2E
analogous
#5C2EFF #C42EFF #FF2ED2
triadic
#C42EFF #FFC42E #2EFFC4
tetradic
#C42EFF #FF5C2E #69FF2E #2ED2FF
square
#C42EFF #FF5C2E #69FF2E #2ED2FF
split-complementary
#C42EFF #D2FF2E #2EFF5C
monochromatic
#8000B3 #AC00F0 #C42EFF #D56BFF #E7A8FF

Accessibility & contrast

On white

4.05
#C42EFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#C42EFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C42EFF
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42EFF#FFFFFF#000000##000000
##C42EFF1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077FF
Deuteranopia (green-blind)
#0081FB
Tritanopia (blue-blind)
#BE659A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c42eff;
/* rgb */ color: rgb(196, 46, 255);
/* oklch */ color: oklch(63.2% 0.286 313.5);
Tailwind
colors: {
  custom: {
    50: '#dc7bff',
    500: '#c42eff',
    950: '#000000',
  },
}
SCSS
$custom: #c42eff;
$custom-light: #dc7bff;
$custom-dark: #000000;
JSON
{
  "hex": "#c42eff",
  "rgb": {
    "r": 196,
    "g": 46,
    "b": 255
  },
  "hsl": {
    "h": 283.062,
    "s": 100,
    "l": 59.02
  },
  "oklch": {
    "l": 0.63151,
    "c": 0.2861,
    "h": 313.5
  },
  "luminance": 0.2091
}

Semantic roles & 50–950 ramp

primary
#C42EFF
secondary
#B3ED9B
accent
#FF2965
background
#FEF8FF
surface
#FCEFFF
border
#D5CAD7
text
#160B18
muted
#847C86

Preview Lab

Preview with #C42EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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