#C852F3#C852F3

#C852F3 is a light, highly saturated purple. Relative luminance 0.248; OKLCH L 65.9% C 0.242 H 315.6°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#C852F3
RGBrgb(200, 82, 243)
HSLhsl(284, 87%, 64%)
HSVhsv(284, 66%, 95%)
CMYKcmyk(17.7%, 66.3%, 0%, 4.7%)
CIE-LABlab(56.87, 69.79, -60.16)
CIE-LCHlch(56.87, 92.14, 319.24°)
OKLaboklab(65.86% 0.1729 -0.1691)
OKLCHoklch(65.86% 0.242 315.6)
XYZxyz(43.0118, 24.7866, 87.2952)
Luminance0.2478 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C852F3 #7DF352
analogous
#7752F3 #C852F3 #F352CD
triadic
#C852F3 #F3C852 #52F3C8
tetradic
#C852F3 #F37752 #7DF352 #52CDF3
square
#C852F3 #F37752 #7DF352 #52CDF3
split-complementary
#C852F3 #CDF352 #52F377
monochromatic
#8E0DBD #B619EF #C852F3 #DA8BF7 #ECC4FB

Accessibility & contrast

On white

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

On black

5.96
#C852F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C852F3
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C852F3#FFFFFF#000000##000000
##C852F31.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082F8
Deuteranopia (green-blind)
#508CEF
Tritanopia (blue-blind)
#C5719C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #c852f3;
/* rgb */ color: rgb(200, 82, 243);
/* oklch */ color: oklch(65.9% 0.242 315.6);
Tailwind
colors: {
  custom: {
    50: '#dd8bf8',
    500: '#c852f3',
    950: '#000000',
  },
}
SCSS
$custom: #c852f3;
$custom-light: #dd8bf8;
$custom-dark: #000000;
JSON
{
  "hex": "#c852f3",
  "rgb": {
    "r": 200,
    "g": 82,
    "b": 243
  },
  "hsl": {
    "h": 283.975,
    "s": 87.027,
    "l": 63.725
  },
  "oklch": {
    "l": 0.65861,
    "c": 0.24187,
    "h": 315.6
  },
  "luminance": 0.24785
}

Semantic roles & 50–950 ramp

primary
#C852F3
secondary
#C3EDB4
accent
#E4023E
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160D17
muted
#847D85

Preview Lab

Preview with #C852F3

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

Preview Lab → · Contrast checker → · Palette generator →

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