#C123AC#C123AC

#C123AC is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.8% C 0.232 H 334.6°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#C123AC
RGBrgb(193, 35, 172)
HSLhsl(308, 69%, 45%)
HSVhsv(308, 82%, 76%)
CMYKcmyk(0%, 81.9%, 10.9%, 24.3%)
CIE-LABlab(46.34, 71.88, -36.28)
CIE-LCHlch(46.34, 80.51, 333.22°)
OKLaboklab(56.84% 0.2096 -0.0994)
OKLCHoklch(56.84% 0.232 334.6)
XYZxyz(30.0401, 15.5209, 40.4355)
Luminance0.1552 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C123AC #23C138
analogous
#8723C1 #C123AC #C1235D
triadic
#C123AC #ACC123 #23ACC1
tetradic
#C123AC #C18723 #23C138 #235DC1
square
#C123AC #C18723 #23C138 #235DC1
split-complementary
#C123AC #5DC123 #23C187
monochromatic
#591050 #8D1A7E #C123AC #DD44C9 #E678D8

Accessibility & contrast

On white

5.12
#C123AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#C123AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C123AC
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C123AC#FFFFFF#000000##FFFFFF
##C123AC1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205FAF
Deuteranopia (green-blind)
#6076A8
Tritanopia (blue-blind)
#CB3468
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c123ac;
/* rgb */ color: rgb(193, 35, 172);
/* oklch */ color: oklch(56.8% 0.232 334.6);
Tailwind
colors: {
  custom: {
    50: '#d873c5',
    500: '#c123ac',
    950: '#000000',
  },
}
SCSS
$custom: #c123ac;
$custom-light: #d873c5;
$custom-dark: #000000;
JSON
{
  "hex": "#c123ac",
  "rgb": {
    "r": 193,
    "g": 35,
    "b": 172
  },
  "hsl": {
    "h": 307.975,
    "s": 69.298,
    "l": 44.706
  },
  "oklch": {
    "l": 0.56839,
    "c": 0.23202,
    "h": 334.6
  },
  "luminance": 0.15518
}

Semantic roles & 50–950 ramp

primary
#C123AC
secondary
#72CE7E
accent
#EC533C
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #C123AC

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

Preview Lab → · Contrast checker → · Palette generator →

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