#C852F2#C852F2

#C852F2 is a light, highly saturated purple. Relative luminance 0.247; OKLCH L 65.8% C 0.241 H 315.9°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#C852F2
RGBrgb(200, 82, 242)
HSLhsl(284, 86%, 64%)
HSVhsv(284, 66%, 95%)
CMYKcmyk(17.4%, 66.1%, 0%, 5.1%)
CIE-LABlab(56.81, 69.60, -59.70)
CIE-LCHlch(56.81, 91.70, 319.38°)
OKLaboklab(65.8% 0.173 -0.1677)
OKLCHoklch(65.8% 0.241 315.9)
XYZxyz(42.8612, 24.7263, 86.5021)
Luminance0.2472 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C852F2 #7CF252
analogous
#7852F2 #C852F2 #F252CC
triadic
#C852F2 #F2C852 #52F2C8
tetradic
#C852F2 #F27852 #7CF252 #52CCF2
square
#C852F2 #F27852 #7CF252 #52CCF2
split-complementary
#C852F2 #CCF252 #52F278
monochromatic
#8E0EBC #B619EE #C852F2 #DA8BF6 #ECC4FB

Accessibility & contrast

On white

3.53
#C852F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#C852F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C852F2
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C852F2#FFFFFF#000000##000000
##C852F21.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F7
Deuteranopia (green-blind)
#518CEE
Tritanopia (blue-blind)
#C5719C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #c852f2;
/* rgb */ color: rgb(200, 82, 242);
/* oklch */ color: oklch(65.8% 0.241 315.9);
Tailwind
colors: {
  custom: {
    50: '#dd8bf7',
    500: '#c852f2',
    950: '#000000',
  },
}
SCSS
$custom: #c852f2;
$custom-light: #dd8bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#c852f2",
  "rgb": {
    "r": 200,
    "g": 82,
    "b": 242
  },
  "hsl": {
    "h": 284.25,
    "s": 86.022,
    "l": 63.529
  },
  "oklch": {
    "l": 0.65799,
    "c": 0.24096,
    "h": 315.9
  },
  "luminance": 0.24725
}

Semantic roles & 50–950 ramp

primary
#C852F2
secondary
#C2ECB4
accent
#E3033E
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160D17
muted
#847D85

Preview Lab

Preview with #C852F2

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

Preview Lab → · Contrast checker → · Palette generator →

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