#C852BA#C852BA

#C852BA is a light, vivid purple. Relative luminance 0.219; OKLCH L 62.7% C 0.193 H 332.5°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#C852BA
RGBrgb(200, 82, 186)
HSLhsl(307, 52%, 55%)
HSVhsv(307, 59%, 78%)
CMYKcmyk(0%, 59%, 7%, 21.6%)
CIE-LABlab(53.88, 59.55, -32.56)
CIE-LCHlch(53.88, 67.87, 331.33°)
OKLaboklab(62.73% 0.1707 -0.089)
OKLCHoklch(62.73% 0.193 332.5)
XYZxyz(35.6996, 21.8617, 48.7843)
Luminance0.2186 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C852BA #52C860
analogous
#9B52C8 #C852BA #C8527F
triadic
#C852BA #BAC852 #52BAC8
tetradic
#C852BA #C89B52 #52C860 #527FC8
square
#C852BA #C89B52 #52C860 #527FC8
split-complementary
#C852BA #7FC852 #52C89B
monochromatic
#79276F #A8359A #C852BA #D780CD #E6AFDF

Accessibility & contrast

On white

3.91
#C852BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#C852BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C852BA
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C852BA#FFFFFF#000000##000000
##C852BA1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E76BD
Deuteranopia (green-blind)
#7387B7
Tritanopia (blue-blind)
#D05B7E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #c852ba;
/* rgb */ color: rgb(200, 82, 186);
/* oklch */ color: oklch(62.7% 0.193 332.5);
Tailwind
colors: {
  custom: {
    50: '#dc89cf',
    500: '#c852ba',
    950: '#000000',
  },
}
SCSS
$custom: #c852ba;
$custom-light: #dc89cf;
$custom-dark: #000000;
JSON
{
  "hex": "#c852ba",
  "rgb": {
    "r": 200,
    "g": 82,
    "b": 186
  },
  "hsl": {
    "h": 307.119,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.6273,
    "c": 0.19253,
    "h": 332.5
  },
  "luminance": 0.21859
}

Semantic roles & 50–950 ramp

primary
#C852BA
secondary
#A2D4A8
accent
#DB5E4D
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C852BA

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

Preview Lab → · Contrast checker → · Palette generator →

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