#C523C2#C523C2

#C523C2 is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.7% C 0.249 H 329.1°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#C523C2
RGBrgb(197, 35, 194)
HSLhsl(301, 70%, 45%)
HSVhsv(301, 82%, 77%)
CMYKcmyk(0%, 82.2%, 1.5%, 22.7%)
CIE-LABlab(48.22, 75.89, -46.15)
CIE-LCHlch(48.22, 88.82, 328.70°)
OKLaboklab(58.69% 0.2134 -0.1279)
OKLCHoklch(58.69% 0.249 329.1)
XYZxyz(33.3643, 16.9701, 52.5468)
Luminance0.1697 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C523C2 #23C526
analogous
#7723C5 #C523C2 #C52371
triadic
#C523C2 #C2C523 #23C2C5
tetradic
#C523C2 #C57723 #23C526 #2371C5
square
#C523C2 #C57723 #23C526 #2371C5
split-complementary
#C523C2 #71C523 #23C577
monochromatic
#5D115C #911A8F #C523C2 #DE47DB #E87BE6

Accessibility & contrast

On white

4.78
#C523C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#C523C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C523C2
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C523C2#FFFFFF#000000##FFFFFF
##C523C21.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c523c2;
/* rgb */ color: rgb(197, 35, 194);
/* oklch */ color: oklch(58.7% 0.249 329.1);
Tailwind
colors: {
  custom: {
    50: '#db75d5',
    500: '#c523c2',
    950: '#000000',
  },
}
SCSS
$custom: #c523c2;
$custom-light: #db75d5;
$custom-dark: #000000;
JSON
{
  "hex": "#c523c2",
  "rgb": {
    "r": 197,
    "g": 35,
    "b": 194
  },
  "hsl": {
    "h": 301.111,
    "s": 69.828,
    "l": 45.49
  },
  "oklch": {
    "l": 0.58691,
    "c": 0.24879,
    "h": 329.1
  },
  "luminance": 0.16967
}

Semantic roles & 50–950 ramp

primary
#C523C2
secondary
#74CF76
accent
#ED3E3B
background
#FEF7FD
surface
#FCEEFA
border
#D5C9D3
text
#160A14
muted
#847C83

Preview Lab

Preview with #C523C2

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

Preview Lab → · Contrast checker → · Palette generator →

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