#C030AF#C030AF

#C030AF is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.7% C 0.222 H 333.4°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#C030AF
RGBrgb(192, 48, 175)
HSLhsl(307, 60%, 47%)
HSVhsv(307, 75%, 75%)
CMYKcmyk(0%, 75%, 8.9%, 24.7%)
CIE-LABlab(47.52, 68.65, -36.20)
CIE-LCHlch(47.52, 77.61, 332.20°)
OKLaboklab(57.7% 0.1986 -0.0993)
OKLCHoklch(57.7% 0.222 333.4)
XYZxyz(30.5333, 16.4181, 42.1100)
Luminance0.1642 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C030AF #30C041
analogous
#8930C0 #C030AF #C03067
triadic
#C030AF #AFC030 #30AFC0
tetradic
#C030AF #C08930 #30C041 #3067C0
square
#C030AF #C08930 #30C041 #3067C0
split-complementary
#C030AF #67C030 #30C089
monochromatic
#5E1856 #8F2482 #C030AF #D558C6 #E189D7

Accessibility & contrast

On white

4.90
#C030AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#C030AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C030AF
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C030AF#FFFFFF#000000##FFFFFF
##C030AF1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A64B2
Deuteranopia (green-blind)
#6278AC
Tritanopia (blue-blind)
#C93F6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c030af;
/* rgb */ color: rgb(192, 48, 175);
/* oklch */ color: oklch(57.7% 0.222 333.4);
Tailwind
colors: {
  custom: {
    50: '#d778c7',
    500: '#c030af',
    950: '#000000',
  },
}
SCSS
$custom: #c030af;
$custom-light: #d778c7;
$custom-dark: #000000;
JSON
{
  "hex": "#c030af",
  "rgb": {
    "r": 192,
    "g": 48,
    "b": 175
  },
  "hsl": {
    "h": 307.083,
    "s": 60,
    "l": 47.059
  },
  "oklch": {
    "l": 0.577,
    "c": 0.22209,
    "h": 333.4
  },
  "luminance": 0.16416
}

Semantic roles & 50–950 ramp

primary
#C030AF
secondary
#80CB89
accent
#E35745
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C030AF

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

Preview Lab → · Contrast checker → · Palette generator →

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