#C23BAC#C23BAC

#C23BAC is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 58.8% C 0.209 H 335.2°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#C23BAC
RGBrgb(194, 59, 172)
HSLhsl(310, 53%, 50%)
HSVhsv(310, 70%, 76%)
CMYKcmyk(0%, 69.6%, 11.3%, 23.9%)
CIE-LABlab(48.98, 65.04, -32.12)
CIE-LCHlch(48.98, 72.54, 333.72°)
OKLaboklab(58.77% 0.1897 -0.0876)
OKLCHoklch(58.77% 0.209 335.2)
XYZxyz(31.2589, 17.5785, 40.7684)
Luminance0.1758 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C23BAC #3BC251
analogous
#953BC2 #C23BAC #C23B68
triadic
#C23BAC #ACC23B #3BACC2
tetradic
#C23BAC #C2953B #3BC251 #3B68C2
square
#C23BAC #C2953B #3BC251 #3B68C2
split-complementary
#C23BAC #68C23B #3BC295
monochromatic
#641E59 #932D82 #C23BAC #D169C0 #E098D4

Accessibility & contrast

On white

4.65
#C23BAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#C23BAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C23BAC
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C23BAC#FFFFFF#000000##FFFFFF
##C23BAC1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B68AF
Deuteranopia (green-blind)
#697CA9
Tritanopia (blue-blind)
#CB456F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c23bac;
/* rgb */ color: rgb(194, 59, 172);
/* oklch */ color: oklch(58.8% 0.209 335.2);
Tailwind
colors: {
  custom: {
    50: '#d87cc5',
    500: '#c23bac',
    950: '#000000',
  },
}
SCSS
$custom: #c23bac;
$custom-light: #d87cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#c23bac",
  "rgb": {
    "r": 194,
    "g": 59,
    "b": 172
  },
  "hsl": {
    "h": 309.778,
    "s": 53.36,
    "l": 49.608
  },
  "oklch": {
    "l": 0.5877,
    "c": 0.20898,
    "h": 335.2
  },
  "luminance": 0.17576
}

Semantic roles & 50–950 ramp

primary
#C23BAC
secondary
#8ECB98
accent
#DD634B
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C23BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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