#C12FAA#C12FAA

#C12FAA is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.5% C 0.220 H 335.4°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#C12FAA
RGBrgb(193, 47, 170)
HSLhsl(309, 61%, 47%)
HSVhsv(309, 76%, 76%)
CMYKcmyk(0%, 75.6%, 11.9%, 24.3%)
CIE-LABlab(47.33, 68.44, -33.53)
CIE-LCHlch(47.33, 76.21, 333.90°)
OKLaboklab(57.52% 0.2002 -0.0916)
OKLCHoklch(57.52% 0.22 335.4)
XYZxyz(30.2650, 16.2755, 39.5700)
Luminance0.1627 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12FAA #2FC146
analogous
#8F2FC1 #C12FAA #C12F61
triadic
#C12FAA #AAC12F #2FAAC1
tetradic
#C12FAA #C18F2F #2FC146 #2F61C1
square
#C12FAA #C18F2F #2FC146 #2F61C1
split-complementary
#C12FAA #61C12F #2FC18F
monochromatic
#5F1753 #90237F #C12FAA #D657C2 #E288D4

Accessibility & contrast

On white

4.94
#C12FAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#C12FAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12FAA
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12FAA#FFFFFF#000000##FFFFFF
##C12FAA1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F62AD
Deuteranopia (green-blind)
#6478A7
Tritanopia (blue-blind)
#CB3B6A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c12faa;
/* rgb */ color: rgb(193, 47, 170);
/* oklch */ color: oklch(57.5% 0.220 335.4);
Tailwind
colors: {
  custom: {
    50: '#d877c3',
    500: '#c12faa',
    950: '#000000',
  },
}
SCSS
$custom: #c12faa;
$custom-light: #d877c3;
$custom-dark: #000000;
JSON
{
  "hex": "#c12faa",
  "rgb": {
    "r": 193,
    "g": 47,
    "b": 170
  },
  "hsl": {
    "h": 309.452,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.57518,
    "c": 0.22014,
    "h": 335.4
  },
  "luminance": 0.16273
}

Semantic roles & 50–950 ramp

primary
#C12FAA
secondary
#80CC8C
accent
#E45D44
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A12
muted
#837C81

Preview Lab

Preview with #C12FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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