#C123AD#C123AD

#C123AD is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.9% C 0.233 H 334.3°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#C123AD
RGBrgb(193, 35, 173)
HSLhsl(308, 69%, 45%)
HSVhsv(308, 82%, 76%)
CMYKcmyk(0%, 81.9%, 10.4%, 24.3%)
CIE-LABlab(46.39, 72.02, -36.79)
CIE-LCHlch(46.39, 80.87, 332.94°)
OKLaboklab(56.89% 0.2097 -0.1009)
OKLCHoklch(56.89% 0.233 334.3)
XYZxyz(30.1365, 15.5594, 40.9432)
Luminance0.1556 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C123AD #23C137
analogous
#8623C1 #C123AD #C1235E
triadic
#C123AD #ADC123 #23ADC1
tetradic
#C123AD #C18623 #23C137 #235EC1
square
#C123AD #C18623 #23C137 #235EC1
split-complementary
#C123AD #5EC123 #23C186
monochromatic
#591050 #8D1A7F #C123AD #DD44CA #E678D8

Accessibility & contrast

On white

5.11
#C123AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#C123AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C123AD
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C123AD#FFFFFF#000000##FFFFFF
##C123AD1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E60B0
Deuteranopia (green-blind)
#5F76A9
Tritanopia (blue-blind)
#CA3569
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c123ad;
/* rgb */ color: rgb(193, 35, 173);
/* oklch */ color: oklch(56.9% 0.233 334.3);
Tailwind
colors: {
  custom: {
    50: '#d873c6',
    500: '#c123ad',
    950: '#000000',
  },
}
SCSS
$custom: #c123ad;
$custom-light: #d873c6;
$custom-dark: #000000;
JSON
{
  "hex": "#c123ad",
  "rgb": {
    "r": 193,
    "g": 35,
    "b": 173
  },
  "hsl": {
    "h": 307.595,
    "s": 69.298,
    "l": 44.706
  },
  "oklch": {
    "l": 0.56892,
    "c": 0.23269,
    "h": 334.3
  },
  "luminance": 0.15557
}

Semantic roles & 50–950 ramp

primary
#C123AD
secondary
#72CE7D
accent
#EC523C
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #C123AD

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

Preview Lab → · Contrast checker → · Palette generator →

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