#C123BD#C123BD

#C123BD is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.8% C 0.244 H 329.4°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#C123BD
RGBrgb(193, 35, 189)
HSLhsl(302, 69%, 45%)
HSVhsv(302, 82%, 76%)
CMYKcmyk(0%, 81.9%, 2.1%, 24.3%)
CIE-LABlab(47.26, 74.37, -44.81)
CIE-LCHlch(47.26, 86.83, 328.93°)
OKLaboklab(57.79% 0.2096 -0.1241)
OKLCHoklch(57.79% 0.244 329.4)
XYZxyz(31.7784, 16.2162, 49.5906)
Luminance0.1621 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C123BD #23C127
analogous
#7623C1 #C123BD #C1236E
triadic
#C123BD #BDC123 #23BDC1
tetradic
#C123BD #C17623 #23C127 #236EC1
square
#C123BD #C17623 #23C127 #236EC1
split-complementary
#C123BD #6EC123 #23C176
monochromatic
#591058 #8D1A8A #C123BD #DD44D9 #E678E4

Accessibility & contrast

On white

4.95
#C123BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#C123BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C123BD
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C123BD#FFFFFF#000000##FFFFFF
##C123BD1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#5777B9
Tritanopia (blue-blind)
#C83F72
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c123bd;
/* rgb */ color: rgb(193, 35, 189);
/* oklch */ color: oklch(57.8% 0.244 329.4);
Tailwind
colors: {
  custom: {
    50: '#d874d1',
    500: '#c123bd',
    950: '#000000',
  },
}
SCSS
$custom: #c123bd;
$custom-light: #d874d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c123bd",
  "rgb": {
    "r": 193,
    "g": 35,
    "b": 189
  },
  "hsl": {
    "h": 301.519,
    "s": 69.298,
    "l": 44.706
  },
  "oklch": {
    "l": 0.57787,
    "c": 0.24361,
    "h": 329.4
  },
  "luminance": 0.16214
}

Semantic roles & 50–950 ramp

primary
#C123BD
secondary
#72CE74
accent
#EC403C
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150914
muted
#837B82

Preview Lab

Preview with #C123BD

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

Preview Lab → · Contrast checker → · Palette generator →

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