#C030B1#C030B1

#C030B1 is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.8% C 0.224 H 332.8°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#C030B1
RGBrgb(192, 48, 177)
HSLhsl(306, 60%, 47%)
HSVhsv(306, 75%, 75%)
CMYKcmyk(0%, 75%, 7.8%, 24.7%)
CIE-LABlab(47.62, 68.95, -37.22)
CIE-LCHlch(47.62, 78.35, 331.64°)
OKLaboklab(57.81% 0.1987 -0.1022)
OKLCHoklch(57.81% 0.224 332.8)
XYZxyz(30.7311, 16.4973, 43.1522)
Luminance0.1650 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C030B1 #30C03F
analogous
#8730C0 #C030B1 #C03069
triadic
#C030B1 #B1C030 #30B1C0
tetradic
#C030B1 #C08730 #30C03F #3069C0
square
#C030B1 #C08730 #30C03F #3069C0
split-complementary
#C030B1 #69C030 #30C087
monochromatic
#5E1857 #8F2484 #C030B1 #D558C8 #E189D8

Accessibility & contrast

On white

4.88
#C030B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#C030B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C030B1
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C030B1#FFFFFF#000000##FFFFFF
##C030B11.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2864B4
Deuteranopia (green-blind)
#6178AE
Tritanopia (blue-blind)
#C9406E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c030b1;
/* rgb */ color: rgb(192, 48, 177);
/* oklch */ color: oklch(57.8% 0.224 332.8);
Tailwind
colors: {
  custom: {
    50: '#d778c9',
    500: '#c030b1',
    950: '#000000',
  },
}
SCSS
$custom: #c030b1;
$custom-light: #d778c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c030b1",
  "rgb": {
    "r": 192,
    "g": 48,
    "b": 177
  },
  "hsl": {
    "h": 306.25,
    "s": 60,
    "l": 47.059
  },
  "oklch": {
    "l": 0.57806,
    "c": 0.2235,
    "h": 332.8
  },
  "luminance": 0.16495
}

Semantic roles & 50–950 ramp

primary
#C030B1
secondary
#80CB88
accent
#E35545
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C030B1

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

Preview Lab → · Contrast checker → · Palette generator →

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