#C23CB2#C23CB2

#C23CB2 is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.2% C 0.212 H 333.1°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#C23CB2
RGBrgb(194, 60, 178)
HSLhsl(307, 53%, 50%)
HSVhsv(307, 69%, 76%)
CMYKcmyk(0%, 69.1%, 8.2%, 23.9%)
CIE-LABlab(49.40, 65.59, -34.99)
CIE-LCHlch(49.40, 74.34, 331.92°)
OKLaboklab(59.16% 0.1892 -0.0959)
OKLCHoklch(59.16% 0.212 333.1)
XYZxyz(31.9000, 17.9180, 43.8893)
Luminance0.1792 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C23CB2 #3CC24C
analogous
#8F3CC2 #C23CB2 #C23C6F
triadic
#C23CB2 #B2C23C #3CB2C2
tetradic
#C23CB2 #C28F3C #3CC24C #3C6FC2
square
#C23CB2 #C28F3C #3CC24C #3C6FC2
split-complementary
#C23CB2 #6FC23C #3CC28F
monochromatic
#651F5C #932E87 #C23CB2 #D16AC5 #DF99D7

Accessibility & contrast

On white

4.58
#C23CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#000000 on #C23CB2
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C23CB2#FFFFFF#000000##000000
##C23CB21.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3769B5
Deuteranopia (green-blind)
#677CAF
Tritanopia (blue-blind)
#CB4872
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c23cb2;
/* rgb */ color: rgb(194, 60, 178);
/* oklch */ color: oklch(59.2% 0.212 333.1);
Tailwind
colors: {
  custom: {
    50: '#d87dc9',
    500: '#c23cb2',
    950: '#000000',
  },
}
SCSS
$custom: #c23cb2;
$custom-light: #d87dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#c23cb2",
  "rgb": {
    "r": 194,
    "g": 60,
    "b": 178
  },
  "hsl": {
    "h": 307.164,
    "s": 52.756,
    "l": 49.804
  },
  "oklch": {
    "l": 0.59164,
    "c": 0.21213,
    "h": 333.1
  },
  "luminance": 0.17915
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C23CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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