#C530C2#C530C2

#C530C2 is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.5% C 0.238 H 329.0°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#C530C2
RGBrgb(197, 48, 194)
HSLhsl(301, 61%, 48%)
HSVhsv(301, 76%, 77%)
CMYKcmyk(0%, 75.6%, 1.5%, 22.7%)
CIE-LABlab(49.35, 72.62, -44.35)
CIE-LCHlch(49.35, 85.09, 328.59°)
OKLaboklab(59.5% 0.2041 -0.1228)
OKLCHoklch(59.5% 0.238 329)
XYZxyz(33.8202, 17.8818, 52.6987)
Luminance0.1788 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C530C2 #30C533
analogous
#7D30C5 #C530C2 #C53077
triadic
#C530C2 #C2C530 #30C2C5
tetradic
#C530C2 #C57D30 #30C533 #3077C5
square
#C530C2 #C57D30 #30C533 #3077C5
split-complementary
#C530C2 #77C530 #30C57D
monochromatic
#631861 #942492 #C530C2 #D75BD5 #E38CE1

Accessibility & contrast

On white

4.59
#C530C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#C530C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C530C2
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C530C2#FFFFFF#000000##FFFFFF
##C530C21.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1169C6
Deuteranopia (green-blind)
#5C7CBE
Tritanopia (blue-blind)
#CC4778
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c530c2;
/* rgb */ color: rgb(197, 48, 194);
/* oklch */ color: oklch(59.5% 0.238 329.0);
Tailwind
colors: {
  custom: {
    50: '#db79d5',
    500: '#c530c2',
    950: '#000000',
  },
}
SCSS
$custom: #c530c2;
$custom-light: #db79d5;
$custom-dark: #000000;
JSON
{
  "hex": "#c530c2",
  "rgb": {
    "r": 197,
    "g": 48,
    "b": 194
  },
  "hsl": {
    "h": 301.208,
    "s": 60.816,
    "l": 48.039
  },
  "oklch": {
    "l": 0.59495,
    "c": 0.23815,
    "h": 329
  },
  "luminance": 0.17879
}

Semantic roles & 50–950 ramp

primary
#C530C2
secondary
#84CD85
accent
#E44744
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #C530C2

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

Preview Lab → · Contrast checker → · Palette generator →

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