#C123B8#C123B8

#C123B8 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.5% C 0.240 H 330.9°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#C123B8
RGBrgb(193, 35, 184)
HSLhsl(303, 69%, 45%)
HSVhsv(303, 82%, 76%)
CMYKcmyk(0%, 81.9%, 4.7%, 24.3%)
CIE-LABlab(46.98, 73.62, -42.33)
CIE-LCHlch(46.98, 84.92, 330.10°)
OKLaboklab(57.5% 0.2097 -0.1169)
OKLCHoklch(57.5% 0.24 330.9)
XYZxyz(31.2451, 16.0028, 46.7814)
Luminance0.1600 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C123B8 #23C12C
analogous
#7B23C1 #C123B8 #C12369
triadic
#C123B8 #B8C123 #23B8C1
tetradic
#C123B8 #C17B23 #23C12C #2369C1
square
#C123B8 #C17B23 #23C12C #2369C1
split-complementary
#C123B8 #69C123 #23C17B
monochromatic
#591055 #8D1A87 #C123B8 #DD44D4 #E678E0

Accessibility & contrast

On white

5.00
#C123B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#C123B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C123B8
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C123B8#FFFFFF#000000##FFFFFF
##C123B81.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0262BC
Deuteranopia (green-blind)
#5A77B4
Tritanopia (blue-blind)
#C93C6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c123b8;
/* rgb */ color: rgb(193, 35, 184);
/* oklch */ color: oklch(57.5% 0.240 330.9);
Tailwind
colors: {
  custom: {
    50: '#d874ce',
    500: '#c123b8',
    950: '#000000',
  },
}
SCSS
$custom: #c123b8;
$custom-light: #d874ce;
$custom-dark: #000000;
JSON
{
  "hex": "#c123b8",
  "rgb": {
    "r": 193,
    "g": 35,
    "b": 184
  },
  "hsl": {
    "h": 303.418,
    "s": 69.298,
    "l": 44.706
  },
  "oklch": {
    "l": 0.575,
    "c": 0.24014,
    "h": 330.9
  },
  "luminance": 0.16
}

Semantic roles & 50–950 ramp

primary
#C123B8
secondary
#72CE77
accent
#EC463C
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150913
muted
#837B82

Preview Lab

Preview with #C123B8

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

Preview Lab → · Contrast checker → · Palette generator →

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