#C123B9#C123B9

#C123B9 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.6% C 0.241 H 330.6°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#C123B9
RGBrgb(193, 35, 185)
HSLhsl(303, 69%, 45%)
HSVhsv(303, 82%, 76%)
CMYKcmyk(0%, 81.9%, 4.1%, 24.3%)
CIE-LABlab(47.03, 73.77, -42.83)
CIE-LCHlch(47.03, 85.30, 329.86°)
OKLaboklab(57.56% 0.2097 -0.1184)
OKLCHoklch(57.56% 0.241 330.6)
XYZxyz(31.3502, 16.0449, 47.3354)
Luminance0.1604 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C123B9 #23C12B
analogous
#7A23C1 #C123B9 #C1236A
triadic
#C123B9 #B9C123 #23B9C1
tetradic
#C123B9 #C17A23 #23C12B #236AC1
square
#C123B9 #C17A23 #23C12B #236AC1
split-complementary
#C123B9 #6AC123 #23C17A
monochromatic
#591056 #8D1A87 #C123B9 #DD44D5 #E678E1

Accessibility & contrast

On white

4.99
#C123B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#C123B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C123B9
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C123B9#FFFFFF#000000##FFFFFF
##C123B91.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BD
Deuteranopia (green-blind)
#5977B5
Tritanopia (blue-blind)
#C93C70
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c123b9;
/* rgb */ color: rgb(193, 35, 185);
/* oklch */ color: oklch(57.6% 0.241 330.6);
Tailwind
colors: {
  custom: {
    50: '#d874ce',
    500: '#c123b9',
    950: '#000000',
  },
}
SCSS
$custom: #c123b9;
$custom-light: #d874ce;
$custom-dark: #000000;
JSON
{
  "hex": "#c123b9",
  "rgb": {
    "r": 193,
    "g": 35,
    "b": 185
  },
  "hsl": {
    "h": 303.038,
    "s": 69.298,
    "l": 44.706
  },
  "oklch": {
    "l": 0.57557,
    "c": 0.24083,
    "h": 330.6
  },
  "luminance": 0.16042
}

Semantic roles & 50–950 ramp

primary
#C123B9
secondary
#72CE76
accent
#EC453C
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150914
muted
#837B82

Preview Lab

Preview with #C123B9

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

Preview Lab → · Contrast checker → · Palette generator →

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