#C030AB#C030AB

#C030AB is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.5% C 0.219 H 334.8°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#C030AB
RGBrgb(192, 48, 171)
HSLhsl(309, 60%, 47%)
HSVhsv(309, 75%, 75%)
CMYKcmyk(0%, 75%, 10.9%, 24.7%)
CIE-LABlab(47.32, 68.06, -34.16)
CIE-LCHlch(47.32, 76.15, 333.35°)
OKLaboklab(57.49% 0.1984 -0.0934)
OKLCHoklch(57.49% 0.219 334.8)
XYZxyz(30.1462, 16.2633, 40.0716)
Luminance0.1626 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C030AB #30C045
analogous
#8D30C0 #C030AB #C03063
triadic
#C030AB #ABC030 #30ABC0
tetradic
#C030AB #C08D30 #30C045 #3063C0
square
#C030AB #C08D30 #30C045 #3063C0
split-complementary
#C030AB #63C030 #30C08D
monochromatic
#5E1854 #8F247F #C030AB #D558C3 #E189D5

Accessibility & contrast

On white

4.94
#C030AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#C030AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C030AB
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C030AB#FFFFFF#000000##FFFFFF
##C030AB1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F63AE
Deuteranopia (green-blind)
#6478A8
Tritanopia (blue-blind)
#C93D6B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c030ab;
/* rgb */ color: rgb(192, 48, 171);
/* oklch */ color: oklch(57.5% 0.219 334.8);
Tailwind
colors: {
  custom: {
    50: '#d777c4',
    500: '#c030ab',
    950: '#000000',
  },
}
SCSS
$custom: #c030ab;
$custom-light: #d777c4;
$custom-dark: #000000;
JSON
{
  "hex": "#c030ab",
  "rgb": {
    "r": 192,
    "g": 48,
    "b": 171
  },
  "hsl": {
    "h": 308.75,
    "s": 60,
    "l": 47.059
  },
  "oklch": {
    "l": 0.57491,
    "c": 0.2193,
    "h": 334.8
  },
  "luminance": 0.16261
}

Semantic roles & 50–950 ramp

primary
#C030AB
secondary
#80CB8B
accent
#E35C45
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C030AB

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

Preview Lab → · Contrast checker → · Palette generator →

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