#C23CC8#C23CC8

#C23CC8 is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.4% C 0.229 H 326.1°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#C23CC8
RGBrgb(194, 60, 200)
HSLhsl(297, 56%, 51%)
HSVhsv(297, 70%, 78%)
CMYKcmyk(3%, 70%, 0%, 21.6%)
CIE-LABlab(50.54, 69.13, -45.96)
CIE-LCHlch(50.54, 83.02, 326.38°)
OKLaboklab(60.36% 0.1901 -0.1276)
OKLCHoklch(60.36% 0.229 326.1)
XYZxyz(34.2886, 18.8735, 56.4693)
Luminance0.1887 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C23CC8 #42C83C
analogous
#7C3CC8 #C23CC8 #C83C88
triadic
#C23CC8 #C8C23C #3CC8C2
tetradic
#C23CC8 #C87C3C #42C83C #3C88C8
square
#C23CC8 #C87C3C #42C83C #3C88C8
split-complementary
#C23CC8 #88C83C #3CC87C
monochromatic
#681E6B #962C9B #C23CC8 #D16CD5 #E09BE3

Accessibility & contrast

On white

4.40
#C23CC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#C23CC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C23CC8
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C23CC8#FFFFFF#000000##000000
##C23CC81.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c23cc8;
/* rgb */ color: rgb(194, 60, 200);
/* oklch */ color: oklch(60.4% 0.229 326.1);
Tailwind
colors: {
  custom: {
    50: '#d87ed9',
    500: '#c23cc8',
    950: '#000000',
  },
}
SCSS
$custom: #c23cc8;
$custom-light: #d87ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#c23cc8",
  "rgb": {
    "r": 194,
    "g": 60,
    "b": 200
  },
  "hsl": {
    "h": 297.429,
    "s": 56,
    "l": 50.98
  },
  "oklch": {
    "l": 0.60356,
    "c": 0.22894,
    "h": 326.1
  },
  "luminance": 0.18871
}

Semantic roles & 50–950 ramp

primary
#C23CC8
secondary
#94CF91
accent
#DF494F
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B15
muted
#837C83

Preview Lab

Preview with #C23CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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