#C030C5#C030C5

#C030C5 is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.9% C 0.238 H 326.6°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#C030C5
RGBrgb(192, 48, 197)
HSLhsl(298, 61%, 48%)
HSVhsv(298, 76%, 77%)
CMYKcmyk(2.5%, 75.6%, 0%, 22.7%)
CIE-LABlab(48.70, 72.08, -47.17)
CIE-LCHlch(48.70, 86.14, 326.80°)
OKLaboklab(58.93% 0.1988 -0.1311)
OKLCHoklch(58.93% 0.238 326.6)
XYZxyz(32.8726, 17.3539, 54.4307)
Luminance0.1735 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C030C5 #35C530
analogous
#7630C5 #C030C5 #C5307F
triadic
#C030C5 #C5C030 #30C5C0
tetradic
#C030C5 #C57630 #35C530 #307FC5
square
#C030C5 #C57630 #35C530 #307FC5
split-complementary
#C030C5 #7FC530 #30C576
monochromatic
#601863 #902494 #C030C5 #D35BD7 #E08CE3

Accessibility & contrast

On white

4.70
#C030C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#C030C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C030C5
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C030C5#FFFFFF#000000##FFFFFF
##C030C51.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068C9
Deuteranopia (green-blind)
#557AC1
Tritanopia (blue-blind)
#C54A79
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c030c5;
/* rgb */ color: rgb(192, 48, 197);
/* oklch */ color: oklch(58.9% 0.238 326.6);
Tailwind
colors: {
  custom: {
    50: '#d778d7',
    500: '#c030c5',
    950: '#000000',
  },
}
SCSS
$custom: #c030c5;
$custom-light: #d778d7;
$custom-dark: #000000;
JSON
{
  "hex": "#c030c5",
  "rgb": {
    "r": 192,
    "g": 48,
    "b": 197
  },
  "hsl": {
    "h": 297.987,
    "s": 60.816,
    "l": 48.039
  },
  "oklch": {
    "l": 0.58929,
    "c": 0.23812,
    "h": 326.6
  },
  "luminance": 0.17352
}

Semantic roles & 50–950 ramp

primary
#C030C5
secondary
#86CD84
accent
#E44449
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #C030C5

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

Preview Lab → · Contrast checker → · Palette generator →

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