#C852E6#C852E6

#C852E6 is a light, highly saturated purple. Relative luminance 0.240; OKLCH L 65.1% C 0.230 H 318.9°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#C852E6
RGBrgb(200, 82, 230)
HSLhsl(288, 75%, 61%)
HSVhsv(288, 64%, 90%)
CMYKcmyk(13%, 64.3%, 0%, 9.8%)
CIE-LABlab(56.12, 67.30, -54.09)
CIE-LCHlch(56.12, 86.35, 321.21°)
OKLaboklab(65.08% 0.1734 -0.1513)
OKLCHoklch(65.08% 0.23 318.9)
XYZxyz(41.1177, 24.0289, 77.3198)
Luminance0.2403 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C852E6 #70E652
analogous
#7E52E6 #C852E6 #E652BA
triadic
#C852E6 #E6C852 #52E6C8
tetradic
#C852E6 #E67E52 #70E652 #52BAE6
square
#C852E6 #E67E52 #70E652 #52BAE6
split-complementary
#C852E6 #BAE652 #52E67E
monochromatic
#8918A6 #B520DB #C852E6 #D987EE #EABDF5

Accessibility & contrast

On white

3.62
#C852E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#C852E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C852E6
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C852E6#FFFFFF#000000##000000
##C852E61.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#207FEA
Deuteranopia (green-blind)
#5B8AE2
Tritanopia (blue-blind)
#C86C95
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #c852e6;
/* rgb */ color: rgb(200, 82, 230);
/* oklch */ color: oklch(65.1% 0.230 318.9);
Tailwind
colors: {
  custom: {
    50: '#dc8aee',
    500: '#c852e6',
    950: '#000000',
  },
}
SCSS
$custom: #c852e6;
$custom-light: #dc8aee;
$custom-dark: #000000;
JSON
{
  "hex": "#c852e6",
  "rgb": {
    "r": 200,
    "g": 82,
    "b": 230
  },
  "hsl": {
    "h": 287.838,
    "s": 74.747,
    "l": 61.176
  },
  "oklch": {
    "l": 0.6508,
    "c": 0.23013,
    "h": 318.9
  },
  "luminance": 0.24027
}

Semantic roles & 50–950 ramp

primary
#C852E6
secondary
#B9E6AE
accent
#D70F37
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C852E6

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

Preview Lab → · Contrast checker → · Palette generator →

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