#C123D4#C123D4

#C123D4 is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 59.2% C 0.260 H 323.0°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#C123D4
RGBrgb(193, 35, 212)
HSLhsl(294, 72%, 48%)
HSVhsv(294, 83%, 83%)
CMYKcmyk(9%, 83.5%, 0%, 16.9%)
CIE-LABlab(48.63, 78.01, -55.93)
CIE-LCHlch(48.63, 95.98, 324.36°)
OKLaboklab(59.2% 0.2076 -0.1566)
OKLCHoklch(59.2% 0.26 323)
XYZxyz(34.4759, 17.2951, 63.7970)
Luminance0.1729 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C123D4 #36D423
analogous
#6823D4 #C123D4 #D4238E
triadic
#C123D4 #D4C123 #23D4C1
tetradic
#C123D4 #D46823 #36D423 #238ED4
square
#C123D4 #D46823 #36D423 #238ED4
split-complementary
#C123D4 #8ED423 #23D468
monochromatic
#61126B #911A9F #C123D4 #D352E2 #E086EB

Accessibility & contrast

On white

4.71
#C123D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#C123D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C123D4
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C123D4#FFFFFF#000000##FFFFFF
##C123D41.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D8
Deuteranopia (green-blind)
#4579D0
Tritanopia (blue-blind)
#C44B80
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c123d4;
/* rgb */ color: rgb(193, 35, 212);
/* oklch */ color: oklch(59.2% 0.260 323.0);
Tailwind
colors: {
  custom: {
    50: '#d875e2',
    500: '#c123d4',
    950: '#000000',
  },
}
SCSS
$custom: #c123d4;
$custom-light: #d875e2;
$custom-dark: #000000;
JSON
{
  "hex": "#c123d4",
  "rgb": {
    "r": 193,
    "g": 35,
    "b": 212
  },
  "hsl": {
    "h": 293.559,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.59196,
    "c": 0.26007,
    "h": 323
  },
  "luminance": 0.17293
}

Semantic roles & 50–950 ramp

primary
#C123D4
secondary
#88D47E
accent
#EE394D
background
#FDF7FD
surface
#FBEEFB
border
#D4C9D4
text
#150A15
muted
#837C83

Preview Lab

Preview with #C123D4

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

Preview Lab → · Contrast checker → · Palette generator →

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