#C23CC2#C23CC2

#C23CC2 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 60.0% C 0.224 H 327.9°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#C23CC2
RGBrgb(194, 60, 194)
HSLhsl(300, 53%, 50%)
HSVhsv(300, 69%, 76%)
CMYKcmyk(0%, 69.1%, 0%, 23.9%)
CIE-LABlab(50.21, 68.14, -43.01)
CIE-LCHlch(50.21, 80.58, 327.74°)
OKLaboklab(60.02% 0.19 -0.1191)
OKLCHoklch(60.02% 0.224 327.9)
XYZxyz(33.6012, 18.5985, 52.8486)
Luminance0.1860 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C23CC2 #3CC23C
analogous
#7F3CC2 #C23CC2 #C23C7F
triadic
#C23CC2 #C2C23C #3CC2C2
tetradic
#C23CC2 #C27F3C #3CC23C #3C7FC2
square
#C23CC2 #C27F3C #3CC23C #3C7FC2
split-complementary
#C23CC2 #7FC23C #3CC27F
monochromatic
#651F65 #932E93 #C23CC2 #D16AD1 #DF99DF

Accessibility & contrast

On white

4.45
#C23CC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#C23CC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C23CC2
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C23CC2#FFFFFF#000000##000000
##C23CC21.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#266CC6
Deuteranopia (green-blind)
#5F7EBF
Tritanopia (blue-blind)
#C8507B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c23cc2;
/* rgb */ color: rgb(194, 60, 194);
/* oklch */ color: oklch(60.0% 0.224 327.9);
Tailwind
colors: {
  custom: {
    50: '#d87ed5',
    500: '#c23cc2',
    950: '#000000',
  },
}
SCSS
$custom: #c23cc2;
$custom-light: #d87ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#c23cc2",
  "rgb": {
    "r": 194,
    "g": 60,
    "b": 194
  },
  "hsl": {
    "h": 300,
    "s": 52.756,
    "l": 49.804
  },
  "oklch": {
    "l": 0.60018,
    "c": 0.22424,
    "h": 327.9
  },
  "luminance": 0.18596
}

Semantic roles & 50–950 ramp

primary
#C23CC2
secondary
#8FCB8F
accent
#DC4C4C
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C23CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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