#C852BD#C852BD

#C852BD is a light, vivid purple. Relative luminance 0.220; OKLCH L 62.9% C 0.195 H 331.4°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#C852BD
RGBrgb(200, 82, 189)
HSLhsl(306, 52%, 55%)
HSVhsv(306, 59%, 78%)
CMYKcmyk(0%, 59%, 5.5%, 21.6%)
CIE-LABlab(54.02, 60.04, -34.08)
CIE-LCHlch(54.02, 69.03, 330.42°)
OKLaboklab(62.88% 0.1711 -0.0933)
OKLCHoklch(62.88% 0.195 331.4)
XYZxyz(36.0219, 21.9906, 50.4816)
Luminance0.2199 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C852BD #52C85D
analogous
#9852C8 #C852BD #C85282
triadic
#C852BD #BDC852 #52BDC8
tetradic
#C852BD #C89852 #52C85D #5282C8
square
#C852BD #C89852 #52C85D #5282C8
split-complementary
#C852BD #82C852 #52C898
monochromatic
#792771 #A8359D #C852BD #D780CF #E6AFE0

Accessibility & contrast

On white

3.89
#C852BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#C852BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C852BD
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C852BD#FFFFFF#000000##000000
##C852BD1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C77C0
Deuteranopia (green-blind)
#7287BA
Tritanopia (blue-blind)
#D05D80
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #c852bd;
/* rgb */ color: rgb(200, 82, 189);
/* oklch */ color: oklch(62.9% 0.195 331.4);
Tailwind
colors: {
  custom: {
    50: '#dc89d1',
    500: '#c852bd',
    950: '#000000',
  },
}
SCSS
$custom: #c852bd;
$custom-light: #dc89d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c852bd",
  "rgb": {
    "r": 200,
    "g": 82,
    "b": 189
  },
  "hsl": {
    "h": 305.593,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.62875,
    "c": 0.19492,
    "h": 331.4
  },
  "luminance": 0.21988
}

Semantic roles & 50–950 ramp

primary
#C852BD
secondary
#A2D4A7
accent
#DB5A4D
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #C852BD

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

Preview Lab → · Contrast checker → · Palette generator →

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