#C12EEE#C12EEE

#C12EEE is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 61.6% C 0.272 H 316.3°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#C12EEE
RGBrgb(193, 46, 238)
HSLhsl(286, 85%, 56%)
HSVhsv(286, 81%, 93%)
CMYKcmyk(18.9%, 80.7%, 0%, 6.7%)
CIE-LABlab(51.23, 79.85, -66.50)
CIE-LCHlch(51.23, 103.92, 320.21°)
OKLaboklab(61.56% 0.1967 -0.1877)
OKLCHoklch(61.56% 0.272 316.3)
XYZxyz(38.3995, 19.4661, 82.6070)
Luminance0.1946 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12EEE #5BEE2E
analogous
#612EEE #C12EEE #EE2EBB
triadic
#C12EEE #EEC12E #2EEEC1
tetradic
#C12EEE #EE612E #5BEE2E #2EBBEE
square
#C12EEE #EE612E #5BEE2E #2EBBEE
split-complementary
#C12EEE #BBEE2E #2EEE61
monochromatic
#750C95 #A211CE #C12EEE #D267F3 #E39FF7

Accessibility & contrast

On white

4.29
#C12EEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#C12EEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C12EEE
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12EEE#FFFFFF#000000##000000
##C12EEE1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072F3
Deuteranopia (green-blind)
#2B7EEA
Tritanopia (blue-blind)
#BE5D91
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c12eee;
/* rgb */ color: rgb(193, 46, 238);
/* oklch */ color: oklch(61.6% 0.272 316.3);
Tailwind
colors: {
  custom: {
    50: '#d97af4',
    500: '#c12eee',
    950: '#000000',
  },
}
SCSS
$custom: #c12eee;
$custom-light: #d97af4;
$custom-dark: #000000;
JSON
{
  "hex": "#c12eee",
  "rgb": {
    "r": 193,
    "g": 46,
    "b": 238
  },
  "hsl": {
    "h": 285.938,
    "s": 84.956,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61557,
    "c": 0.27182,
    "h": 316.3
  },
  "luminance": 0.19464
}

Semantic roles & 50–950 ramp

primary
#C12EEE
secondary
#A7E494
accent
#FB2D5D
background
#FDF8FF
surface
#FBEFFE
border
#D4CAD6
text
#150A17
muted
#837C85

Preview Lab

Preview with #C12EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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