#C23CC7#C23CC7

#C23CC7 is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 60.3% C 0.228 H 326.4°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#C23CC7
RGBrgb(194, 60, 199)
HSLhsl(298, 55%, 51%)
HSVhsv(298, 70%, 78%)
CMYKcmyk(2.5%, 69.8%, 0%, 22%)
CIE-LABlab(50.48, 68.97, -45.48)
CIE-LCHlch(50.48, 82.61, 326.60°)
OKLaboklab(60.3% 0.1901 -0.1262)
OKLCHoklch(60.3% 0.228 326.4)
XYZxyz(34.1722, 18.8269, 55.8558)
Luminance0.1883 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C23CC7 #41C73C
analogous
#7C3CC7 #C23CC7 #C73C86
triadic
#C23CC7 #C7C23C #3CC7C2
tetradic
#C23CC7 #C77C3C #41C73C #3C86C7
square
#C23CC7 #C77C3C #41C73C #3C86C7
split-complementary
#C23CC7 #86C73C #3CC77C
monochromatic
#671E6A #962C9A #C23CC7 #D16CD5 #E09BE2

Accessibility & contrast

On white

4.41
#C23CC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#C23CC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C23CC7
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C23CC7#FFFFFF#000000##000000
##C23CC71.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E6DCB
Deuteranopia (green-blind)
#5C7EC4
Tritanopia (blue-blind)
#C7527E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c23cc7;
/* rgb */ color: rgb(194, 60, 199);
/* oklch */ color: oklch(60.3% 0.228 326.4);
Tailwind
colors: {
  custom: {
    50: '#d87ed8',
    500: '#c23cc7',
    950: '#000000',
  },
}
SCSS
$custom: #c23cc7;
$custom-light: #d87ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#c23cc7",
  "rgb": {
    "r": 194,
    "g": 60,
    "b": 199
  },
  "hsl": {
    "h": 297.842,
    "s": 55.378,
    "l": 50.784
  },
  "oklch": {
    "l": 0.60299,
    "c": 0.22815,
    "h": 326.4
  },
  "luminance": 0.18825
}

Semantic roles & 50–950 ramp

primary
#C23CC7
secondary
#93CE91
accent
#DF494E
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C23CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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