#C030B5#C030B5

#C030B5 is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 58.0% C 0.226 H 331.5°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#C030B5
RGBrgb(192, 48, 181)
HSLhsl(305, 60%, 47%)
HSVhsv(305, 75%, 75%)
CMYKcmyk(0%, 75%, 5.7%, 24.7%)
CIE-LABlab(47.83, 69.56, -39.24)
CIE-LCHlch(47.83, 79.86, 330.57°)
OKLaboklab(58.02% 0.1989 -0.1081)
OKLCHoklch(58.02% 0.226 331.5)
XYZxyz(31.1357, 16.6591, 45.2828)
Luminance0.1666 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C030B5 #30C03B
analogous
#8330C0 #C030B5 #C0306D
triadic
#C030B5 #B5C030 #30B5C0
tetradic
#C030B5 #C08330 #30C03B #306DC0
square
#C030B5 #C08330 #30C03B #306DC0
split-complementary
#C030B5 #6DC030 #30C083
monochromatic
#5E1859 #8F2487 #C030B5 #D558CC #E189DB

Accessibility & contrast

On white

4.85
#C030B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#C030B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C030B5
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C030B5#FFFFFF#000000##FFFFFF
##C030B51.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2365B9
Deuteranopia (green-blind)
#5F78B2
Tritanopia (blue-blind)
#C84270
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c030b5;
/* rgb */ color: rgb(192, 48, 181);
/* oklch */ color: oklch(58.0% 0.226 331.5);
Tailwind
colors: {
  custom: {
    50: '#d778cb',
    500: '#c030b5',
    950: '#000000',
  },
}
SCSS
$custom: #c030b5;
$custom-light: #d778cb;
$custom-dark: #000000;
JSON
{
  "hex": "#c030b5",
  "rgb": {
    "r": 192,
    "g": 48,
    "b": 181
  },
  "hsl": {
    "h": 304.583,
    "s": 60,
    "l": 47.059
  },
  "oklch": {
    "l": 0.58022,
    "c": 0.22636,
    "h": 331.5
  },
  "luminance": 0.16657
}

Semantic roles & 50–950 ramp

primary
#C030B5
secondary
#80CB86
accent
#E35145
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #C030B5

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

Preview Lab → · Contrast checker → · Palette generator →

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