#C523BF#C523BF

#C523BF is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.5% C 0.247 H 329.9°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#C523BF
RGBrgb(197, 35, 191)
HSLhsl(302, 70%, 45%)
HSVhsv(302, 82%, 77%)
CMYKcmyk(0%, 82.2%, 3%, 22.7%)
CIE-LABlab(48.05, 75.44, -44.67)
CIE-LCHlch(48.05, 87.67, 329.37°)
OKLaboklab(58.52% 0.2135 -0.1236)
OKLCHoklch(58.52% 0.247 329.9)
XYZxyz(33.0308, 16.8367, 50.7902)
Luminance0.1683 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C523BF #23C529
analogous
#7A23C5 #C523BF #C5236E
triadic
#C523BF #BFC523 #23BFC5
tetradic
#C523BF #C57A23 #23C529 #236EC5
square
#C523BF #C57A23 #23C529 #236EC5
split-complementary
#C523BF #6EC523 #23C57A
monochromatic
#5D115A #911A8D #C523BF #DE47D9 #E87BE4

Accessibility & contrast

On white

4.81
#C523BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#C523BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C523BF
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C523BF#FFFFFF#000000##FFFFFF
##C523BF1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#5979BB
Tritanopia (blue-blind)
#CC3E73
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c523bf;
/* rgb */ color: rgb(197, 35, 191);
/* oklch */ color: oklch(58.5% 0.247 329.9);
Tailwind
colors: {
  custom: {
    50: '#db74d3',
    500: '#c523bf',
    950: '#000000',
  },
}
SCSS
$custom: #c523bf;
$custom-light: #db74d3;
$custom-dark: #000000;
JSON
{
  "hex": "#c523bf",
  "rgb": {
    "r": 197,
    "g": 35,
    "b": 191
  },
  "hsl": {
    "h": 302.222,
    "s": 69.828,
    "l": 45.49
  },
  "oklch": {
    "l": 0.58517,
    "c": 0.24672,
    "h": 329.9
  },
  "luminance": 0.16834
}

Semantic roles & 50–950 ramp

primary
#C523BF
secondary
#74CF78
accent
#ED423B
background
#FEF7FD
surface
#FCEEFA
border
#D5C9D3
text
#160A14
muted
#847C83

Preview Lab

Preview with #C523BF

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

Preview Lab → · Contrast checker → · Palette generator →

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