#C23AC7#C23AC7

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

Color values

HEX#C23AC7
RGBrgb(194, 58, 199)
HSLhsl(298, 56%, 50%)
HSVhsv(298, 71%, 78%)
CMYKcmyk(2.5%, 70.9%, 0%, 22%)
CIE-LABlab(50.24, 69.66, -45.86)
CIE-LCHlch(50.24, 83.40, 326.64°)
OKLaboklab(60.12% 0.192 -0.1273)
OKLCHoklch(60.12% 0.23 326.4)
XYZxyz(34.0694, 18.6213, 55.8216)
Luminance0.1862 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C23AC7 #3FC73A
analogous
#7B3AC7 #C23AC7 #C73A86
triadic
#C23AC7 #C7C23A #3AC7C2
tetradic
#C23AC7 #C77B3A #3FC73A #3A86C7
square
#C23AC7 #C77B3A #3FC73A #3A86C7
split-complementary
#C23AC7 #86C73A #3AC77B
monochromatic
#661E69 #952B98 #C23AC7 #D16AD5 #E099E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C23AC7#FFFFFF#000000##000000
##C23AC71.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)
#196DCB
Deuteranopia (green-blind)
#5B7DC3
Tritanopia (blue-blind)
#C7517D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c23ac7;
/* rgb */ color: rgb(194, 58, 199);
/* oklch */ color: oklch(60.1% 0.230 326.4);
Tailwind
colors: {
  custom: {
    50: '#d87dd8',
    500: '#c23ac7',
    950: '#000000',
  },
}
SCSS
$custom: #c23ac7;
$custom-light: #d87dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#c23ac7",
  "rgb": {
    "r": 194,
    "g": 58,
    "b": 199
  },
  "hsl": {
    "h": 297.872,
    "s": 55.731,
    "l": 50.392
  },
  "oklch": {
    "l": 0.60125,
    "c": 0.23037,
    "h": 326.4
  },
  "luminance": 0.18619
}

Semantic roles & 50–950 ramp

primary
#C23AC7
secondary
#91CE8F
accent
#DF494E
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C23AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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