#C123BF#C123BF

#C123BF is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.9% C 0.245 H 328.8°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#C123BF
RGBrgb(193, 35, 191)
HSLhsl(301, 69%, 45%)
HSVhsv(301, 82%, 76%)
CMYKcmyk(0%, 81.9%, 1%, 24.3%)
CIE-LABlab(47.37, 74.68, -45.80)
CIE-LCHlch(47.37, 87.60, 328.48°)
OKLaboklab(57.9% 0.2095 -0.127)
OKLCHoklch(57.9% 0.245 328.8)
XYZxyz(31.9970, 16.3036, 50.7418)
Luminance0.1630 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C123BF #23C125
analogous
#7423C1 #C123BF #C12370
triadic
#C123BF #BFC123 #23BFC1
tetradic
#C123BF #C17423 #23C125 #2370C1
square
#C123BF #C17423 #23C125 #2370C1
split-complementary
#C123BF #70C123 #23C174
monochromatic
#591058 #8D1A8C #C123BF #DD44DB #E678E5

Accessibility & contrast

On white

4.93
#C123BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#C123BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C123BF
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C123BF#FFFFFF#000000##FFFFFF
##C123BF1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#5577BB
Tritanopia (blue-blind)
#C84073
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c123bf;
/* rgb */ color: rgb(193, 35, 191);
/* oklch */ color: oklch(57.9% 0.245 328.8);
Tailwind
colors: {
  custom: {
    50: '#d874d3',
    500: '#c123bf',
    950: '#000000',
  },
}
SCSS
$custom: #c123bf;
$custom-light: #d874d3;
$custom-dark: #000000;
JSON
{
  "hex": "#c123bf",
  "rgb": {
    "r": 193,
    "g": 35,
    "b": 191
  },
  "hsl": {
    "h": 300.759,
    "s": 69.298,
    "l": 44.706
  },
  "oklch": {
    "l": 0.57904,
    "c": 0.24501,
    "h": 328.8
  },
  "luminance": 0.16301
}

Semantic roles & 50–950 ramp

primary
#C123BF
secondary
#72CE73
accent
#EC3E3C
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #C123BF

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

Preview Lab → · Contrast checker → · Palette generator →

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