#C052BF#C052BF

#C052BF is a mid, vivid purple. Relative luminance 0.210; OKLCH L 61.9% C 0.192 H 327.9°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#C052BF
RGBrgb(192, 82, 191)
HSLhsl(301, 47%, 54%)
HSVhsv(301, 57%, 75%)
CMYKcmyk(0%, 57.3%, 0.5%, 24.7%)
CIE-LABlab(52.95, 58.27, -36.98)
CIE-LCHlch(52.95, 69.01, 327.60°)
OKLaboklab(61.9% 0.1626 -0.1018)
OKLCHoklch(61.9% 0.192 327.9)
XYZxyz(34.1590, 21.0048, 51.5352)
Luminance0.2100 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C052BF #52C053
analogous
#8A52C0 #C052BF #C05288
triadic
#C052BF #BFC052 #52BFC0
tetradic
#C052BF #C08A52 #52C053 #5288C0
square
#C052BF #C08A52 #52C053 #5288C0
split-complementary
#C052BF #88C052 #52C08A
monochromatic
#6F286E #9C399B #C052BF #D07FD0 #E1ACE0

Accessibility & contrast

On white

4.04
#C052BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#C052BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C052BF
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C052BF#FFFFFF#000000##000000
##C052BF1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4775C2
Deuteranopia (green-blind)
#6B84BC
Tritanopia (blue-blind)
#C65F81
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c052bf;
/* rgb */ color: rgb(192, 82, 191);
/* oklch */ color: oklch(61.9% 0.192 327.9);
Tailwind
colors: {
  custom: {
    50: '#d689d2',
    500: '#c052bf',
    950: '#000000',
  },
}
SCSS
$custom: #c052bf;
$custom-light: #d689d2;
$custom-dark: #000000;
JSON
{
  "hex": "#c052bf",
  "rgb": {
    "r": 192,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 300.545,
    "s": 46.61,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61896,
    "c": 0.19182,
    "h": 327.9
  },
  "luminance": 0.21003
}

Semantic roles & 50–950 ramp

primary
#C052BF
secondary
#9FCEA0
accent
#D65352
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C052BF

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

Preview Lab → · Contrast checker → · Palette generator →

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