#C23CB1#C23CB1

#C23CB1 is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.1% C 0.211 H 333.5°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#C23CB1
RGBrgb(194, 60, 177)
HSLhsl(308, 53%, 50%)
HSVhsv(308, 69%, 76%)
CMYKcmyk(0%, 69.1%, 8.8%, 23.9%)
CIE-LABlab(49.35, 65.44, -34.48)
CIE-LCHlch(49.35, 73.96, 332.22°)
OKLaboklab(59.11% 0.1891 -0.0944)
OKLCHoklch(59.11% 0.211 333.5)
XYZxyz(31.8000, 17.8780, 43.3624)
Luminance0.1787 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C23CB1 #3CC24D
analogous
#903CC2 #C23CB1 #C23C6E
triadic
#C23CB1 #B1C23C #3CB1C2
tetradic
#C23CB1 #C2903C #3CC24D #3C6EC2
square
#C23CB1 #C2903C #3CC24D #3C6EC2
split-complementary
#C23CB1 #6EC23C #3CC290
monochromatic
#651F5C #932E86 #C23CB1 #D16AC4 #DF99D6

Accessibility & contrast

On white

4.59
#C23CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#C23CB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C23CB1
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C23CB1#FFFFFF#000000##FFFFFF
##C23CB11.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3869B4
Deuteranopia (green-blind)
#677CAE
Tritanopia (blue-blind)
#CB4872
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c23cb1;
/* rgb */ color: rgb(194, 60, 177);
/* oklch */ color: oklch(59.1% 0.211 333.5);
Tailwind
colors: {
  custom: {
    50: '#d87dc8',
    500: '#c23cb1',
    950: '#000000',
  },
}
SCSS
$custom: #c23cb1;
$custom-light: #d87dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#c23cb1",
  "rgb": {
    "r": 194,
    "g": 60,
    "b": 177
  },
  "hsl": {
    "h": 307.612,
    "s": 52.756,
    "l": 49.804
  },
  "oklch": {
    "l": 0.59113,
    "c": 0.21139,
    "h": 333.5
  },
  "luminance": 0.17875
}

Semantic roles & 50–950 ramp

primary
#C23CB1
secondary
#8FCB96
accent
#DC5E4C
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C23CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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