#C23AAF#C23AAF

#C23AAF is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 58.8% C 0.212 H 334.1°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#C23AAF
RGBrgb(194, 58, 175)
HSLhsl(308, 54%, 49%)
HSVhsv(308, 70%, 76%)
CMYKcmyk(0%, 70.1%, 9.8%, 23.9%)
CIE-LABlab(49.00, 65.84, -33.85)
CIE-LCHlch(49.00, 74.04, 332.79°)
OKLaboklab(58.83% 0.1911 -0.0926)
OKLCHoklch(58.83% 0.212 334.1)
XYZxyz(31.4993, 17.5933, 42.2860)
Luminance0.1759 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C23AAF #3AC24D
analogous
#913AC2 #C23AAF #C23A6B
triadic
#C23AAF #AFC23A #3AAFC2
tetradic
#C23AAF #C2913A #3AC24D #3A6BC2
square
#C23AAF #C2913A #3AC24D #3A6BC2
split-complementary
#C23AAF #6BC23A #3AC291
monochromatic
#641E5A #932C85 #C23AAF #D267C3 #E097D6

Accessibility & contrast

On white

4.65
#C23AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#C23AAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C23AAF
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C23AAF#FFFFFF#000000##FFFFFF
##C23AAF1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3768B2
Deuteranopia (green-blind)
#677CAC
Tritanopia (blue-blind)
#CB4570
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c23aaf;
/* rgb */ color: rgb(194, 58, 175);
/* oklch */ color: oklch(58.8% 0.212 334.1);
Tailwind
colors: {
  custom: {
    50: '#d87cc7',
    500: '#c23aaf',
    950: '#000000',
  },
}
SCSS
$custom: #c23aaf;
$custom-light: #d87cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#c23aaf",
  "rgb": {
    "r": 194,
    "g": 58,
    "b": 175
  },
  "hsl": {
    "h": 308.382,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.5883,
    "c": 0.2123,
    "h": 334.1
  },
  "luminance": 0.17591
}

Semantic roles & 50–950 ramp

primary
#C23AAF
secondary
#8DCB95
accent
#DD5F4A
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C23AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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