#C23AC2#C23AC2

#C23AC2 is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.8% C 0.227 H 328.0°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#C23AC2
RGBrgb(194, 58, 194)
HSLhsl(300, 54%, 49%)
HSVhsv(300, 70%, 76%)
CMYKcmyk(0%, 70.1%, 0%, 23.9%)
CIE-LABlab(49.97, 68.83, -43.40)
CIE-LCHlch(49.97, 81.37, 327.77°)
OKLaboklab(59.84% 0.192 -0.1202)
OKLCHoklch(59.84% 0.227 328)
XYZxyz(33.4984, 18.3929, 52.8143)
Luminance0.1839 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C23AC2 #3AC23A
analogous
#7E3AC2 #C23AC2 #C23A7E
triadic
#C23AC2 #C2C23A #3AC2C2
tetradic
#C23AC2 #C27E3A #3AC23A #3A7EC2
square
#C23AC2 #C27E3A #3AC23A #3A7EC2
split-complementary
#C23AC2 #7EC23A #3AC27E
monochromatic
#641E64 #932C93 #C23AC2 #D267D2 #E097E0

Accessibility & contrast

On white

4.49
#C23AC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#C23AC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C23AC2
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C23AC2#FFFFFF#000000##000000
##C23AC21.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#226CC6
Deuteranopia (green-blind)
#5E7DBF
Tritanopia (blue-blind)
#C84E7A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c23ac2;
/* rgb */ color: rgb(194, 58, 194);
/* oklch */ color: oklch(59.8% 0.227 328.0);
Tailwind
colors: {
  custom: {
    50: '#d87dd5',
    500: '#c23ac2',
    950: '#000000',
  },
}
SCSS
$custom: #c23ac2;
$custom-light: #d87dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#c23ac2",
  "rgb": {
    "r": 194,
    "g": 58,
    "b": 194
  },
  "hsl": {
    "h": 300,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.59843,
    "c": 0.2265,
    "h": 328
  },
  "luminance": 0.1839
}

Semantic roles & 50–950 ramp

primary
#C23AC2
secondary
#8DCB8D
accent
#DD4A4A
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C23AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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