#C752BA#C752BA

#C752BA is a light, vivid purple. Relative luminance 0.217; OKLCH L 62.6% C 0.192 H 332.1°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#C752BA
RGBrgb(199, 82, 186)
HSLhsl(307, 51%, 55%)
HSVhsv(307, 59%, 78%)
CMYKcmyk(0%, 58.8%, 6.5%, 22%)
CIE-LABlab(53.73, 59.28, -32.80)
CIE-LCHlch(53.73, 67.75, 331.05°)
OKLaboklab(62.59% 0.1697 -0.0897)
OKLCHoklch(62.59% 0.192 332.1)
XYZxyz(35.4334, 21.7244, 48.7718)
Luminance0.2172 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C752BA #52C75F
analogous
#9A52C7 #C752BA #C7527F
triadic
#C752BA #BAC752 #52BAC7
tetradic
#C752BA #C79A52 #52C75F #527FC7
square
#C752BA #C79A52 #52C75F #527FC7
split-complementary
#C752BA #7FC752 #52C79A
monochromatic
#78276F #A6369A #C752BA #D680CC #E5AEDF

Accessibility & contrast

On white

3.93
#C752BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#C752BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C752BA
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C752BA#FFFFFF#000000##000000
##C752BA1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D76BD
Deuteranopia (green-blind)
#7386B7
Tritanopia (blue-blind)
#CF5C7E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #c752ba;
/* rgb */ color: rgb(199, 82, 186);
/* oklch */ color: oklch(62.6% 0.192 332.1);
Tailwind
colors: {
  custom: {
    50: '#db89cf',
    500: '#c752ba',
    950: '#000000',
  },
}
SCSS
$custom: #c752ba;
$custom-light: #db89cf;
$custom-dark: #000000;
JSON
{
  "hex": "#c752ba",
  "rgb": {
    "r": 199,
    "g": 82,
    "b": 186
  },
  "hsl": {
    "h": 306.667,
    "s": 51.092,
    "l": 55.098
  },
  "oklch": {
    "l": 0.62593,
    "c": 0.1919,
    "h": 332.1
  },
  "luminance": 0.21722
}

Semantic roles & 50–950 ramp

primary
#C752BA
secondary
#A2D3A7
accent
#DB5D4D
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C752BA

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

Preview Lab → · Contrast checker → · Palette generator →

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