#C12CE2#C12CE2

#C12CE2 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 60.6% C 0.264 H 319.2°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#C12CE2
RGBrgb(193, 44, 226)
HSLhsl(289, 76%, 53%)
HSVhsv(289, 81%, 89%)
CMYKcmyk(14.6%, 80.5%, 0%, 11.4%)
CIE-LABlab(50.25, 78.25, -61.30)
CIE-LCHlch(50.25, 99.40, 321.93°)
OKLaboklab(60.62% 0.2 -0.1724)
OKLCHoklch(60.62% 0.264 319.2)
XYZxyz(36.6187, 18.6317, 73.6042)
Luminance0.1863 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12CE2 #4DE22C
analogous
#662CE2 #C12CE2 #E22CA8
triadic
#C12CE2 #E2C12C #2CE2C1
tetradic
#C12CE2 #E2662C #4DE22C #2CA8E2
square
#C12CE2 #E2662C #4DE22C #2CA8E2
split-complementary
#C12CE2 #A8E22C #2CE266
monochromatic
#6D1282 #9B19B8 #C12CE2 #D162E9 #E198F1

Accessibility & contrast

On white

4.44
#C12CE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#C12CE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C12CE2
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12CE2#FFFFFF#000000##000000
##C12CE21.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#006EE7
Deuteranopia (green-blind)
#3B7CDE
Tritanopia (blue-blind)
#C15689
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c12ce2;
/* rgb */ color: rgb(193, 44, 226);
/* oklch */ color: oklch(60.6% 0.264 319.2);
Tailwind
colors: {
  custom: {
    50: '#d978ec',
    500: '#c12ce2',
    950: '#000000',
  },
}
SCSS
$custom: #c12ce2;
$custom-light: #d978ec;
$custom-dark: #000000;
JSON
{
  "hex": "#c12ce2",
  "rgb": {
    "r": 193,
    "g": 44,
    "b": 226
  },
  "hsl": {
    "h": 289.121,
    "s": 75.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60622,
    "c": 0.26404,
    "h": 319.2
  },
  "luminance": 0.1863
}

Semantic roles & 50–950 ramp

primary
#C12CE2
secondary
#9CDC8E
accent
#F23558
background
#FDF7FE
surface
#FBEEFD
border
#D4C9D5
text
#150A16
muted
#837C84

Preview Lab

Preview with #C12CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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