#C030C1#C030C1

#C030C1 is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.7% C 0.235 H 327.8°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#C030C1
RGBrgb(192, 48, 193)
HSLhsl(300, 60%, 47%)
HSVhsv(300, 75%, 76%)
CMYKcmyk(0.5%, 75.1%, 0%, 24.3%)
CIE-LABlab(48.48, 71.43, -45.21)
CIE-LCHlch(48.48, 84.54, 327.67°)
OKLaboklab(58.7% 0.1989 -0.1254)
OKLCHoklch(58.7% 0.235 327.8)
XYZxyz(32.4204, 17.1730, 52.0489)
Luminance0.1717 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C030C1 #31C130
analogous
#7730C1 #C030C1 #C1307A
triadic
#C030C1 #C1C030 #30C1C0
tetradic
#C030C1 #C17730 #31C130 #307AC1
square
#C030C1 #C17730 #31C130 #307AC1
split-complementary
#C030C1 #7AC130 #30C177
monochromatic
#5E185F #8F2490 #C030C1 #D559D6 #E18AE2

Accessibility & contrast

On white

4.74
#C030C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#C030C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C030C1
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C030C1#FFFFFF#000000##FFFFFF
##C030C11.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0767C5
Deuteranopia (green-blind)
#5879BD
Tritanopia (blue-blind)
#C64877
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c030c1;
/* rgb */ color: rgb(192, 48, 193);
/* oklch */ color: oklch(58.7% 0.235 327.8);
Tailwind
colors: {
  custom: {
    50: '#d778d4',
    500: '#c030c1',
    950: '#000000',
  },
}
SCSS
$custom: #c030c1;
$custom-light: #d778d4;
$custom-dark: #000000;
JSON
{
  "hex": "#c030c1",
  "rgb": {
    "r": 192,
    "g": 48,
    "b": 193
  },
  "hsl": {
    "h": 299.586,
    "s": 60.166,
    "l": 47.255
  },
  "oklch": {
    "l": 0.58696,
    "c": 0.23513,
    "h": 327.8
  },
  "luminance": 0.17171
}

Semantic roles & 50–950 ramp

primary
#C030C1
secondary
#82CC81
accent
#E34446
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #C030C1

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

Preview Lab → · Contrast checker → · Palette generator →

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