#C852C2#C852C2

#C852C2 is a light, vivid purple. Relative luminance 0.222; OKLCH L 63.1% C 0.199 H 329.7°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#C852C2
RGBrgb(200, 82, 194)
HSLhsl(303, 52%, 55%)
HSVhsv(303, 59%, 78%)
CMYKcmyk(0%, 59%, 3%, 21.6%)
CIE-LABlab(54.25, 60.87, -36.59)
CIE-LCHlch(54.25, 71.02, 328.99°)
OKLaboklab(63.12% 0.1717 -0.1005)
OKLCHoklch(63.12% 0.199 329.7)
XYZxyz(36.5740, 22.2114, 53.3893)
Luminance0.2221 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C852C2 #52C858
analogous
#9352C8 #C852C2 #C85287
triadic
#C852C2 #C2C852 #52C2C8
tetradic
#C852C2 #C89352 #52C858 #5287C8
square
#C852C2 #C89352 #52C858 #5287C8
split-complementary
#C852C2 #87C852 #52C893
monochromatic
#792775 #A835A2 #C852C2 #D780D2 #E6AFE3

Accessibility & contrast

On white

3.86
#C852C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#C852C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C852C2
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C852C2#FFFFFF#000000##000000
##C852C21.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4977C5
Deuteranopia (green-blind)
#7087BF
Tritanopia (blue-blind)
#CF5E82
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #c852c2;
/* rgb */ color: rgb(200, 82, 194);
/* oklch */ color: oklch(63.1% 0.199 329.7);
Tailwind
colors: {
  custom: {
    50: '#dc89d5',
    500: '#c852c2',
    950: '#000000',
  },
}
SCSS
$custom: #c852c2;
$custom-light: #dc89d5;
$custom-dark: #000000;
JSON
{
  "hex": "#c852c2",
  "rgb": {
    "r": 200,
    "g": 82,
    "b": 194
  },
  "hsl": {
    "h": 303.051,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.63122,
    "c": 0.19899,
    "h": 329.7
  },
  "luminance": 0.22209
}

Semantic roles & 50–950 ramp

primary
#C852C2
secondary
#A2D4A5
accent
#DB544D
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #C852C2

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

Preview Lab → · Contrast checker → · Palette generator →

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