#C142E1#C142E1

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

Color values

HEX#C142E1
RGBrgb(193, 66, 225)
HSLhsl(288, 73%, 57%)
HSVhsv(288, 71%, 88%)
CMYKcmyk(14.2%, 70.7%, 0%, 11.8%)
CIE-LABlab(52.59, 71.17, -56.98)
CIE-LCHlch(52.59, 91.17, 321.32°)
OKLaboklab(62.26% 0.1821 -0.1598)
OKLCHoklch(62.26% 0.242 318.7)
XYZxyz(37.5293, 20.6719, 73.2328)
Luminance0.2067 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C142E1 #62E142
analogous
#7242E1 #C142E1 #E142B1
triadic
#C142E1 #E1C142 #42E1C1
tetradic
#C142E1 #E17242 #62E142 #42B1E1
square
#C142E1 #E17242 #62E142 #42B1E1
split-complementary
#C142E1 #B1E142 #42E172
monochromatic
#791792 #A51FC6 #C142E1 #D277E9 #E4ACF2

Accessibility & contrast

On white

4.09
#C142E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#C142E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C142E1
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C142E1#FFFFFF#000000##000000
##C142E11.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E5
Deuteranopia (green-blind)
#4B82DD
Tritanopia (blue-blind)
#C1618E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c142e1;
/* rgb */ color: rgb(193, 66, 225);
/* oklch */ color: oklch(62.3% 0.242 318.7);
Tailwind
colors: {
  custom: {
    50: '#d881eb',
    500: '#c142e1',
    950: '#000000',
  },
}
SCSS
$custom: #c142e1;
$custom-light: #d881eb;
$custom-dark: #000000;
JSON
{
  "hex": "#c142e1",
  "rgb": {
    "r": 193,
    "g": 66,
    "b": 225
  },
  "hsl": {
    "h": 287.925,
    "s": 72.603,
    "l": 57.059
  },
  "oklch": {
    "l": 0.62255,
    "c": 0.24229,
    "h": 318.7
  },
  "luminance": 0.2067
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C142E1

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

Preview Lab → · Contrast checker → · Palette generator →

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