#C052BA#C052BA

#C052BA is a mid, vivid purple. Relative luminance 0.208; OKLCH L 61.6% C 0.188 H 329.7°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#C052BA
RGBrgb(192, 82, 186)
HSLhsl(303, 47%, 54%)
HSVhsv(303, 57%, 75%)
CMYKcmyk(0%, 57.3%, 3.1%, 24.7%)
CIE-LABlab(52.72, 57.41, -34.46)
CIE-LCHlch(52.72, 66.96, 329.03°)
OKLaboklab(61.64% 0.162 -0.0946)
OKLCHoklch(61.64% 0.188 329.7)
XYZxyz(33.6181, 20.7884, 48.6867)
Luminance0.2079 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C052BA #52C058
analogous
#8F52C0 #C052BA #C05283
triadic
#C052BA #BAC052 #52BAC0
tetradic
#C052BA #C08F52 #52C058 #5283C0
square
#C052BA #C08F52 #52C058 #5283C0
split-complementary
#C052BA #83C052 #52C08F
monochromatic
#6F286B #9C3997 #C052BA #D07FCC #E1ACDE

Accessibility & contrast

On white

4.07
#C052BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#C052BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C052BA
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C052BA#FFFFFF#000000##000000
##C052BA1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A74BD
Deuteranopia (green-blind)
#6D83B7
Tritanopia (blue-blind)
#C65D7E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c052ba;
/* rgb */ color: rgb(192, 82, 186);
/* oklch */ color: oklch(61.6% 0.188 329.7);
Tailwind
colors: {
  custom: {
    50: '#d689cf',
    500: '#c052ba',
    950: '#000000',
  },
}
SCSS
$custom: #c052ba;
$custom-light: #d689cf;
$custom-dark: #000000;
JSON
{
  "hex": "#c052ba",
  "rgb": {
    "r": 192,
    "g": 82,
    "b": 186
  },
  "hsl": {
    "h": 303.273,
    "s": 46.61,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61644,
    "c": 0.18758,
    "h": 329.7
  },
  "luminance": 0.20786
}

Semantic roles & 50–950 ramp

primary
#C052BA
secondary
#9FCEA2
accent
#D65952
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C052BA

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

Preview Lab → · Contrast checker → · Palette generator →

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