#C23FC2#C23FC2

#C23FC2 is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.3% C 0.221 H 327.9°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#C23FC2
RGBrgb(194, 63, 194)
HSLhsl(300, 52%, 50%)
HSVhsv(300, 68%, 76%)
CMYKcmyk(0%, 67.5%, 0%, 23.9%)
CIE-LABlab(50.60, 67.06, -42.41)
CIE-LCHlch(50.60, 79.34, 327.69°)
OKLaboklab(60.29% 0.187 -0.1173)
OKLCHoklch(60.29% 0.221 327.9)
XYZxyz(33.7628, 18.9217, 52.9024)
Luminance0.1892 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C23FC2 #3FC23F
analogous
#803FC2 #C23FC2 #C23F80
triadic
#C23FC2 #C2C23F #3FC2C2
tetradic
#C23FC2 #C2803F #3FC23F #3F80C2
square
#C23FC2 #C2803F #3FC23F #3F80C2
split-complementary
#C23FC2 #80C23F #3FC280
monochromatic
#662066 #952F95 #C23FC2 #D16DD1 #E09CE0

Accessibility & contrast

On white

4.39
#C23FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#C23FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C23FC2
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C23FC2#FFFFFF#000000##000000
##C23FC21.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B6DC6
Deuteranopia (green-blind)
#607EBF
Tritanopia (blue-blind)
#C8527C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c23fc2;
/* rgb */ color: rgb(194, 63, 194);
/* oklch */ color: oklch(60.3% 0.221 327.9);
Tailwind
colors: {
  custom: {
    50: '#d87fd5',
    500: '#c23fc2',
    950: '#000000',
  },
}
SCSS
$custom: #c23fc2;
$custom-light: #d87fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#c23fc2",
  "rgb": {
    "r": 194,
    "g": 63,
    "b": 194
  },
  "hsl": {
    "h": 300,
    "s": 51.779,
    "l": 50.392
  },
  "oklch": {
    "l": 0.60293,
    "c": 0.22074,
    "h": 327.9
  },
  "luminance": 0.18919
}

Semantic roles & 50–950 ramp

primary
#C23FC2
secondary
#91CC91
accent
#DB4D4D
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C23FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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