#C030B8#C030B8

#C030B8 is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.2% C 0.229 H 330.5°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#C030B8
RGBrgb(192, 48, 184)
HSLhsl(303, 60%, 47%)
HSVhsv(303, 75%, 75%)
CMYKcmyk(0%, 75%, 4.2%, 24.7%)
CIE-LABlab(47.99, 70.02, -40.74)
CIE-LCHlch(47.99, 81.01, 329.80°)
OKLaboklab(58.19% 0.1989 -0.1124)
OKLCHoklch(58.19% 0.229 330.5)
XYZxyz(31.4468, 16.7836, 46.9214)
Luminance0.1678 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C030B8 #30C038
analogous
#8030C0 #C030B8 #C03070
triadic
#C030B8 #B8C030 #30B8C0
tetradic
#C030B8 #C08030 #30C038 #3070C0
square
#C030B8 #C08030 #30C038 #3070C0
split-complementary
#C030B8 #70C030 #30C080
monochromatic
#5E185A #8F2489 #C030B8 #D558CE #E189DD

Accessibility & contrast

On white

4.82
#C030B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#C030B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C030B8
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C030B8#FFFFFF#000000##FFFFFF
##C030B81.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E65BC
Deuteranopia (green-blind)
#5D79B5
Tritanopia (blue-blind)
#C74372
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c030b8;
/* rgb */ color: rgb(192, 48, 184);
/* oklch */ color: oklch(58.2% 0.229 330.5);
Tailwind
colors: {
  custom: {
    50: '#d778ce',
    500: '#c030b8',
    950: '#000000',
  },
}
SCSS
$custom: #c030b8;
$custom-light: #d778ce;
$custom-dark: #000000;
JSON
{
  "hex": "#c030b8",
  "rgb": {
    "r": 192,
    "g": 48,
    "b": 184
  },
  "hsl": {
    "h": 303.333,
    "s": 60,
    "l": 47.059
  },
  "oklch": {
    "l": 0.58187,
    "c": 0.22852,
    "h": 330.5
  },
  "luminance": 0.16781
}

Semantic roles & 50–950 ramp

primary
#C030B8
secondary
#80CB85
accent
#E34D45
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #C030B8

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

Preview Lab → · Contrast checker → · Palette generator →

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