#C852CA#C852CA

#C852CA is a light, highly saturated purple. Relative luminance 0.226; OKLCH L 63.5% C 0.206 H 327.0°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#C852CA
RGBrgb(200, 82, 202)
HSLhsl(299, 53%, 56%)
HSVhsv(299, 59%, 79%)
CMYKcmyk(1%, 59.4%, 0%, 20.8%)
CIE-LABlab(54.64, 62.24, -40.57)
CIE-LCHlch(54.64, 74.29, 326.90°)
OKLaboklab(63.53% 0.1725 -0.112)
OKLCHoklch(63.53% 0.206 327)
XYZxyz(37.4967, 22.5805, 58.2491)
Luminance0.2258 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C852CA #54CA52
analogous
#8C52CA #C852CA #CA5290
triadic
#C852CA #CAC852 #52CAC8
tetradic
#C852CA #CA8C52 #54CA52 #5290CA
square
#C852CA #CA8C52 #54CA52 #5290CA
split-complementary
#C852CA #90CA52 #52CA8C
monochromatic
#7A267C #A934AB #C852CA #D781D8 #E6B0E7

Accessibility & contrast

On white

3.81
#C852CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#C852CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C852CA
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C852CA#FFFFFF#000000##000000
##C852CA1.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4379CE
Deuteranopia (green-blind)
#6C88C7
Tritanopia (blue-blind)
#CD6187
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c852ca;
/* rgb */ color: rgb(200, 82, 202);
/* oklch */ color: oklch(63.5% 0.206 327.0);
Tailwind
colors: {
  custom: {
    50: '#dc8ada',
    500: '#c852ca',
    950: '#000000',
  },
}
SCSS
$custom: #c852ca;
$custom-light: #dc8ada;
$custom-dark: #000000;
JSON
{
  "hex": "#c852ca",
  "rgb": {
    "r": 200,
    "g": 82,
    "b": 202
  },
  "hsl": {
    "h": 299,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.6353,
    "c": 0.20566,
    "h": 327
  },
  "luminance": 0.22578
}

Semantic roles & 50–950 ramp

primary
#C852CA
secondary
#A4D5A3
accent
#DD4B4E
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C852CA

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

Preview Lab → · Contrast checker → · Palette generator →

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