#C852B7#C852B7

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

Color values

HEX#C852B7
RGBrgb(200, 82, 183)
HSLhsl(309, 52%, 55%)
HSVhsv(309, 59%, 78%)
CMYKcmyk(0%, 59%, 8.5%, 21.6%)
CIE-LABlab(53.75, 59.06, -31.03)
CIE-LCHlch(53.75, 66.72, 332.28°)
OKLaboklab(62.59% 0.1703 -0.0846)
OKLCHoklch(62.59% 0.19 333.6)
XYZxyz(35.3841, 21.7355, 47.1223)
Luminance0.2173 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C852B7 #52C863
analogous
#9E52C8 #C852B7 #C8527C
triadic
#C852B7 #B7C852 #52B7C8
tetradic
#C852B7 #C89E52 #52C863 #527CC8
square
#C852B7 #C89E52 #52C863 #527CC8
split-complementary
#C852B7 #7CC852 #52C89E
monochromatic
#79276D #A83597 #C852B7 #D780CA #E6AFDE

Accessibility & contrast

On white

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

On black

5.35
#C852B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C852B7
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C852B7#FFFFFF#000000##000000
##C852B71.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5075BA
Deuteranopia (green-blind)
#7587B4
Tritanopia (blue-blind)
#D05A7D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #c852b7;
/* rgb */ color: rgb(200, 82, 183);
/* oklch */ color: oklch(62.6% 0.190 333.6);
Tailwind
colors: {
  custom: {
    50: '#dc89cd',
    500: '#c852b7',
    950: '#000000',
  },
}
SCSS
$custom: #c852b7;
$custom-light: #dc89cd;
$custom-dark: #000000;
JSON
{
  "hex": "#c852b7",
  "rgb": {
    "r": 200,
    "g": 82,
    "b": 183
  },
  "hsl": {
    "h": 308.644,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.62587,
    "c": 0.19016,
    "h": 333.6
  },
  "luminance": 0.21733
}

Semantic roles & 50–950 ramp

primary
#C852B7
secondary
#A2D4A9
accent
#DB614D
background
#FDF8FC
surface
#FBF0F9
border
#D4CBD2
text
#150C13
muted
#837D82

Preview Lab

Preview with #C852B7

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

Preview Lab → · Contrast checker → · Palette generator →

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