#C523C1#C523C1

#C523C1 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.6% C 0.248 H 329.3°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#C523C1
RGBrgb(197, 35, 193)
HSLhsl(301, 70%, 45%)
HSVhsv(301, 82%, 77%)
CMYKcmyk(0%, 82.2%, 2%, 22.7%)
CIE-LABlab(48.17, 75.74, -45.66)
CIE-LCHlch(48.17, 88.44, 328.92°)
OKLaboklab(58.63% 0.2134 -0.1265)
OKLCHoklch(58.63% 0.248 329.3)
XYZxyz(33.2524, 16.9253, 51.9573)
Luminance0.1692 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C523C1 #23C527
analogous
#7823C5 #C523C1 #C52370
triadic
#C523C1 #C1C523 #23C1C5
tetradic
#C523C1 #C57823 #23C527 #2370C5
square
#C523C1 #C57823 #23C527 #2370C5
split-complementary
#C523C1 #70C523 #23C578
monochromatic
#5D115B #911A8E #C523C1 #DE47DB #E87BE5

Accessibility & contrast

On white

4.79
#C523C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#C523C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C523C1
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C523C1#FFFFFF#000000##FFFFFF
##C523C11.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C5
Deuteranopia (green-blind)
#587ABD
Tritanopia (blue-blind)
#CC4075
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c523c1;
/* rgb */ color: rgb(197, 35, 193);
/* oklch */ color: oklch(58.6% 0.248 329.3);
Tailwind
colors: {
  custom: {
    50: '#db75d4',
    500: '#c523c1',
    950: '#000000',
  },
}
SCSS
$custom: #c523c1;
$custom-light: #db75d4;
$custom-dark: #000000;
JSON
{
  "hex": "#c523c1",
  "rgb": {
    "r": 197,
    "g": 35,
    "b": 193
  },
  "hsl": {
    "h": 301.481,
    "s": 69.828,
    "l": 45.49
  },
  "oklch": {
    "l": 0.58633,
    "c": 0.24809,
    "h": 329.3
  },
  "luminance": 0.16923
}

Semantic roles & 50–950 ramp

primary
#C523C1
secondary
#74CF77
accent
#ED403B
background
#FEF7FD
surface
#FCEEFA
border
#D5C9D3
text
#160A14
muted
#847C83

Preview Lab

Preview with #C523C1

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

Preview Lab → · Contrast checker → · Palette generator →

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