#C142E2#C142E2

#C142E2 is a light, highly saturated purple. Relative luminance 0.207; OKLCH L 62.3% C 0.243 H 318.5°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#C142E2
RGBrgb(193, 66, 226)
HSLhsl(288, 73%, 57%)
HSVhsv(288, 71%, 89%)
CMYKcmyk(14.6%, 70.8%, 0%, 11.4%)
CIE-LABlab(52.65, 71.36, -57.44)
CIE-LCHlch(52.65, 91.61, 321.17°)
OKLaboklab(62.32% 0.182 -0.1612)
OKLCHoklch(62.32% 0.243 318.5)
XYZxyz(37.6661, 20.7266, 73.9533)
Luminance0.2072 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C142E2 #63E242
analogous
#7142E2 #C142E2 #E242B3
triadic
#C142E2 #E2C142 #42E2C1
tetradic
#C142E2 #E27142 #63E242 #42B3E2
square
#C142E2 #E27142 #63E242 #42B3E2
split-complementary
#C142E2 #B3E242 #42E271
monochromatic
#791793 #A51FC8 #C142E2 #D277EA #E4ACF2

Accessibility & contrast

On white

4.08
#C142E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#C142E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C142E2
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C142E2#FFFFFF#000000##000000
##C142E21.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E7
Deuteranopia (green-blind)
#4A82DE
Tritanopia (blue-blind)
#C0628E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c142e2;
/* rgb */ color: rgb(193, 66, 226);
/* oklch */ color: oklch(62.3% 0.243 318.5);
Tailwind
colors: {
  custom: {
    50: '#d881ec',
    500: '#c142e2',
    950: '#000000',
  },
}
SCSS
$custom: #c142e2;
$custom-light: #d881ec;
$custom-dark: #000000;
JSON
{
  "hex": "#c142e2",
  "rgb": {
    "r": 193,
    "g": 66,
    "b": 226
  },
  "hsl": {
    "h": 287.625,
    "s": 73.394,
    "l": 57.255
  },
  "oklch": {
    "l": 0.62317,
    "c": 0.24315,
    "h": 318.5
  },
  "luminance": 0.20725
}

Semantic roles & 50–950 ramp

primary
#C142E2
secondary
#ADE09F
accent
#F0385E
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #C142E2

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

Preview Lab → · Contrast checker → · Palette generator →

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