#C052BD#C052BD

#C052BD is a mid, vivid purple. Relative luminance 0.209; OKLCH L 61.8% C 0.190 H 328.6°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#C052BD
RGBrgb(192, 82, 189)
HSLhsl(302, 47%, 54%)
HSVhsv(302, 57%, 75%)
CMYKcmyk(0%, 57.3%, 1.6%, 24.7%)
CIE-LABlab(52.86, 57.92, -35.97)
CIE-LCHlch(52.86, 68.18, 328.16°)
OKLaboklab(61.79% 0.1623 -0.0989)
OKLCHoklch(61.79% 0.19 328.6)
XYZxyz(33.9404, 20.9173, 50.3840)
Luminance0.2092 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C052BD #52C055
analogous
#8C52C0 #C052BD #C05286
triadic
#C052BD #BDC052 #52BDC0
tetradic
#C052BD #C08C52 #52C055 #5286C0
square
#C052BD #C08C52 #52C055 #5286C0
split-complementary
#C052BD #86C052 #52C08C
monochromatic
#6F286D #9C3999 #C052BD #D07FCE #E1ACDF

Accessibility & contrast

On white

4.05
#C052BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#C052BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C052BD
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C052BD#FFFFFF#000000##000000
##C052BD1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4875C0
Deuteranopia (green-blind)
#6C83BA
Tritanopia (blue-blind)
#C65E80
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c052bd;
/* rgb */ color: rgb(192, 82, 189);
/* oklch */ color: oklch(61.8% 0.190 328.6);
Tailwind
colors: {
  custom: {
    50: '#d689d1',
    500: '#c052bd',
    950: '#000000',
  },
}
SCSS
$custom: #c052bd;
$custom-light: #d689d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c052bd",
  "rgb": {
    "r": 192,
    "g": 82,
    "b": 189
  },
  "hsl": {
    "h": 301.636,
    "s": 46.61,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61794,
    "c": 0.1901,
    "h": 328.6
  },
  "luminance": 0.20915
}

Semantic roles & 50–950 ramp

primary
#C052BD
secondary
#9FCEA1
accent
#D65552
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C052BD

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

Preview Lab → · Contrast checker → · Palette generator →

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