#C852E5#C852E5

#C852E5 is a light, highly saturated purple. Relative luminance 0.240; OKLCH L 65.0% C 0.229 H 319.1°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#C852E5
RGBrgb(200, 82, 229)
HSLhsl(288, 74%, 61%)
HSVhsv(288, 64%, 90%)
CMYKcmyk(12.7%, 64.2%, 0%, 10.2%)
CIE-LABlab(56.06, 67.12, -53.62)
CIE-LCHlch(56.06, 85.91, 321.38°)
OKLaboklab(65.02% 0.1734 -0.1499)
OKLCHoklch(65.02% 0.229 319.1)
XYZxyz(40.9777, 23.9729, 76.5823)
Luminance0.2397 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C852E5 #6FE552
analogous
#7E52E5 #C852E5 #E552B8
triadic
#C852E5 #E5C852 #52E5C8
tetradic
#C852E5 #E57E52 #6FE552 #52B8E5
square
#C852E5 #E57E52 #6FE552 #52B8E5
split-complementary
#C852E5 #B8E552 #52E57E
monochromatic
#8819A4 #B521D9 #C852E5 #D987ED #EABCF5

Accessibility & contrast

On white

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

On black

5.79
#C852E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C852E5
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C852E5#FFFFFF#000000##000000
##C852E51.003.625.795.79
#FFFFFF3.621.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#227EE9
Deuteranopia (green-blind)
#5C8AE1
Tritanopia (blue-blind)
#C86C95
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #c852e5;
/* rgb */ color: rgb(200, 82, 229);
/* oklch */ color: oklch(65.0% 0.229 319.1);
Tailwind
colors: {
  custom: {
    50: '#dc8aee',
    500: '#c852e5',
    950: '#000000',
  },
}
SCSS
$custom: #c852e5;
$custom-light: #dc8aee;
$custom-dark: #000000;
JSON
{
  "hex": "#c852e5",
  "rgb": {
    "r": 200,
    "g": 82,
    "b": 229
  },
  "hsl": {
    "h": 288.163,
    "s": 73.869,
    "l": 60.98
  },
  "oklch": {
    "l": 0.65022,
    "c": 0.22924,
    "h": 319.1
  },
  "luminance": 0.23971
}

Semantic roles & 50–950 ramp

primary
#C852E5
secondary
#B9E5AE
accent
#D61037
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C852E5

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

Preview Lab → · Contrast checker → · Palette generator →

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