#C030B2#C030B2

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

Color values

HEX#C030B2
RGBrgb(192, 48, 178)
HSLhsl(306, 60%, 47%)
HSVhsv(306, 75%, 75%)
CMYKcmyk(0%, 75%, 7.3%, 24.7%)
CIE-LABlab(47.67, 69.10, -37.72)
CIE-LCHlch(47.67, 78.73, 331.37°)
OKLaboklab(57.86% 0.1988 -0.1037)
OKLCHoklch(57.86% 0.224 332.4)
XYZxyz(30.8312, 16.5373, 43.6791)
Luminance0.1653 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C030B2 #30C03E
analogous
#8630C0 #C030B2 #C0306A
triadic
#C030B2 #B2C030 #30B2C0
tetradic
#C030B2 #C08630 #30C03E #306AC0
square
#C030B2 #C08630 #30C03E #306AC0
split-complementary
#C030B2 #6AC030 #30C086
monochromatic
#5E1857 #8F2485 #C030B2 #D558C9 #E189D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C030B2#FFFFFF#000000##FFFFFF
##C030B21.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2764B5
Deuteranopia (green-blind)
#6078AF
Tritanopia (blue-blind)
#C8406F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c030b2;
/* rgb */ color: rgb(192, 48, 178);
/* oklch */ color: oklch(57.9% 0.224 332.4);
Tailwind
colors: {
  custom: {
    50: '#d778c9',
    500: '#c030b2',
    950: '#000000',
  },
}
SCSS
$custom: #c030b2;
$custom-light: #d778c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c030b2",
  "rgb": {
    "r": 192,
    "g": 48,
    "b": 178
  },
  "hsl": {
    "h": 305.833,
    "s": 60,
    "l": 47.059
  },
  "oklch": {
    "l": 0.5786,
    "c": 0.22421,
    "h": 332.4
  },
  "luminance": 0.16535
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C030B2

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

Preview Lab → · Contrast checker → · Palette generator →

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