#C03AAA#C03AAA

#C03AAA is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.3% C 0.208 H 335.3°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#C03AAA
RGBrgb(192, 58, 170)
HSLhsl(310, 54%, 49%)
HSVhsv(310, 70%, 75%)
CMYKcmyk(0%, 69.8%, 11.5%, 24.7%)
CIE-LABlab(48.43, 64.61, -31.82)
CIE-LCHlch(48.43, 72.02, 333.78°)
OKLaboklab(58.28% 0.1886 -0.0868)
OKLCHoklch(58.28% 0.208 335.3)
XYZxyz(30.5073, 17.1375, 39.7236)
Luminance0.1714 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C03AAA #3AC050
analogous
#933AC0 #C03AAA #C03A67
triadic
#C03AAA #AAC03A #3AAAC0
tetradic
#C03AAA #C0933A #3AC050 #3A67C0
square
#C03AAA #C0933A #3AC050 #3A67C0
split-complementary
#C03AAA #67C03A #3AC093
monochromatic
#621E57 #912C80 #C03AAA #D166BF #DF95D3

Accessibility & contrast

On white

4.74
#C03AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#C03AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C03AAA
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C03AAA#FFFFFF#000000##FFFFFF
##C03AAA1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A66AD
Deuteranopia (green-blind)
#687AA7
Tritanopia (blue-blind)
#C9446D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c03aaa;
/* rgb */ color: rgb(192, 58, 170);
/* oklch */ color: oklch(58.3% 0.208 335.3);
Tailwind
colors: {
  custom: {
    50: '#d77cc3',
    500: '#c03aaa',
    950: '#000000',
  },
}
SCSS
$custom: #c03aaa;
$custom-light: #d77cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#c03aaa",
  "rgb": {
    "r": 192,
    "g": 58,
    "b": 170
  },
  "hsl": {
    "h": 309.851,
    "s": 53.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58279,
    "c": 0.20757,
    "h": 335.3
  },
  "luminance": 0.17135
}

Semantic roles & 50–950 ramp

primary
#C03AAA
secondary
#8BCA96
accent
#DD634B
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150A12
muted
#837C81

Preview Lab

Preview with #C03AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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