#C531C5#C531C5

#C531C5 is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.7% C 0.239 H 328.1°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#C531C5
RGBrgb(197, 49, 197)
HSLhsl(300, 60%, 48%)
HSVhsv(300, 75%, 77%)
CMYKcmyk(0%, 75.1%, 0%, 22.7%)
CIE-LABlab(49.62, 72.80, -45.67)
CIE-LCHlch(49.62, 85.94, 327.90°)
OKLaboklab(59.74% 0.2032 -0.1266)
OKLCHoklch(59.74% 0.239 328.1)
XYZxyz(34.2019, 18.1007, 54.5049)
Luminance0.1810 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C531C5 #31C531
analogous
#7B31C5 #C531C5 #C5317B
triadic
#C531C5 #C5C531 #31C5C5
tetradic
#C531C5 #C57B31 #31C531 #317BC5
square
#C531C5 #C57B31 #31C531 #317BC5
split-complementary
#C531C5 #7BC531 #31C57B
monochromatic
#631963 #942594 #C531C5 #D75DD7 #E38EE3

Accessibility & contrast

On white

4.55
#C531C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#C531C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C531C5
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C531C5#FFFFFF#000000##000000
##C531C51.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A6AC9
Deuteranopia (green-blind)
#5B7DC1
Tritanopia (blue-blind)
#CB497A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c531c5;
/* rgb */ color: rgb(197, 49, 197);
/* oklch */ color: oklch(59.7% 0.239 328.1);
Tailwind
colors: {
  custom: {
    50: '#db79d7',
    500: '#c531c5',
    950: '#000000',
  },
}
SCSS
$custom: #c531c5;
$custom-light: #db79d7;
$custom-dark: #000000;
JSON
{
  "hex": "#c531c5",
  "rgb": {
    "r": 197,
    "g": 49,
    "b": 197
  },
  "hsl": {
    "h": 300,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.59737,
    "c": 0.2394,
    "h": 328.1
  },
  "luminance": 0.18098
}

Semantic roles & 50–950 ramp

primary
#C531C5
secondary
#85CD85
accent
#E34444
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #C531C5

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

Preview Lab → · Contrast checker → · Palette generator →

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