#C030B3#C030B3

#C030B3 is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 57.9% C 0.225 H 332.1°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#C030B3
RGBrgb(192, 48, 179)
HSLhsl(305, 60%, 47%)
HSVhsv(305, 75%, 75%)
CMYKcmyk(0%, 75%, 6.8%, 24.7%)
CIE-LABlab(47.72, 69.25, -38.23)
CIE-LCHlch(47.72, 79.10, 331.10°)
OKLaboklab(57.91% 0.1988 -0.1052)
OKLCHoklch(57.91% 0.225 332.1)
XYZxyz(30.9319, 16.5776, 44.2098)
Luminance0.1658 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C030B3 #30C03D
analogous
#8530C0 #C030B3 #C0306B
triadic
#C030B3 #B3C030 #30B3C0
tetradic
#C030B3 #C08530 #30C03D #306BC0
square
#C030B3 #C08530 #30C03D #306BC0
split-complementary
#C030B3 #6BC030 #30C085
monochromatic
#5E1858 #8F2485 #C030B3 #D558CA #E189D9

Accessibility & contrast

On white

4.87
#C030B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#C030B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C030B3
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C030B3#FFFFFF#000000##FFFFFF
##C030B31.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2664B7
Deuteranopia (green-blind)
#6078B0
Tritanopia (blue-blind)
#C8416F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c030b3;
/* rgb */ color: rgb(192, 48, 179);
/* oklch */ color: oklch(57.9% 0.225 332.1);
Tailwind
colors: {
  custom: {
    50: '#d778ca',
    500: '#c030b3',
    950: '#000000',
  },
}
SCSS
$custom: #c030b3;
$custom-light: #d778ca;
$custom-dark: #000000;
JSON
{
  "hex": "#c030b3",
  "rgb": {
    "r": 192,
    "g": 48,
    "b": 179
  },
  "hsl": {
    "h": 305.417,
    "s": 60,
    "l": 47.059
  },
  "oklch": {
    "l": 0.57913,
    "c": 0.22491,
    "h": 332.1
  },
  "luminance": 0.16575
}

Semantic roles & 50–950 ramp

primary
#C030B3
secondary
#80CB87
accent
#E35345
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C030B3

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

Preview Lab → · Contrast checker → · Palette generator →

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