#C12EBD#C12EBD

#C12EBD is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.5% C 0.235 H 329.3°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#C12EBD
RGBrgb(193, 46, 189)
HSLhsl(302, 62%, 47%)
HSVhsv(302, 76%, 76%)
CMYKcmyk(0%, 76.2%, 2.1%, 24.3%)
CIE-LABlab(48.22, 71.58, -43.28)
CIE-LCHlch(48.22, 83.65, 328.84°)
OKLaboklab(58.47% 0.2016 -0.1198)
OKLCHoklch(58.47% 0.235 329.3)
XYZxyz(32.1544, 16.9681, 49.7159)
Luminance0.1697 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12EBD #2EC132
analogous
#7C2EC1 #C12EBD #C12E73
triadic
#C12EBD #BDC12E #2EBDC1
tetradic
#C12EBD #C17C2E #2EC132 #2E73C1
square
#C12EBD #C17C2E #2EC132 #2E73C1
split-complementary
#C12EBD #73C12E #2EC17C
monochromatic
#5E165C #90228D #C12EBD #D756D3 #E287E0

Accessibility & contrast

On white

4.78
#C12EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#C12EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12EBD
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12EBD#FFFFFF#000000##FFFFFF
##C12EBD1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1166C1
Deuteranopia (green-blind)
#5A79B9
Tritanopia (blue-blind)
#C84574
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c12ebd;
/* rgb */ color: rgb(193, 46, 189);
/* oklch */ color: oklch(58.5% 0.235 329.3);
Tailwind
colors: {
  custom: {
    50: '#d877d1',
    500: '#c12ebd',
    950: '#000000',
  },
}
SCSS
$custom: #c12ebd;
$custom-light: #d877d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c12ebd",
  "rgb": {
    "r": 193,
    "g": 46,
    "b": 189
  },
  "hsl": {
    "h": 301.633,
    "s": 61.506,
    "l": 46.863
  },
  "oklch": {
    "l": 0.58472,
    "c": 0.23453,
    "h": 329.3
  },
  "luminance": 0.16966
}

Semantic roles & 50–950 ramp

primary
#C12EBD
secondary
#7FCC81
accent
#E54843
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C12EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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