#C852FF#C852FF

#C852FF is a light, highly saturated purple. Relative luminance 0.255; OKLCH L 66.6% C 0.253 H 312.9°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#C852FF
RGBrgb(200, 82, 255)
HSLhsl(281, 100%, 66%)
HSVhsv(281, 68%, 100%)
CMYKcmyk(21.6%, 67.8%, 0%, 0%)
CIE-LABlab(57.59, 72.15, -65.66)
CIE-LCHlch(57.59, 97.55, 317.70°)
OKLaboklab(66.61% 0.1721 -0.1852)
OKLCHoklch(66.61% 0.253 312.9)
XYZxyz(44.8835, 25.5353, 97.1528)
Luminance0.2553 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C852FF #89FF52
analogous
#7152FF #C852FF #FF52DF
triadic
#C852FF #FFC852 #52FFC8
tetradic
#C852FF #FF7152 #89FF52 #52DFFF
square
#C852FF #FF7152 #89FF52 #52DFFF
split-complementary
#C852FF #DFFF52 #52FF71
monochromatic
#9200D7 #B515FF #C852FF #DB8FFF #EFCCFF

Accessibility & contrast

On white

3.44
#C852FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#C852FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C852FF
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C852FF#FFFFFF#000000##000000
##C852FF1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FF
Deuteranopia (green-blind)
#438DFB
Tritanopia (blue-blind)
#C276A3
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #c852ff;
/* rgb */ color: rgb(200, 82, 255);
/* oklch */ color: oklch(66.6% 0.253 312.9);
Tailwind
colors: {
  custom: {
    50: '#dd8bff',
    500: '#c852ff',
    950: '#000000',
  },
}
SCSS
$custom: #c852ff;
$custom-light: #dd8bff;
$custom-dark: #000000;
JSON
{
  "hex": "#c852ff",
  "rgb": {
    "r": 200,
    "g": 82,
    "b": 255
  },
  "hsl": {
    "h": 280.925,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.66613,
    "c": 0.2528,
    "h": 312.9
  },
  "luminance": 0.25534
}

Semantic roles & 50–950 ramp

primary
#C852FF
secondary
#CCF3BA
accent
#E60049
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160D18
muted
#847D86

Preview Lab

Preview with #C852FF

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

Preview Lab → · Contrast checker → · Palette generator →

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